Skip to content

Commit d0cbc82

Browse files
alan-agius4dgp1130
authored andcommitted
build: update tslib to 1.11.0
Spec helper change is related to microsoft/tslib#90
1 parent 4d571df commit d0cbc82

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

packages/angular_devkit/build_angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
"karma-jasmine-html-reporter": "^1.4.0",
9797
"popper.js": "^1.14.1",
9898
"protractor": "~5.4.0",
99-
"tslib": "~1.10.0",
99+
"tslib": "~1.11.0",
100100
"zone.js": "^0.10.0"
101101
},
102102
"peerDependencies": {

packages/ngtools/webpack/src/transformers/spec_helpers.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88
import { virtualFs } from '@angular-devkit/core';
9-
import { readFileSync, readdirSync } from 'fs';
9+
import { readFileSync, readdirSync, statSync } from 'fs';
1010
import { dirname, join } from 'path';
1111
import * as ts from 'typescript';
1212
import { WebpackCompilerHost } from '../compiler_host';
@@ -126,7 +126,8 @@ function loadTypeScriptLibFiles(): Record<string, string> {
126126

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

131132
// Return a map of the lib names to their content.
132133
const libs: Record<string, string> = {};

yarn.lock

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5092,7 +5092,6 @@ fsevents@^1.2.7:
50925092
dependencies:
50935093
bindings "^1.5.0"
50945094
nan "^2.12.1"
5095-
node-pre-gyp "*"
50965095

50975096
fsevents@~2.1.2:
50985097
version "2.1.2"
@@ -10078,7 +10077,6 @@ [email protected], sass@^1.23.0:
1007810077

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

1008410082
saucelabs@^1.5.0:
@@ -11352,11 +11350,16 @@ ts-node@^5.0.0:
1135211350
source-map-support "^0.5.3"
1135311351
yn "^2.0.0"
1135411352

11355-
[email protected], tslib@^1.10.0, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0, tslib@~1.10.0:
11353+
[email protected], tslib@^1.10.0, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0:
1135611354
version "1.10.0"
1135711355
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
1135811356
integrity sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
1135911357

11358+
tslib@~1.11.0:
11359+
version "1.11.0"
11360+
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.0.tgz#f1f3528301621a53220d58373ae510ff747a66bc"
11361+
integrity sha512-BmndXUtiTn/VDDrJzQE7Mm22Ix3PxgLltW9bSNLoeCY31gnG2OPx0QqJnuc9oMIKioYrz487i6K9o4Pdn0j+Kg==
11362+
1136011363
tslint-no-circular-imports@^0.7.0:
1136111364
version "0.7.0"
1136211365
resolved "https://registry.yarnpkg.com/tslint-no-circular-imports/-/tslint-no-circular-imports-0.7.0.tgz#9df0a15654d66b172e0b7843eed073fa5ae99b5f"

0 commit comments

Comments
 (0)