Файловый менеджер - Редактировать - /home/freeclou/app.optimyar.com/front-web/build/assets/fonts/iran-yekan/MobileFonts/wgdpf7/tslib.tar
Назад
modules/index.js 0000664 00000001657 15104373377 0007706 0 ustar 00 import tslib from '../tslib.js'; const { __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __createBinding, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, } = tslib; export { __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __createBinding, __values, __read, __spread, __spreadArrays, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, }; modules/package.json 0000664 00000000032 15104373377 0010511 0 ustar 00 { "type": "module" } test/validateModuleExportsMatchCommonJS/index.js 0000664 00000001470 15104373377 0016115 0 ustar 00 // When on node 14, it validates that all of the commonjs exports // are correctly re-exported for es modules importers. const nodeMajor = Number(process.version.split(".")[0].slice(1)) if (nodeMajor < 14) { console.log("Skipping because node does not support module exports.") process.exit(0) } // ES Modules import via the ./modules folder import * as esTSLib from "../../modules/index.js" // Force a commonjs resolve import { createRequire } from "module"; const commonJSTSLib = createRequire(import.meta.url)("../../tslib.js"); for (const key in commonJSTSLib) { if (commonJSTSLib.hasOwnProperty(key)) { if(!esTSLib[key]) throw new Error(`ESModules is missing ${key} - it needs to be re-exported in ./modules/index.js`) } } console.log("All exports in commonjs are available for es module consumers.") test/validateModuleExportsMatchCommonJS/package.json 0000664 00000000107 15104373377 0016732 0 ustar 00 { "type": "module", "scripts": { "test": "node index.js" } } CopyrightNotice.txt 0000664 00000001470 15104373377 0010435 0 ustar 00 /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ LICENSE.txt 0000664 00000001217 15104373377 0006404 0 ustar 00 Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. README.md 0000664 00000006567 15104373377 0006055 0 ustar 00 # tslib This is a runtime library for [TypeScript](http://www.typescriptlang.org/) that contains all of the TypeScript helper functions. This library is primarily used by the `--importHelpers` flag in TypeScript. When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file: ```ts var __assign = (this && this.__assign) || Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; exports.x = {}; exports.y = __assign({}, exports.x); ``` will instead be emitted as something like the following: ```ts var tslib_1 = require("tslib"); exports.x = {}; exports.y = tslib_1.__assign({}, exports.x); ``` Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead. For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`. # Installing For the latest stable version, run: ## npm ```sh # TypeScript 2.3.3 or later npm install tslib # TypeScript 2.3.2 or earlier npm install tslib@1.6.1 ``` ## yarn ```sh # TypeScript 2.3.3 or later yarn add tslib # TypeScript 2.3.2 or earlier yarn add tslib@1.6.1 ``` ## bower ```sh # TypeScript 2.3.3 or later bower install tslib # TypeScript 2.3.2 or earlier bower install tslib@1.6.1 ``` ## JSPM ```sh # TypeScript 2.3.3 or later jspm install tslib # TypeScript 2.3.2 or earlier jspm install tslib@1.6.1 ``` # Usage Set the `importHelpers` compiler option on the command line: ``` tsc --importHelpers file.ts ``` or in your tsconfig.json: ```json { "compilerOptions": { "importHelpers": true } } ``` #### For bower and JSPM users You will need to add a `paths` mapping for `tslib`, e.g. For Bower users: ```json { "compilerOptions": { "module": "amd", "importHelpers": true, "baseUrl": "./", "paths": { "tslib" : ["bower_components/tslib/tslib.d.ts"] } } } ``` For JSPM users: ```json { "compilerOptions": { "module": "system", "importHelpers": true, "baseUrl": "./", "paths": { "tslib" : ["jspm_packages/npm/tslib@1.[version].0/tslib.d.ts"] } } } ``` # Contribute There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript. * [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in. * Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls). * Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript). * Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter. * [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). # Documentation * [Quick tutorial](http://www.typescriptlang.org/Tutorial) * [Programming handbook](http://www.typescriptlang.org/Handbook) * [Homepage](http://www.typescriptlang.org/) package.json 0000664 00000003263 15104373377 0007052 0 ustar 00 { "_args": [ [ "tslib@1.14.1", "/home/freeclou/app.optimyar.com/backend" ] ], "_from": "tslib@1.14.1", "_id": "tslib@1.14.1", "_inBundle": false, "_integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", "_location": "/tslib", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, "raw": "tslib@1.14.1", "name": "tslib", "escapedName": "tslib", "rawSpec": "1.14.1", "saveSpec": null, "fetchSpec": "1.14.1" }, "_requiredBy": [ "/@sentry/core", "/@sentry/hub", "/@sentry/minimal", "/@sentry/node", "/@sentry/tracing", "/@sentry/utils", "/formik", "/rxjs" ], "_resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "_spec": "1.14.1", "_where": "/home/freeclou/app.optimyar.com/backend", "author": { "name": "Microsoft Corp." }, "bugs": { "url": "https://github.com/Microsoft/TypeScript/issues" }, "description": "Runtime library for TypeScript helper functions", "exports": { ".": { "module": "./tslib.es6.js", "import": "./modules/index.js", "default": "./tslib.js" }, "./": "./" }, "homepage": "https://www.typescriptlang.org/", "jsnext:main": "tslib.es6.js", "keywords": [ "TypeScript", "Microsoft", "compiler", "language", "javascript", "tslib", "runtime" ], "license": "0BSD", "main": "tslib.js", "module": "tslib.es6.js", "name": "tslib", "repository": { "type": "git", "url": "git+https://github.com/Microsoft/tslib.git" }, "sideEffects": false, "typings": "tslib.d.ts", "version": "1.14.1" } tslib.d.ts 0000664 00000005232 15104373377 0006471 0 ustar 00 /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ export declare function __extends(d: Function, b: Function): void; export declare function __assign(t: any, ...sources: any[]): any; export declare function __rest(t: any, propertyNames: (string | symbol)[]): any; export declare function __decorate(decorators: Function[], target: any, key?: string | symbol, desc?: any): any; export declare function __param(paramIndex: number, decorator: Function): Function; export declare function __metadata(metadataKey: any, metadataValue: any): Function; export declare function __awaiter(thisArg: any, _arguments: any, P: Function, generator: Function): any; export declare function __generator(thisArg: any, body: Function): any; export declare function __exportStar(m: any, exports: any): void; export declare function __values(o: any): any; export declare function __read(o: any, n?: number): any[]; export declare function __spread(...args: any[][]): any[]; export declare function __spreadArrays(...args: any[][]): any[]; export declare function __await(v: any): any; export declare function __asyncGenerator(thisArg: any, _arguments: any, generator: Function): any; export declare function __asyncDelegator(o: any): any; export declare function __asyncValues(o: any): any; export declare function __makeTemplateObject(cooked: string[], raw: string[]): TemplateStringsArray; export declare function __importStar<T>(mod: T): T; export declare function __importDefault<T>(mod: T): T | { default: T }; export declare function __classPrivateFieldGet<T extends object, V>(receiver: T, privateMap: { has(o: T): boolean, get(o: T): V | undefined }): V; export declare function __classPrivateFieldSet<T extends object, V>(receiver: T, privateMap: { has(o: T): boolean, set(o: T, value: V): any }, value: V): V; export declare function __createBinding(object: object, target: object, key: PropertyKey, objectKey?: PropertyKey): void; tslib.es6.html 0000664 00000000044 15104373377 0007255 0 ustar 00 <script src="tslib.es6.js"></script>