Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

Location:
imaps-frontend/node_modules/tslib
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/tslib/modules/index.d.ts

    rd565449 r0c6b92a  
    3434  __addDisposableResource,
    3535  __disposeResources,
     36  __rewriteRelativeImportExtension,
    3637} from '../tslib.js';
    3738export * as default from '../tslib.js';
  • imaps-frontend/node_modules/tslib/modules/index.js

    rd565449 r0c6b92a  
    3232    __addDisposableResource,
    3333    __disposeResources,
     34    __rewriteRelativeImportExtension,
    3435} = tslib;
    3536export {
     
    6566    __addDisposableResource,
    6667    __disposeResources,
     68    __rewriteRelativeImportExtension,
    6769};
    6870export default tslib;
  • imaps-frontend/node_modules/tslib/package.json

    rd565449 r0c6b92a  
    33    "author": "Microsoft Corp.",
    44    "homepage": "https://www.typescriptlang.org/",
    5     "version": "2.6.3",
     5    "version": "2.8.1",
    66    "license": "0BSD",
    77    "description": "Runtime library for TypeScript helper functions",
  • imaps-frontend/node_modules/tslib/tslib.d.ts

    rd565449 r0c6b92a  
    452452 */
    453453export declare function __disposeResources(env: { stack: { value?: unknown, dispose?: Function, async: boolean }[]; error: unknown; hasError: boolean; }): any;
     454
     455/**
     456 * Transforms a relative import specifier ending in a non-declaration TypeScript file extension to its JavaScript file extension counterpart.
     457 * @param path The import specifier.
     458 * @param preserveJsx Causes '*.tsx' to transform to '*.jsx' instead of '*.js'. Should be true when `--jsx` is set to `preserve`.
     459 */
     460export declare function __rewriteRelativeImportExtension(path: string, preserveJsx?: boolean): string;
  • imaps-frontend/node_modules/tslib/tslib.es6.js

    rd565449 r0c6b92a  
    1313PERFORMANCE OF THIS SOFTWARE.
    1414***************************************************************************** */
    15 /* global Reflect, Promise, SuppressedError, Symbol */
     15/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
    1616
    1717var extendStatics = function(d, b) {
     
    124124
    125125export function __generator(thisArg, body) {
    126     var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    127     return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
     126    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
     127    return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    128128    function verb(n) { return function (v) { return step([n, v]); }; }
    129129    function step(op) {
     
    229229    if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
    230230    var g = generator.apply(thisArg, _arguments || []), i, q = [];
    231     return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
     231    return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
    232232    function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
    233233    function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
     
    264264};
    265265
     266var ownKeys = function(o) {
     267    ownKeys = Object.getOwnPropertyNames || function (o) {
     268        var ar = [];
     269        for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
     270        return ar;
     271    };
     272    return ownKeys(o);
     273};
     274
    266275export function __importStar(mod) {
    267276    if (mod && mod.__esModule) return mod;
    268277    var result = {};
    269     if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
     278    if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
    270279    __setModuleDefault(result, mod);
    271280    return result;
     
    328337        env.hasError = true;
    329338    }
     339    var r, s = 0;
    330340    function next() {
    331         while (env.stack.length) {
    332             var rec = env.stack.pop();
     341        while (r = env.stack.pop()) {
    333342            try {
    334                 var result = rec.dispose && rec.dispose.call(rec.value);
    335                 if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
     343                if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
     344                if (r.dispose) {
     345                    var result = r.dispose.call(r.value);
     346                    if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
     347                }
     348                else s |= 1;
    336349            }
    337350            catch (e) {
     
    339352            }
    340353        }
     354        if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
    341355        if (env.hasError) throw env.error;
    342356    }
    343357    return next();
     358}
     359
     360export function __rewriteRelativeImportExtension(path, preserveJsx) {
     361    if (typeof path === "string" && /^\.\.?\//.test(path)) {
     362        return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
     363            return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
     364        });
     365    }
     366    return path;
    344367}
    345368
     
    350373    __decorate: __decorate,
    351374    __param: __param,
     375    __esDecorate: __esDecorate,
     376    __runInitializers: __runInitializers,
     377    __propKey: __propKey,
     378    __setFunctionName: __setFunctionName,
    352379    __metadata: __metadata,
    353380    __awaiter: __awaiter,
     
    372399    __addDisposableResource: __addDisposableResource,
    373400    __disposeResources: __disposeResources,
    374 };
     401    __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,
     402};
  • imaps-frontend/node_modules/tslib/tslib.es6.mjs

    rd565449 r0c6b92a  
    1313PERFORMANCE OF THIS SOFTWARE.
    1414***************************************************************************** */
    15 /* global Reflect, Promise, SuppressedError, Symbol */
     15/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
    1616
    1717var extendStatics = function(d, b) {
     
    124124
    125125export function __generator(thisArg, body) {
    126   var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    127   return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
     126  var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
     127  return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    128128  function verb(n) { return function (v) { return step([n, v]); }; }
    129129  function step(op) {
     
    229229  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
    230230  var g = generator.apply(thisArg, _arguments || []), i, q = [];
    231   return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
     231  return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
    232232  function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
    233233  function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
     
    264264};
    265265
     266var ownKeys = function(o) {
     267  ownKeys = Object.getOwnPropertyNames || function (o) {
     268    var ar = [];
     269    for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
     270    return ar;
     271  };
     272  return ownKeys(o);
     273};
     274
    266275export function __importStar(mod) {
    267276  if (mod && mod.__esModule) return mod;
    268277  var result = {};
    269   if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
     278  if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
    270279  __setModuleDefault(result, mod);
    271280  return result;
     
    327336    env.hasError = true;
    328337  }
     338  var r, s = 0;
    329339  function next() {
    330     while (env.stack.length) {
    331       var rec = env.stack.pop();
     340    while (r = env.stack.pop()) {
    332341      try {
    333         var result = rec.dispose && rec.dispose.call(rec.value);
    334         if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
     342        if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
     343        if (r.dispose) {
     344          var result = r.dispose.call(r.value);
     345          if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
     346        }
     347        else s |= 1;
    335348      }
    336349      catch (e) {
    337           fail(e);
     350        fail(e);
    338351      }
    339352    }
     353    if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
    340354    if (env.hasError) throw env.error;
    341355  }
    342356  return next();
     357}
     358
     359export function __rewriteRelativeImportExtension(path, preserveJsx) {
     360  if (typeof path === "string" && /^\.\.?\//.test(path)) {
     361      return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
     362          return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
     363      });
     364  }
     365  return path;
    343366}
    344367
     
    349372  __decorate,
    350373  __param,
     374  __esDecorate,
     375  __runInitializers,
     376  __propKey,
     377  __setFunctionName,
    351378  __metadata,
    352379  __awaiter,
     
    371398  __addDisposableResource,
    372399  __disposeResources,
    373 };
     400  __rewriteRelativeImportExtension,
     401};
  • imaps-frontend/node_modules/tslib/tslib.js

    rd565449 r0c6b92a  
    1313PERFORMANCE OF THIS SOFTWARE.
    1414***************************************************************************** */
    15 /* global global, define, Symbol, Reflect, Promise, SuppressedError */
     15/* global global, define, Symbol, Reflect, Promise, SuppressedError, Iterator */
    1616var __extends;
    1717var __assign;
     
    4545var __addDisposableResource;
    4646var __disposeResources;
     47var __rewriteRelativeImportExtension;
    4748(function (factory) {
    4849    var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {};
     
    172173
    173174    __generator = function (thisArg, body) {
    174         var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
    175         return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
     175        var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
     176        return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
    176177        function verb(n) { return function (v) { return step([n, v]); }; }
    177178        function step(op) {
     
    277278        if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
    278279        var g = generator.apply(thisArg, _arguments || []), i, q = [];
    279         return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
     280        return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
    280281        function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
    281282        function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
     
    312313    };
    313314
     315    var ownKeys = function(o) {
     316        ownKeys = Object.getOwnPropertyNames || function (o) {
     317            var ar = [];
     318            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
     319            return ar;
     320        };
     321        return ownKeys(o);
     322    };
     323
    314324    __importStar = function (mod) {
    315325        if (mod && mod.__esModule) return mod;
    316326        var result = {};
    317         if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
     327        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
    318328        __setModuleDefault(result, mod);
    319329        return result;
     
    375385            env.hasError = true;
    376386        }
     387        var r, s = 0;
    377388        function next() {
    378             while (env.stack.length) {
    379                 var rec = env.stack.pop();
     389            while (r = env.stack.pop()) {
    380390                try {
    381                     var result = rec.dispose && rec.dispose.call(rec.value);
    382                     if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
     391                    if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);
     392                    if (r.dispose) {
     393                        var result = r.dispose.call(r.value);
     394                        if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });
     395                    }
     396                    else s |= 1;
    383397                }
    384398                catch (e) {
     
    386400                }
    387401            }
     402            if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();
    388403            if (env.hasError) throw env.error;
    389404        }
    390405        return next();
     406    };
     407
     408    __rewriteRelativeImportExtension = function (path, preserveJsx) {
     409        if (typeof path === "string" && /^\.\.?\//.test(path)) {
     410            return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
     411                return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
     412            });
     413        }
     414        return path;
    391415    };
    392416
     
    422446    exporter("__addDisposableResource", __addDisposableResource);
    423447    exporter("__disposeResources", __disposeResources);
     448    exporter("__rewriteRelativeImportExtension", __rewriteRelativeImportExtension);
    424449});
     450
     4510 && (module.exports = {
     452    __extends: __extends,
     453    __assign: __assign,
     454    __rest: __rest,
     455    __decorate: __decorate,
     456    __param: __param,
     457    __esDecorate: __esDecorate,
     458    __runInitializers: __runInitializers,
     459    __propKey: __propKey,
     460    __setFunctionName: __setFunctionName,
     461    __metadata: __metadata,
     462    __awaiter: __awaiter,
     463    __generator: __generator,
     464    __exportStar: __exportStar,
     465    __createBinding: __createBinding,
     466    __values: __values,
     467    __read: __read,
     468    __spread: __spread,
     469    __spreadArrays: __spreadArrays,
     470    __spreadArray: __spreadArray,
     471    __await: __await,
     472    __asyncGenerator: __asyncGenerator,
     473    __asyncDelegator: __asyncDelegator,
     474    __asyncValues: __asyncValues,
     475    __makeTemplateObject: __makeTemplateObject,
     476    __importStar: __importStar,
     477    __importDefault: __importDefault,
     478    __classPrivateFieldGet: __classPrivateFieldGet,
     479    __classPrivateFieldSet: __classPrivateFieldSet,
     480    __classPrivateFieldIn: __classPrivateFieldIn,
     481    __addDisposableResource: __addDisposableResource,
     482    __disposeResources: __disposeResources,
     483    __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,
     484});
Note: See TracChangeset for help on using the changeset viewer.