+1
-1
@@ -5,3 +5,3 @@ { | ||
| "homepage": "https://www.typescriptlang.org/", | ||
| "version": "2.2.0", | ||
| "version": "2.3.0", | ||
| "license": "0BSD", | ||
@@ -8,0 +8,0 @@ "description": "Runtime library for TypeScript helper functions", |
+10
-0
@@ -139,3 +139,13 @@ # tslib | ||
| ## Deployment | ||
| - Choose your new version number | ||
| - Set it in `package.json` and `bower.json` | ||
| - Create a tag: `git tag [version]` | ||
| - Push the tag: `git push --tags` | ||
| - Create a [release in GitHub](https://github.com/microsoft/tslib/releases) | ||
| - Run the [publish to npm](https://github.com/microsoft/tslib/actions?query=workflow%3A%22Publish+to+NPM%22) workflow | ||
| Done. | ||
| # Contribute | ||
@@ -142,0 +152,0 @@ |
+1
-1
@@ -30,3 +30,3 @@ /*! ***************************************************************************** | ||
| export declare function __spreadArrays(...args: any[][]): any[]; | ||
| export declare function __spreadArray(to: any[], from: any[]): any[]; | ||
| export declare function __spreadArray(to: any[], from: any[], pack?: boolean): any[]; | ||
| export declare function __await(v: any): any; | ||
@@ -33,0 +33,0 @@ export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any; |
+8
-4
@@ -165,6 +165,10 @@ /*! ***************************************************************************** | ||
| export function __spreadArray(to, from) { | ||
| for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
| to[j] = from[i]; | ||
| return to; | ||
| export function __spreadArray(to, from, pack) { | ||
| if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
| if (ar || !(i in from)) { | ||
| if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
| ar[i] = from[i]; | ||
| } | ||
| } | ||
| return to.concat(ar || from); | ||
| } | ||
@@ -171,0 +175,0 @@ |
+8
-4
@@ -206,6 +206,10 @@ /*! ***************************************************************************** | ||
| __spreadArray = function (to, from) { | ||
| for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
| to[j] = from[i]; | ||
| return to; | ||
| __spreadArray = function (to, from, pack) { | ||
| if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { | ||
| if (ar || !(i in from)) { | ||
| if (!ar) ar = Array.prototype.slice.call(from, 0, i); | ||
| ar[i] = from[i]; | ||
| } | ||
| } | ||
| return to.concat(ar || from); | ||
| }; | ||
@@ -212,0 +216,0 @@ |
39032
1.94%670
1.21%165
6.45%