@@ -103,13 +103,16 @@
103 } 103 }
104} 104}
105 105
106export function __createBinding(o, m, k, k2) { 106export var __createBinding = Object.create ? (function(o, m, k, k2) {
107 if (k2 === undefined) k2 = k; 107 if (k2 === undefined) k2 = k;
108 Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
109}) : (function(o, m, k, k2) {
110 if (k2 === undefined) k2 = k;
108 o[k2] = m[k]; 111 o[k2] = m[k];
109} 112});
110 113
111export function __exportStar(m, exports) { 114export function __exportStar(m, exports) {
112 for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p]; 115 for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
113} 116}
114 117
115export function __values(o) { 118export function __values(o) {
@@ -190,11 +193,17 @@
190 return cooked; 193 return cooked;
191}; 194};
192 195
196var __setModuleDefault = Object.create ? (function(o, v) {
197 Object.defineProperty(o, "default", { enumerable: true, value: v });
198}) : function(o, v) {
199 o["default"] = v;
200};
201
193export function __importStar(mod) { 202export function __importStar(mod) {
194 if (mod && mod.__esModule) return mod; 203 if (mod && mod.__esModule) return mod;
195 var result = {}; 204 var result = {};
196 if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
197 result.default = mod; 205 if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
206 __setModuleDefault(result, mod);
198 return result; 207 return result;
199} 208}
200 --- package/tslib.js209 --- package/tslib.js
210++ package/tslib.js
@@ -12,7 +12,6 @@
12OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 12OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13PERFORMANCE OF THIS SOFTWARE. 13PERFORMANCE OF THIS SOFTWARE.
14***************************************************************************** */ 14***************************************************************************** */
15
16/* global global, define, System, Reflect, Promise */ 15/* global global, define, System, Reflect, Promise */
17var __extends; 16var __extends;
18var __assign; 17var __assign;
@@ -144,15 +143,18 @@
144 } 143 }
145 }; 144 };
146 145
147 __createBinding = function(o, m, k, k2) { 146 __exportStar = function(m, exports) {
147 for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
148 };
149
150 __createBinding = Object.create ? (function(o, m, k, k2) {
148 if (k2 === undefined) k2 = k; 151 if (k2 === undefined) k2 = k;
152 Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
153 }) : (function(o, m, k, k2) {
154 if (k2 === undefined) k2 = k;
149 o[k2] = m[k]; 155 o[k2] = m[k];
150 }; 156 });
151 157
152 __exportStar = function (m, exports) {
153 for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) exports[p] = m[p];
154 };
155
156 __values = function (o) { 158 __values = function (o) {
157 var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; 159 var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
158 if (m) return m.call(o); 160 if (m) return m.call(o);
@@ -231,11 +233,17 @@
231 return cooked; 233 return cooked;
232 }; 234 };
233 235
236 var __setModuleDefault = Object.create ? (function(o, v) {
237 Object.defineProperty(o, "default", { enumerable: true, value: v });
238 }) : function(o, v) {
239 o["default"] = v;
240 };
241
234 __importStar = function (mod) { 242 __importStar = function (mod) {
235 if (mod && mod.__esModule) return mod; 243 if (mod && mod.__esModule) return mod;
236 var result = {}; 244 var result = {};
237 if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
238 result["default"] = mod; 245 if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
246 __setModuleDefault(result, mod);
239 return result; 247 return result;
240 }; 248 };
241 --- package/package.json249 --- package/package.json
250++ package/package.json
@@ -2,7 +2,7 @@
2 "name": "tslib",2 "name": "tslib",
3 "author": "Microsoft Corp.",3 "author": "Microsoft Corp.",
4 "homepage": "https://www.typescriptlang.org/",4 "homepage": "https://www.typescriptlang.org/",
5 "version": "1.13.0",5 "version": "2.0.0",
6 "license": "0BSD",6 "license": "0BSD",
7 "description": "Runtime library for TypeScript helper functions",7 "description": "Runtime library for TypeScript helper functions",
8 "keywords": [--- package/README.md8 "keywords": [--- package/README.md
9++ package/README.md
@@ -118,7 +118,7 @@
118 "importHelpers": true, 118 "importHelpers": true,
119 "baseUrl": "./", 119 "baseUrl": "./",
120 "paths": { 120 "paths": {
121 "tslib" : ["jspm_packages/npm/tslib@1.13.0/tslib.d.ts"] 121 "tslib" : ["jspm_packages/npm/tslib@2.0.0/tslib.d.ts"]
122 } 122 }
123 } 123 }
124} --- package/tslib.d.ts124} --- package/tslib.d.ts
125++ package/tslib.d.ts
@@ -34,4 +34,4 @@
34export declare function __importDefault<T>(mod: T): T | { default: T }; 34export declare function __importDefault<T>(mod: T): T | { default: T };
35export declare function __classPrivateFieldGet<T extends object, V>(receiver: T, privateMap: { has(o: T): boolean, get(o: T): V | undefined }): V; 35export declare function __classPrivateFieldGet<T extends object, V>(receiver: T, privateMap: { has(o: T): boolean, get(o: T): V | undefined }): V;
36export declare function __classPrivateFieldSet<T extends object, V>(receiver: T, privateMap: { has(o: T): boolean, set(o: T, value: V): any }, value: V): V; 36export declare function __classPrivateFieldSet<T extends object, V>(receiver: T, privateMap: { has(o: T): boolean, set(o: T, value: V): any }, value: V): V;
37export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void;37export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void;