Andrew Branch
80deca0c2d
Do not reference tslib.es6.js from package.json exports
2023-06-02 09:16:14 -07:00
Daniel Rosenwasser
e623061dc0
Bump version to 2.5.2.
2023-05-18 14:56:07 -07:00
Andrew Branch
2b57a9264e
Use named reexport to satsify incomplete TS symbol resolution ( #204 )
2023-05-18 14:55:13 -07:00
Ron Buckton
91fcbd0c62
Reverse order of decorator-injected initializers ( #202 )
...
* Reverse order of decorator-injected initializers
* Bump patch version
2023-05-17 18:08:33 -04:00
Andrew Branch
eab3cfffbe
Merge pull request #200 from Andarist/fix/import-types
...
Add proper declaration file for the `import` condition
2023-05-01 15:40:24 -07:00
Andrew Branch
5ef7d1a095
Update modules/index.d.ts
2023-05-01 15:31:20 -07:00
Andrew Branch
7def846770
Merge pull request #201 from microsoft/fix-esm
...
Add Node-specific export condition for ESM entrypoint that re-exports CJS
2023-05-01 14:30:26 -07:00
Andrew Branch
4e79d0343f
Merge pull request #179 from guybedford/patch-4
...
fix: default interop compat for "module" condition
2023-05-01 13:18:16 -07:00
Andrew Branch
033b363964
Add default export to modules/index.js
2023-05-01 12:18:39 -07:00
Andrew Branch
897f11e51e
Ensure tslib.es6.js is typed
2023-05-01 11:58:53 -07:00
Andrew Branch
a0a67d9bf5
Add Node-specific export condition for ESM entrypoint that re-exports CJS
2023-05-01 11:55:25 -07:00
Mateusz Burzyński
0f84d4059c
Add propert declaration file for the `import` condition
2023-04-29 16:34:45 +02:00
Ryan Cavanaugh
a100d7b62e
Merge pull request #195 from xfq/https
...
http -> https
2023-02-03 09:36:42 -08:00
Fuqiao Xue
d58182f8d7
http -> https
2023-02-03 16:56:31 +08:00
Daniel Rosenwasser
e388a23287
Merge pull request #194 from microsoft/bump-version-2.5
...
Bump package version to 2.5.0
2023-01-26 09:56:22 -08:00
Ron Buckton
b68d57319b
Bump package version to 2.5.0
2023-01-20 12:43:29 -05:00
Ron Buckton
62c53229ff
Add support for __esDecorate and related helpers ( #193 )
2023-01-20 12:36:35 -05:00
Nathan Shively-Sanders
3bdc0029c0
Merge pull request #188 from microsoft/add-codeql
...
add codeql
2022-11-29 07:30:41 -10:00
Nathan Shively-Sanders
697f4303d1
try paths: .
2022-11-29 09:26:08 -08:00
Nathan Shively-Sanders
63319afdd7
add codeql
2022-11-28 13:24:23 -08:00
Tomasz Lenarcik
a549d399b0
Fix asyncDelegator reporting done too early ( #187 )
...
See: https://github.com/microsoft/TypeScript/issues/45400
2022-11-15 18:18:25 -05:00
Daniel Rosenwasser
8acd4b30d3
Bump version to 2.4.1.
2022-10-31 11:22:13 -07:00
Ron Buckton
5f7365ee1c
Remove extra line in generator.md
2022-10-25 19:34:10 -04:00
Ron Buckton
b1d38ee117
Fix early call to return/throw on generator ( #186 )
...
* Fix early call to return/throw on generator
* Additional minor documentation updates
* Update docs/generator.md
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2022-10-24 22:38:14 -04:00
Daniel Rosenwasser
4e27e9fc6e
Merge pull request #181 from microsoft/users/GitHubPolicyService/201dd6b7-4ca8-49f3-9744-61af1a7eb442
...
Adding Microsoft SECURITY.MD
2022-09-22 16:58:11 -07:00
microsoft-github-policy-service[bot]
7af3973ab3
Microsoft mandatory file
2022-08-31 15:23:07 +00:00
Guy Bedford
68870a6df2
fix: default interop compat for "module" condition
2022-06-29 18:16:28 -07:00
Daniel Rosenwasser
5bfaf87d1d
Merge pull request #172 from microsoft/add-test-vite
...
Add a test for vite
2022-05-05 11:32:56 -07:00
Ron Buckton
a7129c7bd5
Update bower.json
2022-04-21 17:21:17 -07:00
Ron Buckton
5b7da89bf0
Update package.json
2022-04-21 17:18:32 -07:00
Ron Buckton
f5417485cf
Drop node@10 from test matrix, add node@16
2022-02-10 12:41:00 -08:00
Ron Buckton
8860d619ff
Add a test for vite
2022-02-10 12:28:35 -08:00
Ron Buckton
c827964226
Merge branch 'EB-Forks-docs/add-tsdoc'
2022-02-08 16:05:14 -08:00
Ron Buckton
fbf48a8e49
Merge branch 'docs/add-tsdoc' of https://github.com/EB-Forks/tslib into EB-Forks-docs/add-tsdoc
...
# Conflicts:
# tslib.d.ts
2022-02-08 16:04:45 -08:00
Eli Barzilay
15f98b67c4
optimize `__createBinding` ( #168 )
...
Reflect microsoft/TypeScript#46997:
When the binding is itself one that was created by `__createBinding`,
re-use its descriptor, which avoids piling multiple levels of getters in
the case of multiple levels of exports.
In addition, reuse a descriptor if the bindings is marked as
non-writable and non-configurable, which makes a getter not
necessary. (This can be done manually if needed, even though tsc
doesn't do it now.)
Could be considered as a fix for #165 -- first, this PR prevents piling
up multiple layers of getters. Second, it allows a hack of adding
if (typeof exports === "object") exports = Object.freeze(exports);
to avoid getters altogether. (And in the future, tsc could mark `const`
exports as non-writable and non-configurable which would make it
possible to avoid this hack.)
2022-02-08 07:39:22 -08:00
Jonatan
06853a8e08
Update package.json: changed pattern "./" to "./*" ( #135 )
...
* Update package.json: changed pattern "./" to "./*"
On Angular when executes command 'ng build --prod':
- Generating browser application bundles...(node:16716) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at {{APP_PATH}}\node_modules\tslib\package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
* Use both export map syntaxes to support older NodeJS
Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
Co-authored-by: ExE Boss <3889017+ExE-Boss@users.noreply.github.com>
2022-02-07 19:04:12 -08:00
Orta Therox
7012efcbd7
Merge pull request #164 from penx/license-update
...
Update license within js files
2021-11-25 20:33:00 +00:00
Alasdair McLeay
5b8af4ee90
Update license within js files
...
Further to #160 , make license changes to tslib.d.ts, tslib.es6.js and tslib.js files too
2021-11-25 16:00:00 +00:00
Orta Therox
7def9b5c1b
Merge pull request #160 from penx/patch-1
...
Don't require license to be included by bundlers
2021-11-25 15:16:06 +00:00
Alasdair McLeay
f0563d9aef
Don't require license to be included by bundlers
...
#96 updated the license to zero clause BSD so that bundlers didn't need to keep the license intact.
However, the `/*!` still signifies to bundlers such as Webpack, Uglify that they should keep this license intact.
https://stackoverflow.com/questions/11248363/the-purpose-of-starting-an-initial-comment-with-in-javascript-and-css-files
> This is for legal reasons. By default comments with `@license`, `@preserve` or starting with `/*!` are preserved
https://github.com/webpack/webpack/issues/324#issuecomment-157855568
2021-11-15 16:46:37 +00:00
Nathan Shively-Sanders
481d35218a
Merge pull request #157 from bloomberg/private-fields-in-in
...
Add new private class element helper: __classPrivateFieldIn
2021-09-24 09:34:13 -07:00
aclaymore
c1fbc713d4
[squash] add export to index.js
...
Signed-off-by: aclaymore <aclaymore@bloomberg.net>
2021-09-24 17:23:21 +01:00
aclaymore
ad1140860d
adds __classPrivateFieldIn
...
Signed-off-by: aclaymore <aclaymore@bloomberg.net>
2021-09-22 20:24:54 +01:00
Daniel Rosenwasser
251802eedd
Bump version to 2.3.1.
2021-08-11 15:50:46 -07:00
Daniel Rosenwasser
ffb69384dc
Merge pull request #155 from microsoft/fixSpreadArrayForNonConcatSpreadables
...
Fix __spreadArray for non-concat-spreadables
2021-08-11 14:54:02 -07:00
Ron Buckton
dc0616a9b5
Fix __spreadArray for non-concat-spreadables
2021-08-09 15:54:54 -07:00
Daniel Rosenwasser
0b9301459c
Bump version to 2.3.0.
2021-06-11 15:27:22 -07:00
Ron Buckton
1f2daa7383
Update __spreadArray helper ( #151 )
2021-06-11 15:16:55 -07:00
Orta Therox
4f0f29bb9d
Merge pull request #142 from microsoft/orta-deploy-docs
...
Update README.md for deploy docs
2021-04-12 14:17:42 +01:00
Daniel Rosenwasser
f7eea49789
Bump version to 2.2.0.
2021-04-05 11:15:48 -07:00