-
Notifications
You must be signed in to change notification settings - Fork 109
Comparing changes
Open a pull request
base repository: angular/tsickle
base: v0.40.0
head repository: angular/tsickle
compare: v0.41.0
Commits on Feb 16, 2021
-
PiperOrigin-RevId: 357773316
Configuration menu - View commit details
-
Copy full SHA for 43f59d1 - Browse repository at this point
Copy the full SHA 43f59d1View commit details
Commits on Mar 18, 2021
-
Create a prototype of goog.tsMigrationExportsShim which allows migrat…
…ed TS files to alias their exports back onto their original goog.module ID. This implementation is still exploratory. It is whitelisted only to integration tests pending tests with sample migrations. PiperOrigin-RevId: 363737238
Configuration menu - View commit details
-
Copy full SHA for f1c9001 - Browse repository at this point
Copy the full SHA f1c9001View commit details
Commits on Mar 19, 2021
-
Allow
@noinline
JSDoc to be output from tsickleThis is a tag with special handling from Closure Compiler, so we need to preserve it in our output in order for it to have its desired effect. PiperOrigin-RevId: 363937937
Configuration menu - View commit details
-
Copy full SHA for c726cf1 - Browse repository at this point
Copy the full SHA c726cf1View commit details
Commits on Mar 31, 2021
-
improve handling of rest arguments
There were two similar but slightly different code paths handling "rest" (aka `...x`) arguments: one for when they occur as parameters (and show up in `@param` JSDoc) and one for when they occur within function types (e.g. `{function(...x: string): void}`). Bring these together into one unified code path, and fix that code path so that it properly returns the right type in some error conditions. The code is given a (possibly complex) array type like `Array<string>` and wants to return the `string` bit, so it should return `?` in cases of confusion and not `Array<?>`, like it was doing. PiperOrigin-RevId: 366084847
Configuration menu - View commit details
-
Copy full SHA for 901d11e - Browse repository at this point
Copy the full SHA 901d11eView commit details -
Fix hex conversion for objectFlags
PiperOrigin-RevId: 366123708
Configuration menu - View commit details
-
Copy full SHA for 40ddb47 - Browse repository at this point
Copy the full SHA 40ddb47View commit details
Commits on Apr 8, 2021
-
Update tsmes module name generation since TS 4.2 doesn't resolve modu…
…le names containing file extensions. PiperOrigin-RevId: 367450792
Configuration menu - View commit details
-
Copy full SHA for a5dbdbb - Browse repository at this point
Copy the full SHA a5dbdbbView commit details
Commits on Apr 13, 2021
-
During prodmode goog.module transformation, delete calls to ts.migrat…
…ionExportsShim rather than rewriting them as module map insertions. If the .closure.js file is being loaded into a browser (as part of a debug session), then the .tsmes.closure.js file probably is also. The .tsmes.closure.js file will create the necessary module map entry (because it contains a goog.module declaration). A map entry added by the .closure.js file is just a module loading error. PiperOrigin-RevId: 368311499
Configuration menu - View commit details
-
Copy full SHA for 1e30314 - Browse repository at this point
Copy the full SHA 1e30314View commit details
Commits on Apr 22, 2021
-
Propagate @pintomodule as part of goog.tsMigrationExportsShim
There are some tools that generate chunk IDs based on the goog.module ID. Therefore the shim for a goog.module must also act as a shim for any pintomodule coming from the same file. PiperOrigin-RevId: 369955748
Configuration menu - View commit details
-
Copy full SHA for 3a89a86 - Browse repository at this point
Copy the full SHA 3a89a86View commit details
Commits on Apr 27, 2021
-
use better workaround for quoted access
This tsickle code uses a private API within TypeScript, so unless the access to it is quoted it gets property renamed. But quoting at the usage site ties the code to an unrenamed interface to that API, which would then break in the other way if we ever managed to compile the TS API into the same compilation as this client code. Instead, the proper place to mark this distinction (whether this function is renamed or not) lies in the place where we decide to bundle TypeScript -- if it's bundled without renaming, we need an extern to mark this as unrenameable, and otherwise, the dotted access is fine. PiperOrigin-RevId: 370758824
Configuration menu - View commit details
-
Copy full SHA for a8f5b5b - Browse repository at this point
Copy the full SHA a8f5b5bView commit details
Commits on May 5, 2021
-
Suppress const warnings in tsickle generated externs.
tsickle generates assignments to `@const` namespace properties: /** @const */ chrome.runtime = {}; This can cause clashes with hand-written Closure externs that also define these properties. The expedient workaround is to ignore these warnings by suppressing the `const` error class. PiperOrigin-RevId: 372145305
Configuration menu - View commit details
-
Copy full SHA for 11ae37d - Browse repository at this point
Copy the full SHA 11ae37dView commit details
Commits on May 10, 2021
-
Bump handlebars from 4.7.6 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md) - [Commits](handlebars-lang/handlebars.js@v4.7.6...v4.7.7) Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for c033d95 - Browse repository at this point
Copy the full SHA c033d95View commit details -
Bump hosted-git-info from 2.8.4 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.4 to 2.8.9. - [Release notes](https://github.com/npm/hosted-git-info/releases) - [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md) - [Commits](npm/hosted-git-info@v2.8.4...v2.8.9) Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 68d14f9 - Browse repository at this point
Copy the full SHA 68d14f9View commit details
Commits on May 13, 2021
-
Update tsmes to allow shimming type-only symbols. (vis. interface, ty…
…pe aliases, etc.) PiperOrigin-RevId: 373671534
Configuration menu - View commit details
-
Copy full SHA for 4495891 - Browse repository at this point
Copy the full SHA 4495891View commit details
Commits on May 20, 2021
-
Introduce types for the various EventMaps.
This will allow users using unquoted property names to declare new event types. See the test case for example code. PiperOrigin-RevId: 374894086
Configuration menu - View commit details
-
Copy full SHA for fc811b8 - Browse repository at this point
Copy the full SHA fc811b8View commit details
Commits on May 21, 2021
-
Add two new tsmes functions to the goog object
One that shims all exports using default exports syntax; one that shims all exports using named exports syntax. Make it so that the following TypeScript in `some/path/to/a/file.ts` ``` export interface I {} goog.tsMigrationDefaultExportsShim('a.javascript.flavored.module.id'); ``` generates this shim: ``` goog.module('a.javascript.flavored.module.id'); const { I } = goog.require('some.path.to.a.file'); exports = I; ``` And this TypeScript in `some/other/path/to/a/file.ts` ``` export interface I {} export class C {} goog.tsMigrationNamedExportsShim('a.javascript.flavored.module.id'); ``` generates this shim: ``` goog.module('a.javascript.flavored.module.id'); const { I, C } = goog.require('some.other.path.to.a.file'); exports.I = I; exports.C = C; ``` PiperOrigin-RevId: 375110881
Configuration menu - View commit details
-
Copy full SHA for e920a79 - Browse repository at this point
Copy the full SHA e920a79View commit details
Commits on May 24, 2021
-
Emit
NonNullable<T>
asT
instead of?
to avoid disambiguation f……ailures. PiperOrigin-RevId: 375528277
Configuration menu - View commit details
-
Copy full SHA for 8ffda97 - Browse repository at this point
Copy the full SHA 8ffda97View commit details
Commits on May 25, 2021
-
Add DocumentEventMap and WindowEventMap to the EventMap list in closu…
…re_externs.js PiperOrigin-RevId: 375740336
Configuration menu - View commit details
-
Copy full SHA for f64f042 - Browse repository at this point
Copy the full SHA f64f042View commit details
Commits on May 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b5b6c0d - Browse repository at this point
Copy the full SHA b5b6c0dView commit details -
Fix compilation issues with TypeScript 4.3.
PiperOrigin-RevId: 375895241
Configuration menu - View commit details
-
Copy full SHA for c631a54 - Browse repository at this point
Copy the full SHA c631a54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09e8eee - Browse repository at this point
Copy the full SHA 09e8eeeView commit details -
build & test using npm scripts.
This change migrates the open source build from bazel back to plain npm scripts. bazel worked well for a while, but the internal and external build definitions are diverging, and we no longer have the expertise to maintain either of them. While simplistic, plain npm scripts work well for our use case, both from a performance and a maintainability perspective.
Configuration menu - View commit details
-
Copy full SHA for 3f6f23b - Browse repository at this point
Copy the full SHA 3f6f23bView commit details
Commits on Jun 7, 2021
-
Merge pull request #1267 from angular:unbazel
PiperOrigin-RevId: 377874934
Configuration menu - View commit details
-
Copy full SHA for 869e760 - Browse repository at this point
Copy the full SHA 869e760View commit details -
Flip the version of the TS Compiler from 4.2.4 to 4.3.2.
PiperOrigin-RevId: 377876230
Configuration menu - View commit details
-
Copy full SHA for 5f679a0 - Browse repository at this point
Copy the full SHA 5f679a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7237873 - Browse repository at this point
Copy the full SHA 7237873View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f3fefd - Browse repository at this point
Copy the full SHA 3f3fefdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85cafb1 - Browse repository at this point
Copy the full SHA 85cafb1View commit details -
Remove some no longer used deps. Upgrade remaining deps.
Configuration menu - View commit details
-
Copy full SHA for 666bb37 - Browse repository at this point
Copy the full SHA 666bb37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0498000 - Browse repository at this point
Copy the full SHA 0498000View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d79c3f - Browse repository at this point
Copy the full SHA 5d79c3fView commit details -
- just use one NodeJS version - name the build "CI" for easier reference
Configuration menu - View commit details
-
Copy full SHA for 228fadf - Browse repository at this point
Copy the full SHA 228fadfView commit details -
PiperOrigin-RevId: 377922236
Configuration menu - View commit details
-
Copy full SHA for ac813e6 - Browse repository at this point
Copy the full SHA ac813e6View commit details -
Merge pull request #1269 from angular:unbazel
PiperOrigin-RevId: 378026079
Configuration menu - View commit details
-
Copy full SHA for 4e636bc - Browse repository at this point
Copy the full SHA 4e636bcView commit details
Commits on Jun 9, 2021
-
Update development instructions
Remove some more references to npm and bazel.
Configuration menu - View commit details
-
Copy full SHA for 1e36d3d - Browse repository at this point
Copy the full SHA 1e36d3dView commit details
Commits on Jun 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d9f6f89 - Browse repository at this point
Copy the full SHA d9f6f89View commit details
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.