Skip to content

build: update tslib to 1.11.0 #17043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/angular_devkit/build_angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"karma-jasmine-html-reporter": "^1.4.0",
"popper.js": "^1.14.1",
"protractor": "~5.4.0",
"tslib": "~1.10.0",
"tslib": "~1.11.0",
"zone.js": "^0.10.0"
},
"peerDependencies": {
Expand Down
5 changes: 3 additions & 2 deletions packages/ngtools/webpack/src/transformers/spec_helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* found in the LICENSE file at https://angular.io/license
*/
import { virtualFs } from '@angular-devkit/core';
import { readFileSync, readdirSync } from 'fs';
import { readFileSync, readdirSync, statSync } from 'fs';
import { dirname, join } from 'path';
import * as ts from 'typescript';
import { WebpackCompilerHost } from '../compiler_host';
Expand Down Expand Up @@ -126,7 +126,8 @@ function loadTypeScriptLibFiles(): Record<string, string> {

function loadTsLibFiles(): Record<string, string> {
const libFolderPath = dirname(require.resolve('tslib/package.json'));
const libFolderFiles = readdirSync(libFolderPath);
const libFolderFiles = readdirSync(libFolderPath)
.filter(p => statSync(join(libFolderPath, p)).isFile());

// Return a map of the lib names to their content.
const libs: Record<string, string> = {};
Expand Down
9 changes: 6 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5073,7 +5073,6 @@ fsevents@^1.2.7:
dependencies:
bindings "^1.5.0"
nan "^2.12.1"
node-pre-gyp "*"

fsevents@~2.1.2:
version "2.1.2"
Expand Down Expand Up @@ -10059,7 +10058,6 @@ [email protected], sass@^1.23.0:

"sauce-connect-proxy@https://saucelabs.com/downloads/sc-4.5.4-linux.tar.gz":
version "0.0.0"
uid dc5efcd2be24ddb099a85b923d6e754754651fa8
resolved "https://saucelabs.com/downloads/sc-4.5.4-linux.tar.gz#dc5efcd2be24ddb099a85b923d6e754754651fa8"

saucelabs@^1.5.0:
Expand Down Expand Up @@ -11333,11 +11331,16 @@ ts-node@^5.0.0:
source-map-support "^0.5.3"
yn "^2.0.0"

[email protected], tslib@^1.10.0, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0, tslib@~1.10.0:
[email protected], tslib@^1.10.0, 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@~1.11.0:
version "1.11.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.0.tgz#f1f3528301621a53220d58373ae510ff747a66bc"
integrity sha512-BmndXUtiTn/VDDrJzQE7Mm22Ix3PxgLltW9bSNLoeCY31gnG2OPx0QqJnuc9oMIKioYrz487i6K9o4Pdn0j+Kg==

tslint-no-circular-imports@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/tslint-no-circular-imports/-/tslint-no-circular-imports-0.7.0.tgz#9df0a15654d66b172e0b7843eed073fa5ae99b5f"
Expand Down