new license file version [CI SKIP]
This commit is contained in:
@@ -0,0 +1,240 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.defaultHandler = void 0;
|
||||
const is_1 = require("@sindresorhus/is");
|
||||
const as_promise_1 = require("./as-promise");
|
||||
const create_rejection_1 = require("./as-promise/create-rejection");
|
||||
const core_1 = require("./core");
|
||||
const deep_freeze_1 = require("./utils/deep-freeze");
|
||||
const errors = {
|
||||
RequestError: as_promise_1.RequestError,
|
||||
CacheError: as_promise_1.CacheError,
|
||||
ReadError: as_promise_1.ReadError,
|
||||
HTTPError: as_promise_1.HTTPError,
|
||||
MaxRedirectsError: as_promise_1.MaxRedirectsError,
|
||||
TimeoutError: as_promise_1.TimeoutError,
|
||||
ParseError: as_promise_1.ParseError,
|
||||
CancelError: as_promise_1.CancelError,
|
||||
UnsupportedProtocolError: as_promise_1.UnsupportedProtocolError,
|
||||
UploadError: as_promise_1.UploadError
|
||||
};
|
||||
// The `delay` package weighs 10KB (!)
|
||||
const delay = async (ms) => new Promise(resolve => {
|
||||
setTimeout(resolve, ms);
|
||||
});
|
||||
const { normalizeArguments } = core_1.default;
|
||||
const mergeOptions = (...sources) => {
|
||||
let mergedOptions;
|
||||
for (const source of sources) {
|
||||
mergedOptions = normalizeArguments(undefined, source, mergedOptions);
|
||||
}
|
||||
return mergedOptions;
|
||||
};
|
||||
const getPromiseOrStream = (options) => options.isStream ? new core_1.default(undefined, options) : as_promise_1.default(options);
|
||||
const isGotInstance = (value) => ('defaults' in value && 'options' in value.defaults);
|
||||
const aliases = [
|
||||
'get',
|
||||
'post',
|
||||
'put',
|
||||
'patch',
|
||||
'head',
|
||||
'delete'
|
||||
];
|
||||
exports.defaultHandler = (options, next) => next(options);
|
||||
const callInitHooks = (hooks, options) => {
|
||||
if (hooks) {
|
||||
for (const hook of hooks) {
|
||||
hook(options);
|
||||
}
|
||||
}
|
||||
};
|
||||
const create = (defaults) => {
|
||||
// Proxy properties from next handlers
|
||||
defaults._rawHandlers = defaults.handlers;
|
||||
defaults.handlers = defaults.handlers.map(fn => ((options, next) => {
|
||||
// This will be assigned by assigning result
|
||||
let root;
|
||||
const result = fn(options, newOptions => {
|
||||
root = next(newOptions);
|
||||
return root;
|
||||
});
|
||||
if (result !== root && !options.isStream && root) {
|
||||
const typedResult = result;
|
||||
const { then: promiseThen, catch: promiseCatch, finally: promiseFianlly } = typedResult;
|
||||
Object.setPrototypeOf(typedResult, Object.getPrototypeOf(root));
|
||||
Object.defineProperties(typedResult, Object.getOwnPropertyDescriptors(root));
|
||||
// These should point to the new promise
|
||||
// eslint-disable-next-line promise/prefer-await-to-then
|
||||
typedResult.then = promiseThen;
|
||||
typedResult.catch = promiseCatch;
|
||||
typedResult.finally = promiseFianlly;
|
||||
}
|
||||
return result;
|
||||
}));
|
||||
// Got interface
|
||||
const got = ((url, options = {}, _defaults) => {
|
||||
var _a, _b;
|
||||
let iteration = 0;
|
||||
const iterateHandlers = (newOptions) => {
|
||||
return defaults.handlers[iteration++](newOptions, iteration === defaults.handlers.length ? getPromiseOrStream : iterateHandlers);
|
||||
};
|
||||
// TODO: Remove this in Got 12.
|
||||
if (is_1.default.plainObject(url)) {
|
||||
const mergedOptions = {
|
||||
...url,
|
||||
...options
|
||||
};
|
||||
core_1.setNonEnumerableProperties([url, options], mergedOptions);
|
||||
options = mergedOptions;
|
||||
url = undefined;
|
||||
}
|
||||
try {
|
||||
// Call `init` hooks
|
||||
let initHookError;
|
||||
try {
|
||||
callInitHooks(defaults.options.hooks.init, options);
|
||||
callInitHooks((_a = options.hooks) === null || _a === void 0 ? void 0 : _a.init, options);
|
||||
}
|
||||
catch (error) {
|
||||
initHookError = error;
|
||||
}
|
||||
// Normalize options & call handlers
|
||||
const normalizedOptions = normalizeArguments(url, options, _defaults !== null && _defaults !== void 0 ? _defaults : defaults.options);
|
||||
normalizedOptions[core_1.kIsNormalizedAlready] = true;
|
||||
if (initHookError) {
|
||||
throw new as_promise_1.RequestError(initHookError.message, initHookError, normalizedOptions);
|
||||
}
|
||||
return iterateHandlers(normalizedOptions);
|
||||
}
|
||||
catch (error) {
|
||||
if (options.isStream) {
|
||||
throw error;
|
||||
}
|
||||
else {
|
||||
return create_rejection_1.default(error, defaults.options.hooks.beforeError, (_b = options.hooks) === null || _b === void 0 ? void 0 : _b.beforeError);
|
||||
}
|
||||
}
|
||||
});
|
||||
got.extend = (...instancesOrOptions) => {
|
||||
const optionsArray = [defaults.options];
|
||||
let handlers = [...defaults._rawHandlers];
|
||||
let isMutableDefaults;
|
||||
for (const value of instancesOrOptions) {
|
||||
if (isGotInstance(value)) {
|
||||
optionsArray.push(value.defaults.options);
|
||||
handlers.push(...value.defaults._rawHandlers);
|
||||
isMutableDefaults = value.defaults.mutableDefaults;
|
||||
}
|
||||
else {
|
||||
optionsArray.push(value);
|
||||
if ('handlers' in value) {
|
||||
handlers.push(...value.handlers);
|
||||
}
|
||||
isMutableDefaults = value.mutableDefaults;
|
||||
}
|
||||
}
|
||||
handlers = handlers.filter(handler => handler !== exports.defaultHandler);
|
||||
if (handlers.length === 0) {
|
||||
handlers.push(exports.defaultHandler);
|
||||
}
|
||||
return create({
|
||||
options: mergeOptions(...optionsArray),
|
||||
handlers,
|
||||
mutableDefaults: Boolean(isMutableDefaults)
|
||||
});
|
||||
};
|
||||
// Pagination
|
||||
const paginateEach = (async function* (url, options) {
|
||||
// TODO: Remove this `@ts-expect-error` when upgrading to TypeScript 4.
|
||||
// Error: Argument of type 'Merge<Options, PaginationOptions<T, R>> | undefined' is not assignable to parameter of type 'Options | undefined'.
|
||||
// @ts-expect-error
|
||||
let normalizedOptions = normalizeArguments(url, options, defaults.options);
|
||||
normalizedOptions.resolveBodyOnly = false;
|
||||
const pagination = normalizedOptions.pagination;
|
||||
if (!is_1.default.object(pagination)) {
|
||||
throw new TypeError('`options.pagination` must be implemented');
|
||||
}
|
||||
const all = [];
|
||||
let { countLimit } = pagination;
|
||||
let numberOfRequests = 0;
|
||||
while (numberOfRequests < pagination.requestLimit) {
|
||||
if (numberOfRequests !== 0) {
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
await delay(pagination.backoff);
|
||||
}
|
||||
// @ts-expect-error FIXME!
|
||||
// TODO: Throw when result is not an instance of Response
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
const result = (await got(undefined, undefined, normalizedOptions));
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
const parsed = await pagination.transform(result);
|
||||
const current = [];
|
||||
for (const item of parsed) {
|
||||
if (pagination.filter(item, all, current)) {
|
||||
if (!pagination.shouldContinue(item, all, current)) {
|
||||
return;
|
||||
}
|
||||
yield item;
|
||||
if (pagination.stackAllItems) {
|
||||
all.push(item);
|
||||
}
|
||||
current.push(item);
|
||||
if (--countLimit <= 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
const optionsToMerge = pagination.paginate(result, all, current);
|
||||
if (optionsToMerge === false) {
|
||||
return;
|
||||
}
|
||||
if (optionsToMerge === result.request.options) {
|
||||
normalizedOptions = result.request.options;
|
||||
}
|
||||
else if (optionsToMerge !== undefined) {
|
||||
normalizedOptions = normalizeArguments(undefined, optionsToMerge, normalizedOptions);
|
||||
}
|
||||
numberOfRequests++;
|
||||
}
|
||||
});
|
||||
got.paginate = paginateEach;
|
||||
got.paginate.all = (async (url, options) => {
|
||||
const results = [];
|
||||
for await (const item of paginateEach(url, options)) {
|
||||
results.push(item);
|
||||
}
|
||||
return results;
|
||||
});
|
||||
// For those who like very descriptive names
|
||||
got.paginate.each = paginateEach;
|
||||
// Stream API
|
||||
got.stream = ((url, options) => got(url, { ...options, isStream: true }));
|
||||
// Shortcuts
|
||||
for (const method of aliases) {
|
||||
got[method] = ((url, options) => got(url, { ...options, method }));
|
||||
got.stream[method] = ((url, options) => {
|
||||
return got(url, { ...options, method, isStream: true });
|
||||
});
|
||||
}
|
||||
Object.assign(got, errors);
|
||||
Object.defineProperty(got, 'defaults', {
|
||||
value: defaults.mutableDefaults ? defaults : deep_freeze_1.default(defaults),
|
||||
writable: defaults.mutableDefaults,
|
||||
configurable: defaults.mutableDefaults,
|
||||
enumerable: true
|
||||
});
|
||||
got.mergeOptions = mergeOptions;
|
||||
return got;
|
||||
};
|
||||
exports.default = create;
|
||||
__exportStar(require("./types"), exports);
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"name": "commander",
|
||||
"version": "5.1.0",
|
||||
"description": "the complete solution for node.js command-line programs",
|
||||
"keywords": [
|
||||
"commander",
|
||||
"command",
|
||||
"option",
|
||||
"parser",
|
||||
"cli",
|
||||
"argument",
|
||||
"args",
|
||||
"argv"
|
||||
],
|
||||
"author": "TJ Holowaychuk <tj@vision-media.ca>",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/tj/commander.js.git"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "eslint index.js \"tests/**/*.js\"",
|
||||
"typescript-lint": "eslint typings/*.ts",
|
||||
"test": "jest && npm run test-typings",
|
||||
"test-typings": "tsc -p tsconfig.json"
|
||||
},
|
||||
"main": "index",
|
||||
"files": [
|
||||
"index.js",
|
||||
"typings/index.d.ts"
|
||||
],
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^25.2.1",
|
||||
"@types/node": "^12.12.36",
|
||||
"@typescript-eslint/eslint-plugin": "^2.29.0",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-config-standard-with-typescript": "^15.0.1",
|
||||
"eslint-plugin-jest": "^23.8.2",
|
||||
"jest": "^25.4.0",
|
||||
"standard": "^14.3.3",
|
||||
"typescript": "^3.7.5"
|
||||
},
|
||||
"typings": "typings/index.d.ts",
|
||||
"engines": {
|
||||
"node": ">= 6"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
function __export(m) {
|
||||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||
}
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__export(require("rxjs-compat/util/isObject"));
|
||||
//# sourceMappingURL=isObject.js.map
|
||||
@@ -0,0 +1,45 @@
|
||||
import { Observable } from '../Observable';
|
||||
import { SchedulerLike } from '../types';
|
||||
import { Subscription } from '../Subscription';
|
||||
import { iterator as Symbol_iterator } from '../symbol/iterator';
|
||||
|
||||
export function scheduleIterable<T>(input: Iterable<T>, scheduler: SchedulerLike) {
|
||||
if (!input) {
|
||||
throw new Error('Iterable cannot be null');
|
||||
}
|
||||
return new Observable<T>(subscriber => {
|
||||
const sub = new Subscription();
|
||||
let iterator: Iterator<T>;
|
||||
sub.add(() => {
|
||||
// Finalize generators
|
||||
if (iterator && typeof iterator.return === 'function') {
|
||||
iterator.return();
|
||||
}
|
||||
});
|
||||
sub.add(scheduler.schedule(() => {
|
||||
iterator = input[Symbol_iterator]();
|
||||
sub.add(scheduler.schedule(function () {
|
||||
if (subscriber.closed) {
|
||||
return;
|
||||
}
|
||||
let value: T;
|
||||
let done: boolean;
|
||||
try {
|
||||
const result = iterator.next();
|
||||
value = result.value;
|
||||
done = result.done;
|
||||
} catch (err) {
|
||||
subscriber.error(err);
|
||||
return;
|
||||
}
|
||||
if (done) {
|
||||
subscriber.complete();
|
||||
} else {
|
||||
subscriber.next(value);
|
||||
this.schedule();
|
||||
}
|
||||
}));
|
||||
}));
|
||||
return sub;
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
function __export(m) {
|
||||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||
}
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__export(require("rxjs-compat/util/isFunction"));
|
||||
//# sourceMappingURL=isFunction.js.map
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0.00394,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0.00394,"79":0,"80":0.00394,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0.00394,"103":0,"104":0,"105":0,"106":0,"107":0.00394,"108":0.13396,"109":0.08668,"110":0.00394,"111":0,"3.5":0,"3.6":0},D:{"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0.00788,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0.00394,"49":0.00394,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0.00394,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0.00394,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0.00394,"76":0,"77":0.0591,"78":0.00394,"79":0.01182,"80":0.00394,"81":0.00394,"83":0.01182,"84":0.0197,"85":0.0197,"86":0.02758,"87":0.02758,"88":0.00394,"89":0.00788,"90":0.03546,"91":0.04334,"92":0,"93":0,"94":0.05122,"95":0.00394,"96":0.00788,"97":0.00394,"98":0.00394,"99":0.00394,"100":0.00788,"101":0.01576,"102":0.01576,"103":0.03152,"104":0.0197,"105":0.01576,"106":0.0197,"107":0.0591,"108":4.8462,"109":4.83044,"110":0.00394,"111":0.00394,"112":0},F:{"9":0,"11":0,"12":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"60":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0.00394,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0.00394,"94":0.05516,"9.5-9.6":0,"10.0-10.1":0,"10.5":0,"10.6":0,"11.1":0,"11.5":0,"11.6":0,"12.1":0},B:{"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0.00394,"79":0,"80":0,"81":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0.00394,"93":0,"94":0,"95":0,"96":0.00394,"97":0,"98":0,"99":0,"100":0.00394,"101":0,"102":0,"103":0.00394,"104":0.00394,"105":0.01182,"106":0.00394,"107":0.02364,"108":1.25292,"109":1.28838},E:{"4":0,"5":0,"6":0,"7":0,"8":0.00394,"9":0,"10":0,"11":0,"12":0,"13":0.00394,"14":0.00788,"15":0.00394,_:"0","3.1":0,"3.2":0,"5.1":0,"6.1":0,"7.1":0,"9.1":0.00788,"10.1":0,"11.1":0,"12.1":0,"13.1":0.00788,"14.1":0.01576,"15.1":0.00394,"15.2-15.3":0.00394,"15.4":0.00788,"15.5":0.02364,"15.6":0.10244,"16.0":0.01576,"16.1":0.07092,"16.2":0.14578,"16.3":0.01182},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0.00233,"8.1-8.4":0.00466,"9.0-9.2":0.21902,"9.3":0.01398,"10.0-10.2":0.00932,"10.3":0.01165,"11.0-11.2":0.02796,"11.3-11.4":0.00932,"12.0-12.1":0.01864,"12.2-12.5":0.11417,"13.0-13.1":0.17941,"13.2":0.00466,"13.3":0.01165,"13.4-13.7":0.04427,"14.0-14.4":0.19805,"14.5-14.8":0.49628,"15.0-15.1":0.21669,"15.2-15.3":0.16543,"15.4":0.24465,"15.5":0.48463,"15.6":1.99212,"16.0":4.04015,"16.1":7.95448,"16.2":5.83189,"16.3":0.46599},P:{"4":0,"5.0-5.4":0,"6.2-6.4":0,"7.2-7.4":0,"8.2":0.01015,"9.2":0,"10.1":0.01015,"11.1-11.2":0.02029,"12.0":0.01015,"13.0":0.03044,"14.0":0.04059,"15.0":0.02029,"16.0":0.09132,"17.0":0.16235,"18.0":0.67985,"19.0":13.67825},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0.33758},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{"6":0,"7":0,"8":0.00426,"9":0.00426,"10":0.00426,"11":0.14482,"5.5":0},J:{"7":0,"10":0},N:{"10":0,"11":0},R:{_:"0"},M:{"0":0.1212},Q:{"13.1":0.00606},O:{"0":0.06666},H:{"0":0.12048},L:{"0":30.77392},S:{"2.5":0}};
|
||||
@@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = isBoolean;
|
||||
|
||||
var _assertString = _interopRequireDefault(require("./util/assertString"));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function isBoolean(str) {
|
||||
(0, _assertString.default)(str);
|
||||
return ['true', 'false', '1', '0'].indexOf(str) >= 0;
|
||||
}
|
||||
|
||||
module.exports = exports.default;
|
||||
module.exports.default = exports.default;
|
||||
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var EmptyError_1 = require("../util/EmptyError");
|
||||
var filter_1 = require("./filter");
|
||||
var takeLast_1 = require("./takeLast");
|
||||
var throwIfEmpty_1 = require("./throwIfEmpty");
|
||||
var defaultIfEmpty_1 = require("./defaultIfEmpty");
|
||||
var identity_1 = require("../util/identity");
|
||||
function last(predicate, defaultValue) {
|
||||
var hasDefaultValue = arguments.length >= 2;
|
||||
return function (source) { return source.pipe(predicate ? filter_1.filter(function (v, i) { return predicate(v, i, source); }) : identity_1.identity, takeLast_1.takeLast(1), hasDefaultValue ? defaultIfEmpty_1.defaultIfEmpty(defaultValue) : throwIfEmpty_1.throwIfEmpty(function () { return new EmptyError_1.EmptyError(); })); };
|
||||
}
|
||||
exports.last = last;
|
||||
//# sourceMappingURL=last.js.map
|
||||
@@ -0,0 +1,95 @@
|
||||
import { Plugin } from 'postcss'
|
||||
import { Stats } from 'browserslist'
|
||||
|
||||
declare function autoprefixer<T extends string[]> (
|
||||
...args: [...T, autoprefixer.Options]
|
||||
): Plugin & autoprefixer.ExportedAPI
|
||||
|
||||
declare function autoprefixer (
|
||||
browsers: string[],
|
||||
options?: autoprefixer.Options
|
||||
): Plugin & autoprefixer.ExportedAPI
|
||||
|
||||
declare function autoprefixer (
|
||||
options?: autoprefixer.Options
|
||||
): Plugin & autoprefixer.ExportedAPI
|
||||
|
||||
declare namespace autoprefixer {
|
||||
type GridValue = 'autoplace' | 'no-autoplace'
|
||||
|
||||
interface Options {
|
||||
/** environment for `Browserslist` */
|
||||
env?: string
|
||||
|
||||
/** should Autoprefixer use Visual Cascade, if CSS is uncompressed */
|
||||
cascade?: boolean
|
||||
|
||||
/** should Autoprefixer add prefixes. */
|
||||
add?: boolean
|
||||
|
||||
/** should Autoprefixer [remove outdated] prefixes */
|
||||
remove?: boolean
|
||||
|
||||
/** should Autoprefixer add prefixes for @supports parameters. */
|
||||
supports?: boolean
|
||||
|
||||
/** should Autoprefixer add prefixes for flexbox properties */
|
||||
flexbox?: boolean | 'no-2009'
|
||||
|
||||
/** should Autoprefixer add IE 10-11 prefixes for Grid Layout properties */
|
||||
grid?: boolean | GridValue
|
||||
|
||||
/** custom usage statistics for > 10% in my stats browsers query */
|
||||
stats?: Stats
|
||||
|
||||
/**
|
||||
* list of queries for target browsers.
|
||||
* Try to not use it.
|
||||
* The best practice is to use `.browserslistrc` config or `browserslist` key in `package.json`
|
||||
* to share target browsers with Babel, ESLint and Stylelint
|
||||
*/
|
||||
overrideBrowserslist?: string | string[]
|
||||
|
||||
/** do not raise error on unknown browser version in `Browserslist` config. */
|
||||
ignoreUnknownVersions?: boolean
|
||||
}
|
||||
|
||||
interface ExportedAPI {
|
||||
/** Autoprefixer data */
|
||||
data: {
|
||||
browsers: { [browser: string]: object | undefined }
|
||||
prefixes: { [prefixName: string]: object | undefined }
|
||||
}
|
||||
|
||||
/** Autoprefixer default browsers */
|
||||
defaults: string[]
|
||||
|
||||
/** Inspect with default Autoprefixer */
|
||||
info(options?: { from?: string }): string
|
||||
|
||||
options: Options
|
||||
|
||||
browsers: string | string[]
|
||||
}
|
||||
|
||||
/** Autoprefixer data */
|
||||
let data: ExportedAPI['data']
|
||||
|
||||
/** Autoprefixer default browsers */
|
||||
let defaults: ExportedAPI['defaults']
|
||||
|
||||
/** Inspect with default Autoprefixer */
|
||||
let info: ExportedAPI['info']
|
||||
|
||||
let postcss: true
|
||||
}
|
||||
|
||||
declare global {
|
||||
namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
AUTOPREFIXER_GRID?: autoprefixer.GridValue
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export = autoprefixer
|
||||
@@ -0,0 +1,141 @@
|
||||
var async = require('./async.js');
|
||||
|
||||
// API
|
||||
module.exports = {
|
||||
iterator: wrapIterator,
|
||||
callback: wrapCallback
|
||||
};
|
||||
|
||||
/**
|
||||
* Wraps iterators with long signature
|
||||
*
|
||||
* @this ReadableAsyncKit#
|
||||
* @param {function} iterator - function to wrap
|
||||
* @returns {function} - wrapped function
|
||||
*/
|
||||
function wrapIterator(iterator)
|
||||
{
|
||||
var stream = this;
|
||||
|
||||
return function(item, key, cb)
|
||||
{
|
||||
var aborter
|
||||
, wrappedCb = async(wrapIteratorCallback.call(stream, cb, key))
|
||||
;
|
||||
|
||||
stream.jobs[key] = wrappedCb;
|
||||
|
||||
// it's either shortcut (item, cb)
|
||||
if (iterator.length == 2)
|
||||
{
|
||||
aborter = iterator(item, wrappedCb);
|
||||
}
|
||||
// or long format (item, key, cb)
|
||||
else
|
||||
{
|
||||
aborter = iterator(item, key, wrappedCb);
|
||||
}
|
||||
|
||||
return aborter;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Wraps provided callback function
|
||||
* allowing to execute snitch function before
|
||||
* real callback
|
||||
*
|
||||
* @this ReadableAsyncKit#
|
||||
* @param {function} callback - function to wrap
|
||||
* @returns {function} - wrapped function
|
||||
*/
|
||||
function wrapCallback(callback)
|
||||
{
|
||||
var stream = this;
|
||||
|
||||
var wrapped = function(error, result)
|
||||
{
|
||||
return finisher.call(stream, error, result, callback);
|
||||
};
|
||||
|
||||
return wrapped;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wraps provided iterator callback function
|
||||
* makes sure snitch only called once,
|
||||
* but passes secondary calls to the original callback
|
||||
*
|
||||
* @this ReadableAsyncKit#
|
||||
* @param {function} callback - callback to wrap
|
||||
* @param {number|string} key - iteration key
|
||||
* @returns {function} wrapped callback
|
||||
*/
|
||||
function wrapIteratorCallback(callback, key)
|
||||
{
|
||||
var stream = this;
|
||||
|
||||
return function(error, output)
|
||||
{
|
||||
// don't repeat yourself
|
||||
if (!(key in stream.jobs))
|
||||
{
|
||||
callback(error, output);
|
||||
return;
|
||||
}
|
||||
|
||||
// clean up jobs
|
||||
delete stream.jobs[key];
|
||||
|
||||
return streamer.call(stream, error, {key: key, value: output}, callback);
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Stream wrapper for iterator callback
|
||||
*
|
||||
* @this ReadableAsyncKit#
|
||||
* @param {mixed} error - error response
|
||||
* @param {mixed} output - iterator output
|
||||
* @param {function} callback - callback that expects iterator results
|
||||
*/
|
||||
function streamer(error, output, callback)
|
||||
{
|
||||
if (error && !this.error)
|
||||
{
|
||||
this.error = error;
|
||||
this.pause();
|
||||
this.emit('error', error);
|
||||
// send back value only, as expected
|
||||
callback(error, output && output.value);
|
||||
return;
|
||||
}
|
||||
|
||||
// stream stuff
|
||||
this.push(output);
|
||||
|
||||
// back to original track
|
||||
// send back value only, as expected
|
||||
callback(error, output && output.value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Stream wrapper for finishing callback
|
||||
*
|
||||
* @this ReadableAsyncKit#
|
||||
* @param {mixed} error - error response
|
||||
* @param {mixed} output - iterator output
|
||||
* @param {function} callback - callback that expects final results
|
||||
*/
|
||||
function finisher(error, output, callback)
|
||||
{
|
||||
// signal end of the stream
|
||||
// only for successfully finished streams
|
||||
if (!error)
|
||||
{
|
||||
this.push(null);
|
||||
}
|
||||
|
||||
// back to original track
|
||||
callback(error, output);
|
||||
}
|
||||
@@ -0,0 +1,123 @@
|
||||
import { Observable } from '../Observable';
|
||||
import { Operator } from '../Operator';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { EmptyError } from '../util/EmptyError';
|
||||
|
||||
import { Observer, MonoTypeOperatorFunction, TeardownLogic } from '../types';
|
||||
|
||||
/**
|
||||
* Returns an Observable that emits the single item emitted by the source Observable that matches a specified
|
||||
* predicate, if that Observable emits one such item. If the source Observable emits more than one such item or no
|
||||
* items, notify of an IllegalArgumentException or NoSuchElementException respectively. If the source Observable
|
||||
* emits items but none match the specified predicate then `undefined` is emitted.
|
||||
*
|
||||
* <span class="informal">Like {@link first}, but emit with error notification if there is more than one value.</span>
|
||||
* 
|
||||
*
|
||||
* ## Example
|
||||
* emits 'error'
|
||||
* ```ts
|
||||
* import { range } from 'rxjs';
|
||||
* import { single } from 'rxjs/operators';
|
||||
*
|
||||
* const numbers = range(1,5).pipe(single());
|
||||
* numbers.subscribe(x => console.log('never get called'), e => console.log('error'));
|
||||
* // result
|
||||
* // 'error'
|
||||
* ```
|
||||
*
|
||||
* emits 'undefined'
|
||||
* ```ts
|
||||
* import { range } from 'rxjs';
|
||||
* import { single } from 'rxjs/operators';
|
||||
*
|
||||
* const numbers = range(1,5).pipe(single(x => x === 10));
|
||||
* numbers.subscribe(x => console.log(x));
|
||||
* // result
|
||||
* // 'undefined'
|
||||
* ```
|
||||
*
|
||||
* @see {@link first}
|
||||
* @see {@link find}
|
||||
* @see {@link findIndex}
|
||||
* @see {@link elementAt}
|
||||
*
|
||||
* @throws {EmptyError} Delivers an EmptyError to the Observer's `error`
|
||||
* callback if the Observable completes before any `next` notification was sent.
|
||||
* @param {Function} predicate - A predicate function to evaluate items emitted by the source Observable.
|
||||
* @return {Observable<T>} An Observable that emits the single item emitted by the source Observable that matches
|
||||
* the predicate or `undefined` when no items match.
|
||||
*
|
||||
* @method single
|
||||
* @owner Observable
|
||||
*/
|
||||
export function single<T>(predicate?: (value: T, index: number, source: Observable<T>) => boolean): MonoTypeOperatorFunction<T> {
|
||||
return (source: Observable<T>) => source.lift(new SingleOperator(predicate, source));
|
||||
}
|
||||
|
||||
class SingleOperator<T> implements Operator<T, T> {
|
||||
constructor(private predicate?: (value: T, index: number, source: Observable<T>) => boolean,
|
||||
private source?: Observable<T>) {
|
||||
}
|
||||
|
||||
call(subscriber: Subscriber<T>, source: any): TeardownLogic {
|
||||
return source.subscribe(new SingleSubscriber(subscriber, this.predicate, this.source));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* We need this JSDoc comment for affecting ESDoc.
|
||||
* @ignore
|
||||
* @extends {Ignored}
|
||||
*/
|
||||
class SingleSubscriber<T> extends Subscriber<T> {
|
||||
private seenValue: boolean = false;
|
||||
private singleValue: T;
|
||||
private index: number = 0;
|
||||
|
||||
constructor(destination: Observer<T>,
|
||||
private predicate?: (value: T, index: number, source: Observable<T>) => boolean,
|
||||
private source?: Observable<T>) {
|
||||
super(destination);
|
||||
}
|
||||
|
||||
private applySingleValue(value: T): void {
|
||||
if (this.seenValue) {
|
||||
this.destination.error('Sequence contains more than one element');
|
||||
} else {
|
||||
this.seenValue = true;
|
||||
this.singleValue = value;
|
||||
}
|
||||
}
|
||||
|
||||
protected _next(value: T): void {
|
||||
const index = this.index++;
|
||||
|
||||
if (this.predicate) {
|
||||
this.tryNext(value, index);
|
||||
} else {
|
||||
this.applySingleValue(value);
|
||||
}
|
||||
}
|
||||
|
||||
private tryNext(value: T, index: number): void {
|
||||
try {
|
||||
if (this.predicate(value, index, this.source)) {
|
||||
this.applySingleValue(value);
|
||||
}
|
||||
} catch (err) {
|
||||
this.destination.error(err);
|
||||
}
|
||||
}
|
||||
|
||||
protected _complete(): void {
|
||||
const destination = this.destination;
|
||||
|
||||
if (this.index > 0) {
|
||||
destination.next(this.seenValue ? this.singleValue : undefined);
|
||||
destination.complete();
|
||||
} else {
|
||||
destination.error(new EmptyError);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
/** PURE_IMPORTS_START _Observable,_from,_empty PURE_IMPORTS_END */
|
||||
import { Observable } from '../Observable';
|
||||
import { from } from './from';
|
||||
import { empty } from './empty';
|
||||
export function defer(observableFactory) {
|
||||
return new Observable(function (subscriber) {
|
||||
var input;
|
||||
try {
|
||||
input = observableFactory();
|
||||
}
|
||||
catch (err) {
|
||||
subscriber.error(err);
|
||||
return undefined;
|
||||
}
|
||||
var source = input ? from(input) : empty();
|
||||
return source.subscribe(subscriber);
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=defer.js.map
|
||||
@@ -0,0 +1,13 @@
|
||||
/** PURE_IMPORTS_START _defer,_empty PURE_IMPORTS_END */
|
||||
import { defer } from './defer';
|
||||
import { EMPTY } from './empty';
|
||||
export function iif(condition, trueResult, falseResult) {
|
||||
if (trueResult === void 0) {
|
||||
trueResult = EMPTY;
|
||||
}
|
||||
if (falseResult === void 0) {
|
||||
falseResult = EMPTY;
|
||||
}
|
||||
return defer(function () { return condition() ? trueResult : falseResult; });
|
||||
}
|
||||
//# sourceMappingURL=iif.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"interval.js","sources":["../../src/add/observable/interval.ts"],"names":[],"mappings":";;AAAA,+CAA6C"}
|
||||
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"name": "query-string",
|
||||
"version": "6.14.1",
|
||||
"description": "Parse and stringify URL query strings",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/query-string",
|
||||
"funding": "https://github.com/sponsors/sindresorhus",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "https://sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
},
|
||||
"scripts": {
|
||||
"benchmark": "node benchmark.js",
|
||||
"test": "xo && ava && tsd"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"keywords": [
|
||||
"browser",
|
||||
"querystring",
|
||||
"query",
|
||||
"string",
|
||||
"qs",
|
||||
"param",
|
||||
"parameter",
|
||||
"url",
|
||||
"parse",
|
||||
"stringify",
|
||||
"encode",
|
||||
"decode",
|
||||
"searchparams",
|
||||
"filter"
|
||||
],
|
||||
"dependencies": {
|
||||
"decode-uri-component": "^0.2.0",
|
||||
"filter-obj": "^1.1.0",
|
||||
"split-on-first": "^1.0.0",
|
||||
"strict-uri-encode": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"ava": "^1.4.1",
|
||||
"benchmark": "^2.1.4",
|
||||
"deep-equal": "^1.0.1",
|
||||
"fast-check": "^1.5.0",
|
||||
"tsd": "^0.7.3",
|
||||
"xo": "^0.24.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
|
||||
import { Observable } from '../Observable';
|
||||
import { async } from '../scheduler/async';
|
||||
import { SchedulerLike, OperatorFunction } from '../types';
|
||||
import { scan } from './scan';
|
||||
import { defer } from '../observable/defer';
|
||||
import { map } from './map';
|
||||
|
||||
/**
|
||||
*
|
||||
* Emits an object containing the current value, and the time that has
|
||||
* passed between emitting the current value and the previous value, which is
|
||||
* calculated by using the provided `scheduler`'s `now()` method to retrieve
|
||||
* the current time at each emission, then calculating the difference. The `scheduler`
|
||||
* defaults to {@link asyncScheduler}, so by default, the `interval` will be in
|
||||
* milliseconds.
|
||||
*
|
||||
* <span class="informal">Convert an Observable that emits items into one that
|
||||
* emits indications of the amount of time elapsed between those emissions.</span>
|
||||
*
|
||||
* 
|
||||
*
|
||||
* ## Examples
|
||||
* Emit inteval between current value with the last value
|
||||
*
|
||||
* ```ts
|
||||
* const seconds = interval(1000);
|
||||
*
|
||||
* seconds.pipe(timeInterval())
|
||||
* .subscribe(
|
||||
* value => console.log(value),
|
||||
* err => console.log(err),
|
||||
* );
|
||||
*
|
||||
* seconds.pipe(timeout(900))
|
||||
* .subscribe(
|
||||
* value => console.log(value),
|
||||
* err => console.log(err),
|
||||
* );
|
||||
*
|
||||
* // NOTE: The values will never be this precise,
|
||||
* // intervals created with `interval` or `setInterval`
|
||||
* // are non-deterministic.
|
||||
*
|
||||
* // {value: 0, interval: 1000}
|
||||
* // {value: 1, interval: 1000}
|
||||
* // {value: 2, interval: 1000}
|
||||
* ```
|
||||
*
|
||||
* @param {SchedulerLike} [scheduler] Scheduler used to get the current time.
|
||||
* @return {Observable<{ interval: number, value: T }>} Observable that emit infomation about value and interval
|
||||
* @method timeInterval
|
||||
*/
|
||||
export function timeInterval<T>(scheduler: SchedulerLike = async): OperatorFunction<T, TimeInterval<T>> {
|
||||
return (source: Observable<T>) => defer(() => {
|
||||
return source.pipe(
|
||||
// TODO(benlesh): correct these typings.
|
||||
scan(
|
||||
({ current }, value) => ({ value, current: scheduler.now(), last: current }),
|
||||
{ current: scheduler.now(), value: undefined, last: undefined }
|
||||
) as any,
|
||||
map<any, TimeInterval<T>>(({ current, last, value }) => new TimeInterval(value, current - last)),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
// TODO(benlesh): make this an interface, export the interface, but not the implemented class,
|
||||
// there's no reason users should be manually creating this type.
|
||||
|
||||
/**
|
||||
* @deprecated exposed API, use as interface only.
|
||||
*/
|
||||
export class TimeInterval<T> {
|
||||
constructor(public value: T, public interval: number) {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={C:{_:"2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 3.5 3.6"},D:{"107":0.0906,"108":0.0906,"109":0.44474,_:"4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 110 111 112"},F:{_:"9 11 12 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 60 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 9.5-9.6 10.5 10.6 11.1 11.5 11.6 12.1","10.0-10.1":0},B:{"108":0.0906,_:"12 13 14 15 16 17 18 79 80 81 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 109"},E:{"4":0,_:"0 5 6 7 8 9 10 11 12 13 14 15 3.1 3.2 5.1 6.1 7.1 9.1 10.1 11.1 12.1 13.1 14.1 15.4 15.5 15.6 16.0 16.3","15.1":43.20606,"15.2-15.3":27.33528,"16.1":0.88125,"16.2":0.44474},G:{"8":0,"3.2":0,"4.0-4.1":0,"4.2-4.3":0,"5.0-5.1":0,"6.0-6.1":0,"7.0-7.1":0,"8.1-8.4":0,"9.0-9.2":0,"9.3":0,"10.0-10.2":0,"10.3":0,"11.0-11.2":0,"11.3-11.4":0,"12.0-12.1":0,"12.2-12.5":0,"13.0-13.1":0,"13.2":0,"13.3":0,"13.4-13.7":0,"14.0-14.4":0,"14.5-14.8":0,"15.0-15.1":2.02478,"15.2-15.3":4.22579,"15.4":0,"15.5":0.08748,"15.6":0.08748,"16.0":0.26372,"16.1":4.40202,"16.2":1.23236,"16.3":0.35247},P:{"4":1.00127,"5.0-5.4":0.01022,"6.2-6.4":0,"7.2-7.4":0.04087,"8.2":0,"9.2":0.02043,"10.1":0,"11.1-11.2":0,"12.0":0,"13.0":0.09117,"14.0":0,"15.0":0.01022,"16.0":0,"17.0":0.03065,"18.0":0.02043,"19.0":0.26339},I:{"0":0,"3":0,"4":0,"2.1":0,"2.2":0,"2.3":0,"4.1":0,"4.2-4.3":0,"4.4":0,"4.4.3-4.4.4":0},K:{_:"0 10 11 12 11.1 11.5 12.1"},A:{_:"6 7 8 9 10 11 5.5"},J:{"7":0,"10":0},N:{"10":0,"11":0},S:{"2.5":0},R:{_:"0"},M:{"0":0},Q:{"13.1":0},O:{"0":0},H:{"0":0},L:{"0":4.60933}};
|
||||
@@ -0,0 +1,4 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
require("rxjs-compat/add/operator/partition");
|
||||
//# sourceMappingURL=partition.js.map
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
function __export(m) {
|
||||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
||||
}
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__export(require("rxjs-compat/observable/PairsObservable"));
|
||||
//# sourceMappingURL=PairsObservable.js.map
|
||||
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"2":"J E F G A B BC"},B:{"2":"C K L H M N","194":"O P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t"},C:{"1":"fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB","2":"0 1 2 3 4 5 6 7 8 9 CC tB I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB DC EC","66":"VB WB XB YB uB ZB vB aB bB cB","260":"dB","516":"eB"},D:{"1":"iB jB kB e lB mB nB oB pB P Q R S T U V W X Y Z a b c d f g h i j k l m n o p q r s D t xB yB FC","2":"0 1 2 3 4 5 6 7 8 9 I u J E F G A B C K L H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB uB ZB vB aB bB cB dB eB","66":"fB gB hB"},E:{"2":"I u J E F G A B C K L H GC zB HC IC JC KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC"},F:{"1":"XB YB ZB aB bB cB dB eB fB gB hB iB jB kB e lB mB nB oB pB P Q R wB S T U V W X Y Z a b c d","2":"0 1 2 3 4 5 6 7 8 9 G B C H M N O v w x y z AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB OC PC QC RC qB 9B SC rB"},G:{"2":"F zB TC AC UC VC WC XC YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B"},H:{"2":"nC"},I:{"1":"D","2":"tB I oC pC qC rC AC sC tC"},J:{"2":"E A"},K:{"1":"e","2":"A B C qB 9B rB"},L:{"1":"D"},M:{"1090":"D"},N:{"2":"A B"},O:{"1":"uC"},P:{"1":"1C 2C 3C 4C sB 5C 6C 7C","2":"I vC wC xC yC zC 0B 0C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"2":"9C"}},B:6,C:"AV1 video format"};
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"hostReportError.js","sources":["../../../src/internal/util/hostReportError.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,eAAe,CAAC,GAAQ;IACtC,UAAU,CAAC,cAAQ,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACtC,CAAC"}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"name": "lowercase-keys",
|
||||
"version": "2.0.0",
|
||||
"description": "Lowercase the keys of an object",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/lowercase-keys",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava && tsd"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"keywords": [
|
||||
"object",
|
||||
"assign",
|
||||
"extend",
|
||||
"properties",
|
||||
"lowercase",
|
||||
"lower-case",
|
||||
"case",
|
||||
"keys",
|
||||
"key"
|
||||
],
|
||||
"devDependencies": {
|
||||
"ava": "^1.4.1",
|
||||
"tsd": "^0.7.2",
|
||||
"xo": "^0.24.0"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"name": "asynckit",
|
||||
"version": "0.4.0",
|
||||
"description": "Minimal async jobs utility library, with streams support",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"clean": "rimraf coverage",
|
||||
"lint": "eslint *.js lib/*.js test/*.js",
|
||||
"test": "istanbul cover --reporter=json tape -- 'test/test-*.js' | tap-spec",
|
||||
"win-test": "tape test/test-*.js",
|
||||
"browser": "browserify -t browserify-istanbul test/lib/browserify_adjustment.js test/test-*.js | obake --coverage | tap-spec",
|
||||
"report": "istanbul report",
|
||||
"size": "browserify index.js | size-table asynckit",
|
||||
"debug": "tape test/test-*.js"
|
||||
},
|
||||
"pre-commit": [
|
||||
"clean",
|
||||
"lint",
|
||||
"test",
|
||||
"browser",
|
||||
"report",
|
||||
"size"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/alexindigo/asynckit.git"
|
||||
},
|
||||
"keywords": [
|
||||
"async",
|
||||
"jobs",
|
||||
"parallel",
|
||||
"serial",
|
||||
"iterator",
|
||||
"array",
|
||||
"object",
|
||||
"stream",
|
||||
"destroy",
|
||||
"terminate",
|
||||
"abort"
|
||||
],
|
||||
"author": "Alex Indigo <iam@alexindigo.com>",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/alexindigo/asynckit/issues"
|
||||
},
|
||||
"homepage": "https://github.com/alexindigo/asynckit#readme",
|
||||
"devDependencies": {
|
||||
"browserify": "^13.0.0",
|
||||
"browserify-istanbul": "^2.0.0",
|
||||
"coveralls": "^2.11.9",
|
||||
"eslint": "^2.9.0",
|
||||
"istanbul": "^0.4.3",
|
||||
"obake": "^0.1.2",
|
||||
"phantomjs-prebuilt": "^2.1.7",
|
||||
"pre-commit": "^1.1.3",
|
||||
"reamde": "^1.1.0",
|
||||
"rimraf": "^2.5.2",
|
||||
"size-table": "^0.2.0",
|
||||
"tap-spec": "^4.1.1",
|
||||
"tape": "^4.5.1"
|
||||
},
|
||||
"dependencies": {}
|
||||
}
|
||||
Reference in New Issue
Block a user