From f69ac670eeebebc06f4ff7bd2afeb87460349538 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Thu, 31 May 2018 22:16:27 +0200 Subject: [PATCH] feat(compiler-cli): update `tsickle` to `0.29.x` (#24233) PR Close #24233 --- package.json | 2 +- packages/compiler-cli/package.json | 2 +- packages/compiler-cli/test/ngc_spec.ts | 2 +- .../test/bundling/hello_world_r2/bundle.golden_symbols.json | 6 ++++++ yarn.lock | 6 +++--- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 1b0123cf83..e2b2398ebb 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,7 @@ "source-map": "0.5.7", "source-map-support": "0.4.18", "systemjs": "0.18.10", - "tsickle": "^0.28.0", + "tsickle": "^0.29.0", "tslint": "5.7.0", "tslint-eslint-rules": "4.1.1", "tsutils": "2.20.0", diff --git a/packages/compiler-cli/package.json b/packages/compiler-cli/package.json index 8249b66deb..07fcee7d02 100644 --- a/packages/compiler-cli/package.json +++ b/packages/compiler-cli/package.json @@ -11,7 +11,7 @@ "dependencies": { "reflect-metadata": "^0.1.2", "minimist": "^1.2.0", - "tsickle": "^0.27.2", + "tsickle": "^0.29.0", "chokidar": "^1.4.2" }, "peerDependencies": { diff --git a/packages/compiler-cli/test/ngc_spec.ts b/packages/compiler-cli/test/ngc_spec.ts index c4cbf8a1dd..f7264872e3 100644 --- a/packages/compiler-cli/test/ngc_spec.ts +++ b/packages/compiler-cli/test/ngc_spec.ts @@ -672,7 +672,7 @@ describe('ngc transformer command-line', () => { expect(mymoduleSource).toContain('args: [{ declarations: [] },] }'); expect(mymoduleSource).not.toContain(`__metadata`); expect(mymoduleSource).toContain(`import { AClass } from './aclass';`); - expect(mymoduleSource).toContain(`{ type: AClass, }`); + expect(mymoduleSource).toContain(`{ type: AClass }`); }); }); diff --git a/packages/core/test/bundling/hello_world_r2/bundle.golden_symbols.json b/packages/core/test/bundling/hello_world_r2/bundle.golden_symbols.json index 688f862721..56d1450518 100644 --- a/packages/core/test/bundling/hello_world_r2/bundle.golden_symbols.json +++ b/packages/core/test/bundling/hello_world_r2/bundle.golden_symbols.json @@ -1040,6 +1040,9 @@ { "name": "MethodCall" }, + { + "name": "MissingTranslationStrategy" + }, { "name": "MissingTranslationStrategy$1" }, @@ -1469,6 +1472,9 @@ { "name": "SanitizingHtmlSerializer" }, + { + "name": "SecurityContext" + }, { "name": "SecurityContext$1" }, diff --git a/yarn.lock b/yarn.lock index a04ffc296d..b9ee164192 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5886,9 +5886,9 @@ trim-off-newlines@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" -tsickle@^0.28.0: - version "0.28.0" - resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.28.0.tgz#6cd6fa004766c6ad9261b599c83866ee97cc7875" +tsickle@^0.29.0: + version "0.29.0" + resolved "https://registry.yarnpkg.com/tsickle/-/tsickle-0.29.0.tgz#812806554bb46c1aa16eb0fe2a051da95ca8f5a4" dependencies: minimist "^1.2.0" mkdirp "^0.5.1"