new license file version [CI SKIP]
This commit is contained in:
@@ -0,0 +1 @@
|
||||
module.exports={A:{A:{"1":"A B","2":"J E F G BC"},B:{"1":"C K L H M N 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":"0 1 2 3 4 5 6 7 8 9 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 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":"CC tB I u J E F G A B C K L DC EC"},D:{"1":"0 1 2 3 4 5 6 7 8 9 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 fB gB hB 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":"I u J E F G A B C K L H M N O v","33":"w x y z"},E:{"1":"F G A B C K L H KC 0B qB rB 1B LC MC 2B 3B 4B 5B sB 6B 7B 8B NC","2":"I u J E GC zB HC IC JC"},F:{"1":"0 1 2 3 4 5 6 7 8 9 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 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":"G B C OC PC QC RC qB 9B SC rB"},G:{"1":"F YC ZC aC bC cC dC eC fC gC hC iC jC kC lC mC 2B 3B 4B 5B sB 6B 7B 8B","2":"zB TC AC UC VC WC XC"},H:{"2":"nC"},I:{"1":"D sC tC","2":"tB I oC pC qC rC AC"},J:{"1":"A","2":"E"},K:{"1":"e","2":"A B C qB 9B rB"},L:{"1":"D"},M:{"1":"D"},N:{"1":"A B"},O:{"1":"uC"},P:{"1":"I vC wC xC yC zC 0B 0C 1C 2C 3C 4C sB 5C 6C 7C"},Q:{"1":"1B"},R:{"1":"8C"},S:{"1":"9C"}},B:2,C:"High Resolution Time API"};
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../migrations/update-6_0_0/index.ts"],"names":[],"mappings":";;AAAA,yDAAwG;AACxG,0DAA0E;AAE1E,IAAM,iBAAiB,GAAG,aAAa,CAAC;AAExC,SAAgB,wBAAwB,CAAC,QAAa;IACpD,OAAO,UAAC,IAAU,EAAE,OAAyB;QACzC,IAAM,OAAO,GAAG,eAAe,CAAC;QAChC,IAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClC,IAAI,MAAM,IAAI,IAAI,EAAE;YAClB,MAAM,IAAI,gCAAmB,CAAC,6BAA6B,CAAC,CAAC;SAC9D;QACD,IAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;QAClC,IAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAEhC,IAAI,GAAG,KAAK,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACjE,MAAM,IAAI,gCAAmB,CAAC,4BAA4B,CAAC,CAAC;SAC7D;QAED,IAAI,CAAC,GAAG,CAAC,YAAY,EAAE;YACrB,GAAG,CAAC,YAAY,GAAG,EAAE,CAAC;SACvB;QAED,GAAG,CAAC,YAAY,CAAC,aAAa,CAAC,GAAG,iBAAiB,CAAC;QAEpD,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QACtD,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;QAE9C,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC;AACJ,CAAC;AAzBD,4DAyBC"}
|
||||
@@ -0,0 +1,58 @@
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError';
|
||||
import { empty } from '../observable/empty';
|
||||
export function takeLast(count) {
|
||||
return function takeLastOperatorFunction(source) {
|
||||
if (count === 0) {
|
||||
return empty();
|
||||
}
|
||||
else {
|
||||
return source.lift(new TakeLastOperator(count));
|
||||
}
|
||||
};
|
||||
}
|
||||
class TakeLastOperator {
|
||||
constructor(total) {
|
||||
this.total = total;
|
||||
if (this.total < 0) {
|
||||
throw new ArgumentOutOfRangeError;
|
||||
}
|
||||
}
|
||||
call(subscriber, source) {
|
||||
return source.subscribe(new TakeLastSubscriber(subscriber, this.total));
|
||||
}
|
||||
}
|
||||
class TakeLastSubscriber extends Subscriber {
|
||||
constructor(destination, total) {
|
||||
super(destination);
|
||||
this.total = total;
|
||||
this.ring = new Array();
|
||||
this.count = 0;
|
||||
}
|
||||
_next(value) {
|
||||
const ring = this.ring;
|
||||
const total = this.total;
|
||||
const count = this.count++;
|
||||
if (ring.length < total) {
|
||||
ring.push(value);
|
||||
}
|
||||
else {
|
||||
const index = count % total;
|
||||
ring[index] = value;
|
||||
}
|
||||
}
|
||||
_complete() {
|
||||
const destination = this.destination;
|
||||
let count = this.count;
|
||||
if (count > 0) {
|
||||
const total = this.count >= this.total ? this.total : this.count;
|
||||
const ring = this.ring;
|
||||
for (let i = 0; i < total; i++) {
|
||||
const idx = (count++) % total;
|
||||
destination.next(ring[idx]);
|
||||
}
|
||||
}
|
||||
destination.complete();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=takeLast.js.map
|
||||
@@ -0,0 +1 @@
|
||||
//# sourceMappingURL=TestMessage.js.map
|
||||
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Kevin Martensson <kevinmartensson@gmail.com> (github.com/kevva)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
@@ -0,0 +1 @@
|
||||
import 'rxjs-compat/add/operator/findIndex';
|
||||
@@ -0,0 +1,49 @@
|
||||
import { Operator } from '../Operator';
|
||||
import { Subscriber } from '../Subscriber';
|
||||
import { OperatorFunction } from '../types';
|
||||
/**
|
||||
* Applies a given `project` function to each value emitted by the source
|
||||
* Observable, and emits the resulting values as an Observable.
|
||||
*
|
||||
* <span class="informal">Like [Array.prototype.map()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map),
|
||||
* it passes each source value through a transformation function to get
|
||||
* corresponding output values.</span>
|
||||
*
|
||||
* 
|
||||
*
|
||||
* Similar to the well known `Array.prototype.map` function, this operator
|
||||
* applies a projection to each value and emits that projection in the output
|
||||
* Observable.
|
||||
*
|
||||
* ## Example
|
||||
* Map every click to the clientX position of that click
|
||||
* ```ts
|
||||
* import { fromEvent } from 'rxjs';
|
||||
* import { map } from 'rxjs/operators';
|
||||
*
|
||||
* const clicks = fromEvent(document, 'click');
|
||||
* const positions = clicks.pipe(map(ev => ev.clientX));
|
||||
* positions.subscribe(x => console.log(x));
|
||||
* ```
|
||||
*
|
||||
* @see {@link mapTo}
|
||||
* @see {@link pluck}
|
||||
*
|
||||
* @param {function(value: T, index: number): R} project The function to apply
|
||||
* to each `value` emitted by the source Observable. The `index` parameter is
|
||||
* the number `i` for the i-th emission that has happened since the
|
||||
* subscription, starting from the number `0`.
|
||||
* @param {any} [thisArg] An optional argument to define what `this` is in the
|
||||
* `project` function.
|
||||
* @return {Observable<R>} An Observable that emits the values from the source
|
||||
* Observable transformed by the given `project` function.
|
||||
* @method map
|
||||
* @owner Observable
|
||||
*/
|
||||
export declare function map<T, R>(project: (value: T, index: number) => R, thisArg?: any): OperatorFunction<T, R>;
|
||||
export declare class MapOperator<T, R> implements Operator<T, R> {
|
||||
private project;
|
||||
private thisArg;
|
||||
constructor(project: (value: T, index: number) => R, thisArg: any);
|
||||
call(subscriber: Subscriber<R>, source: any): any;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"of.js","sources":["../../../src/internal/observable/of.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAiG3D,MAAM,UAAU,EAAE,CAAI,GAAG,IAA8B;IACrD,IAAI,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,CAAkB,CAAC;IACvD,IAAI,WAAW,CAAC,SAAS,CAAC,EAAE;QAC1B,IAAI,CAAC,GAAG,EAAE,CAAC;QACX,OAAO,aAAa,CAAC,IAAW,EAAE,SAAS,CAAC,CAAC;KAC9C;SAAM;QACL,OAAO,SAAS,CAAC,IAAW,CAAC,CAAC;KAC/B;AACH,CAAC"}
|
||||
@@ -0,0 +1,66 @@
|
||||
// by jussi-kalliokoski
|
||||
|
||||
|
||||
// This test is asynchronous. Watch out.
|
||||
|
||||
// The test will potentially add garbage to console.
|
||||
|
||||
(function(){
|
||||
try {
|
||||
// we're avoiding using Modernizr._domPrefixes as the prefix capitalization on
|
||||
// these guys are notoriously peculiar.
|
||||
var BlobBuilder = window.MozBlobBuilder || window.WebKitBlobBuilder || window.MSBlobBuilder || window.OBlobBuilder || window.BlobBuilder;
|
||||
var URL = window.MozURL || window.webkitURL || window.MSURL || window.OURL || window.URL;
|
||||
var data = 'Modernizr',
|
||||
blob,
|
||||
bb,
|
||||
worker,
|
||||
url,
|
||||
timeout,
|
||||
scriptText = 'this.onmessage=function(e){postMessage(e.data)}';
|
||||
|
||||
try {
|
||||
blob = new Blob([scriptText], {type:'text/javascript'});
|
||||
} catch(e) {
|
||||
// we'll fall back to the deprecated BlobBuilder
|
||||
}
|
||||
if (!blob) {
|
||||
bb = new BlobBuilder();
|
||||
bb.append(scriptText);
|
||||
blob = bb.getBlob();
|
||||
}
|
||||
|
||||
url = URL.createObjectURL(blob);
|
||||
worker = new Worker(url);
|
||||
|
||||
worker.onmessage = function(e) {
|
||||
Modernizr.addTest('blobworkers', data === e.data);
|
||||
cleanup();
|
||||
};
|
||||
|
||||
// Just in case...
|
||||
worker.onerror = fail;
|
||||
timeout = setTimeout(fail, 200);
|
||||
|
||||
worker.postMessage(data);
|
||||
} catch (e) {
|
||||
fail();
|
||||
}
|
||||
|
||||
function fail() {
|
||||
Modernizr.addTest('blobworkers', false);
|
||||
cleanup();
|
||||
}
|
||||
|
||||
function cleanup() {
|
||||
if (url) {
|
||||
URL.revokeObjectURL(url);
|
||||
}
|
||||
if (worker) {
|
||||
worker.terminate();
|
||||
}
|
||||
if (timeout) {
|
||||
clearTimeout(timeout);
|
||||
}
|
||||
}
|
||||
}());
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"scan.js","sources":["../../../src/internal/operators/scan.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAoD3C,MAAM,UAAU,IAAI,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,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;YAClB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SAC9B;aAAM;YACL,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;SAC7B;IACH,CAAC;IAEO,QAAQ,CAAC,KAAQ;QACvB,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;QAC3B,IAAI,MAAW,CAAC;QAChB,IAAI;YACF,MAAM,GAAG,IAAI,CAAC,WAAW,CAAI,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;SACvD;QAAC,OAAO,GAAG,EAAE;YACZ,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;SAC7B;QACD,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC;QACnB,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;CACF"}
|
||||
@@ -0,0 +1,144 @@
|
||||
{
|
||||
"name": "svelte",
|
||||
"version": "3.37.0",
|
||||
"description": "Cybernetically enhanced web apps",
|
||||
"module": "index.mjs",
|
||||
"main": "index",
|
||||
"files": [
|
||||
"types",
|
||||
"compiler.*",
|
||||
"register.js",
|
||||
"index.*",
|
||||
"internal",
|
||||
"store",
|
||||
"animate",
|
||||
"transition",
|
||||
"easing",
|
||||
"motion",
|
||||
"svelte",
|
||||
"README.md"
|
||||
],
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"import": "./index.mjs",
|
||||
"require": "./index.js"
|
||||
},
|
||||
"./compiler": {
|
||||
"import": "./compiler.mjs",
|
||||
"require": "./compiler.js"
|
||||
},
|
||||
"./animate": {
|
||||
"import": "./animate/index.mjs",
|
||||
"require": "./animate/index.js"
|
||||
},
|
||||
"./easing": {
|
||||
"import": "./easing/index.mjs",
|
||||
"require": "./easing/index.js"
|
||||
},
|
||||
"./internal": {
|
||||
"import": "./internal/index.mjs",
|
||||
"require": "./internal/index.js"
|
||||
},
|
||||
"./motion": {
|
||||
"import": "./motion/index.mjs",
|
||||
"require": "./motion/index.js"
|
||||
},
|
||||
"./register": {
|
||||
"require": "./register.js"
|
||||
},
|
||||
"./store": {
|
||||
"import": "./store/index.mjs",
|
||||
"require": "./store/index.js"
|
||||
},
|
||||
"./transition": {
|
||||
"import": "./transition/index.mjs",
|
||||
"require": "./transition/index.js"
|
||||
}
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 8"
|
||||
},
|
||||
"types": "types/runtime/index.d.ts",
|
||||
"scripts": {
|
||||
"test": "mocha",
|
||||
"test:unit": "mocha --require sucrase/register --recursive src/**/__test__.ts",
|
||||
"quicktest": "mocha",
|
||||
"precoverage": "c8 mocha",
|
||||
"coverage": "c8 report --reporter=text-lcov > coverage.lcov && c8 report --reporter=html",
|
||||
"codecov": "codecov",
|
||||
"precodecov": "npm run coverage",
|
||||
"build": "rollup -c && npm run tsd",
|
||||
"prepare": "npm run build",
|
||||
"dev": "rollup -cw",
|
||||
"pretest": "npm run build",
|
||||
"posttest": "agadoo internal/index.mjs",
|
||||
"prepublishOnly": "node check_publish_env.js && npm run lint && npm test",
|
||||
"tsd": "tsc -p src/compiler --emitDeclarationOnly && tsc -p src/runtime --emitDeclarationOnly",
|
||||
"lint": "eslint \"{src,test}/**/*.{ts,js}\""
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sveltejs/svelte.git"
|
||||
},
|
||||
"keywords": [
|
||||
"UI",
|
||||
"framework",
|
||||
"templates",
|
||||
"templating"
|
||||
],
|
||||
"author": "Rich Harris",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/sveltejs/svelte/issues"
|
||||
},
|
||||
"homepage": "https://github.com/sveltejs/svelte#README",
|
||||
"devDependencies": {
|
||||
"@ampproject/remapping": "^0.3.0",
|
||||
"@rollup/plugin-commonjs": "^11.0.0",
|
||||
"@rollup/plugin-json": "^4.0.1",
|
||||
"@rollup/plugin-node-resolve": "^6.0.0",
|
||||
"@rollup/plugin-replace": "^2.3.0",
|
||||
"@rollup/plugin-sucrase": "^3.1.0",
|
||||
"@rollup/plugin-typescript": "^2.0.1",
|
||||
"@rollup/plugin-virtual": "^2.0.0",
|
||||
"@sveltejs/eslint-config": "github:sveltejs/eslint-config#v5.6.0",
|
||||
"@types/mocha": "^7.0.0",
|
||||
"@types/node": "^8.10.53",
|
||||
"@typescript-eslint/eslint-plugin": "^4.9.0",
|
||||
"@typescript-eslint/parser": "^4.9.0",
|
||||
"acorn": "^7.4.0",
|
||||
"agadoo": "^1.1.0",
|
||||
"c8": "^5.0.1",
|
||||
"code-red": "^0.1.4",
|
||||
"codecov": "^3.5.0",
|
||||
"css-tree": "^1.1.2",
|
||||
"eslint": "^7.15.0",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-svelte3": "^2.7.3",
|
||||
"estree-walker": "^1.0.0",
|
||||
"is-reference": "^1.1.4",
|
||||
"jsdom": "^15.1.1",
|
||||
"kleur": "^3.0.3",
|
||||
"locate-character": "^2.0.5",
|
||||
"magic-string": "^0.25.3",
|
||||
"mocha": "^7.0.0",
|
||||
"periscopic": "^2.0.1",
|
||||
"puppeteer": "^2.1.1",
|
||||
"rollup": "^1.27.14",
|
||||
"source-map": "^0.7.3",
|
||||
"source-map-support": "^0.5.13",
|
||||
"sourcemap-codec": "^1.4.8",
|
||||
"tiny-glob": "^0.2.6",
|
||||
"tslib": "^2.0.3",
|
||||
"typescript": "^3.7.5"
|
||||
},
|
||||
"nyc": {
|
||||
"include": [
|
||||
"compiler/svelte.js",
|
||||
"shared.js"
|
||||
],
|
||||
"sourceMap": true,
|
||||
"instrument": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"elementAt.js","sources":["../../../src/internal/operators/elementAt.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAG1E,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAkD9B,MAAM,UAAU,SAAS,CAAI,KAAa,EAAE,YAAgB;IAC1D,IAAI,KAAK,GAAG,CAAC,EAAE;QAAE,MAAM,IAAI,uBAAuB,EAAE,CAAC;KAAE;IACvD,MAAM,eAAe,GAAG,SAAS,CAAC,MAAM,IAAI,CAAC,CAAC;IAC9C,OAAO,CAAC,MAAqB,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAC3C,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,EAC7B,IAAI,CAAC,CAAC,CAAC,EACP,eAAe;QACb,CAAC,CAAC,cAAc,CAAC,YAAY,CAAC;QAC9B,CAAC,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC,IAAI,uBAAuB,EAAE,CAAC,CACtD,CAAC;AACJ,CAAC"}
|
||||
@@ -0,0 +1,25 @@
|
||||
|
||||
// developer.mozilla.org/en/CSS/pointer-events
|
||||
|
||||
// Test and project pages:
|
||||
// ausi.github.com/Feature-detection-technique-for-pointer-events/
|
||||
// github.com/ausi/Feature-detection-technique-for-pointer-events/wiki
|
||||
// github.com/Modernizr/Modernizr/issues/80
|
||||
|
||||
|
||||
Modernizr.addTest('pointerevents', function(){
|
||||
var element = document.createElement('x'),
|
||||
documentElement = document.documentElement,
|
||||
getComputedStyle = window.getComputedStyle,
|
||||
supports;
|
||||
if(!('pointerEvents' in element.style)){
|
||||
return false;
|
||||
}
|
||||
element.style.pointerEvents = 'auto';
|
||||
element.style.pointerEvents = 'x';
|
||||
documentElement.appendChild(element);
|
||||
supports = getComputedStyle &&
|
||||
getComputedStyle(element, '').pointerEvents === 'auto';
|
||||
documentElement.removeChild(element);
|
||||
return !!supports;
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"zipAll.js","sources":["../../../src/internal/operators/zipAll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAShD,MAAM,UAAU,MAAM,CAAO,OAAsC;IACjE,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,OAAO,CAAC,CAAC,EAArC,CAAqC,CAAC;AAC1E,CAAC"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"distinctUntilKeyChanged.js","sources":["../../../src/internal/operators/distinctUntilKeyChanged.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AA8E9D,MAAM,UAAU,uBAAuB,CAAuB,GAAM,EAAE,OAAuC;IAC3G,OAAO,oBAAoB,CAAC,UAAC,CAAI,EAAE,CAAI,IAAK,OAAA,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,EAArD,CAAqD,CAAC,CAAC;AACrG,CAAC"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"combineAll.js","sources":["../../../src/internal/operators/combineAll.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAsDpE,MAAM,UAAU,UAAU,CAAO,OAAsC;IACrE,OAAO,UAAC,MAAqB,IAAK,OAAA,MAAM,CAAC,IAAI,CAAC,IAAI,qBAAqB,CAAC,OAAO,CAAC,CAAC,EAA/C,CAA+C,CAAC;AACpF,CAAC"}
|
||||
@@ -0,0 +1 @@
|
||||
export * from 'rxjs-compat/operator/withLatestFrom';
|
||||
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = isSlug;
|
||||
|
||||
var _assertString = _interopRequireDefault(require("./util/assertString"));
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
var charsetRegex = /^[^\s-_](?!.*?[-_]{2,})([a-z0-9-\\]{1,})[^\s]*[^-_\s]$/;
|
||||
|
||||
function isSlug(str) {
|
||||
(0, _assertString.default)(str);
|
||||
return charsetRegex.test(str);
|
||||
}
|
||||
|
||||
module.exports = exports.default;
|
||||
module.exports.default = exports.default;
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"generate.js","sources":["../../src/add/observable/generate.ts"],"names":[],"mappings":";;AAAA,+CAA6C"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"observeOn.js","sources":["../src/operator/observeOn.ts"],"names":[],"mappings":";;;;;AAAA,oDAA+C"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Subject.js","sources":["../src/internal/Subject.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,2CAA0C;AAC1C,2CAA0C;AAC1C,+CAA8C;AAE9C,0EAAyE;AACzE,6DAA4D;AAC5D,gEAAqF;AAKrF;IAA0C,qCAAa;IACrD,2BAAsB,WAAuB;QAA7C,YACE,kBAAM,WAAW,CAAC,SACnB;QAFqB,iBAAW,GAAX,WAAW,CAAY;;IAE7C,CAAC;IACH,wBAAC;AAAD,CAAC,AAJD,CAA0C,uBAAU,GAInD;AAJY,8CAAiB;AAe9B;IAAgC,2BAAa;IAgB3C;QAAA,YACE,iBAAO,SACR;QAZD,eAAS,GAAkB,EAAE,CAAC;QAE9B,YAAM,GAAG,KAAK,CAAC;QAEf,eAAS,GAAG,KAAK,CAAC;QAElB,cAAQ,GAAG,KAAK,CAAC;QAEjB,iBAAW,GAAQ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AAE,CAAC;SAC7B;IACH,CAAC;IAGD,qCAAU,GAAV,UAAW,UAAyB;QAC1B,IAAA,oBAAM,CAAU;QACxB,IAAI,MAAM,EAAE;YACV,OAAO,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;SAC1C;aAAM;YACL,OAAO,2BAAY,CAAC,KAAK,CAAC;SAC3B;IACH,CAAC;IACH,uBAAC;AAAD,CAAC,AApCD,CAAyC,OAAO,GAoC/C;AApCY,4CAAgB"}
|
||||
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var zip_1 = require("../observable/zip");
|
||||
function zipAll(project) {
|
||||
return function (source) { return source.lift(new zip_1.ZipOperator(project)); };
|
||||
}
|
||||
exports.zipAll = zipAll;
|
||||
//# sourceMappingURL=zipAll.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"every.js","sources":["../../src/add/operator/every.ts"],"names":[],"mappings":";;AAAA,0CAAwC"}
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"publishBehavior.js","sources":["../src/operator/publishBehavior.ts"],"names":[],"mappings":";;;;;AAAA,0DAAqD"}
|
||||
@@ -0,0 +1,201 @@
|
||||
# Changelog
|
||||
|
||||
## 7.0.0
|
||||
|
||||
- **Breaking change:** Add `${moduleName}rc.cjs` and `${moduleName}.config.cjs` to the default `searchPlaces`, to support users of `"type": "module"` in recent versions of Node.
|
||||
- **Breaking change:** Drop support for Node 8. Now requires Node 10+.
|
||||
|
||||
## 6.0.0
|
||||
|
||||
- **Breaking change:** The package now has named exports. See examples below.
|
||||
- **Breaking change:** Separate async and sync APIs, accessible from different named exports. If you used `explorer.searchSync()` or `explorer.loadSync()`, you'll now create a sync explorer with `cosmiconfigSync()`, then use `explorerSync.search()` and `explorerSync.load()`.
|
||||
|
||||
```js
|
||||
// OLD: cosmiconfig v5
|
||||
import cosmiconfig from 'cosmiconfig';
|
||||
|
||||
const explorer = cosmiconfig('example');
|
||||
const searchAsyncResult = await explorer.search();
|
||||
const loadAsyncResult = await explorer.load('./file/to/load');
|
||||
const searchSyncResult = explorer.searchSync();
|
||||
const loadSyncResult = explorer.loadSync('./file/to/load');
|
||||
|
||||
// NEW: cosmiconfig v6
|
||||
import { cosmiconfig, cosmiconfigSync } from 'cosmiconfig';
|
||||
|
||||
const explorer = cosmiconfig('example');
|
||||
const searchAsyncResult = await explorer.search();
|
||||
const loadAsyncResult = await explorer.load('./file/to/load');
|
||||
|
||||
const explorerSync = cosmiconfigSync('example');
|
||||
const searchSyncResult = explorerSync.search();
|
||||
const loadSyncResult = explorerSync.load('./file/to/load');
|
||||
```
|
||||
- **Breaking change:** Remove support for Node 4 and 6. Requires Node 8+.
|
||||
- **Breaking change:** Use npm package [yaml](https://www.npmjs.com/package/yaml) to parse YAML instead of npm package [js-yaml](https://www.npmjs.com/package/js-yaml).
|
||||
- **Breaking change:** Remove `cosmiconfig.loaders` and add named export `defaultLoaders` that exports the default loaders used for each extension.
|
||||
|
||||
```js
|
||||
import { defaultLoaders } from 'cosmiconfig';
|
||||
|
||||
console.log(Object.entries(defaultLoaders))
|
||||
// [
|
||||
// [ '.js', [Function: loadJs] ],
|
||||
// [ '.json', [Function: loadJson] ],
|
||||
// [ '.yaml', [Function: loadYaml] ],
|
||||
// [ '.yml', [Function: loadYaml] ],
|
||||
// [ 'noExt', [Function: loadYaml] ]
|
||||
// ]
|
||||
```
|
||||
- Migrate from Flowtype to Typescript.
|
||||
- Lazy load all default loaders.
|
||||
|
||||
## 5.2.1
|
||||
|
||||
- Chore: Upgrade `js-yaml` to avoid npm audit warning.
|
||||
|
||||
## 5.2.0
|
||||
|
||||
- Added: `packageProp` values can be arrays of strings, to allow for property names that include periods. (This was possible before, but not documented or deliberately supported.)
|
||||
- Chore: Replaced the `lodash.get` dependency with a locally defined function.
|
||||
- Chore: Upgrade `js-yaml` to avoid npm audit warning.
|
||||
|
||||
## 5.1.0
|
||||
|
||||
- Added: `packageProp` values can include periods to describe paths to nested objects within `package.json`.
|
||||
|
||||
## 5.0.7
|
||||
|
||||
- Fixed: JS loader bypasses Node's `require` cache, fixing a bug where updates to `.js` config files would not load even when Cosmiconfig was told not to cache.
|
||||
|
||||
## 5.0.6
|
||||
|
||||
- Fixed: Better error message if the end user tries an extension Cosmiconfig is not configured to understand.
|
||||
|
||||
## 5.0.5
|
||||
|
||||
- Fixed: `load` and `loadSync` work with paths relative to `process.cwd()`.
|
||||
|
||||
## 5.0.4
|
||||
|
||||
- Fixed: `rc` files with `.js` extensions included in default `searchPlaces`.
|
||||
|
||||
## 5.0.3
|
||||
|
||||
- Docs: Minor corrections to documentation. *Released to update package documentation on npm*.
|
||||
|
||||
## 5.0.2
|
||||
|
||||
- Fixed: Allow `searchSync` and `loadSync` to load JS configuration files whose export is a Promise.
|
||||
|
||||
## 5.0.1
|
||||
|
||||
The API has been completely revamped to increase clarity and enable a very wide range of new usage. **Please read the readme for all the details.**
|
||||
|
||||
While the defaults remain just as useful as before — and you can still pass no options at all — now you can also do all kinds of wild and crazy things.
|
||||
|
||||
- The `loaders` option allows you specify custom functions to derive config objects from files. Your loader functions could parse ES2015 modules or TypeScript, JSON5, even INI or XML. Whatever suits you.
|
||||
- The `searchPlaces` option allows you to specify exactly where cosmiconfig looks within each directory it searches.
|
||||
- The combination of `loaders` and `searchPlaces` means that you should be able to load pretty much any kind of configuration file you want, from wherever you want it to look.
|
||||
|
||||
Additionally, the overloaded `load()` function has been split up into several clear and focused functions:
|
||||
|
||||
- `search()` now searches up the directory tree, and `load()` loads a configuration file that you don't need to search for.
|
||||
- The `sync` option has been replaced with separate synchronous functions: `searchSync()` and `loadSync()`.
|
||||
- `clearFileCache()` and `clearDirectoryCache()` have been renamed to `clearLoadCache()` and `clearSearchPath()` respectively.
|
||||
|
||||
More details:
|
||||
|
||||
- The default JS loader uses `require`, instead of `require-from-string`. So you *could* use `require` hooks to control the loading of JS files (e.g. pass them through esm or Babel). In most cases it is probably preferable to use a custom loader.
|
||||
- The options `rc`, `js`, and `rcExtensions` have all been removed. You can accomplish the same and more with `searchPlaces`.
|
||||
- The default `searchPlaces` include `rc` files with extensions, e.g. `.thingrc.json`, `.thingrc.yaml`, `.thingrc.yml`. This is the equivalent of switching the default value of the old `rcExtensions` option to `true`.
|
||||
- The option `rcStrictJson` has been removed. To get the same effect, you can specify `noExt: cosmiconfig.loadJson` in your `loaders` object.
|
||||
- `packageProp` no longer accepts `false`. If you don't want to look in `package.json`, write a `searchPlaces` array that does not include it.
|
||||
- By default, empty files are ignored by `search()`. The new option `ignoreEmptySearchPlaces` allows you to load them, instead, in case you want to do something with empty files.
|
||||
- The option `configPath` has been removed. Just pass your filepaths directory to `load()`.
|
||||
- Removed the `format` option. Formats are now all handled via the file extensions specified in `loaders`.
|
||||
|
||||
(If you're wondering with happened to 5.0.0 ... it was a silly publishing mistake.)
|
||||
|
||||
## 4.0.0
|
||||
|
||||
- Licensing improvement: updated `parse-json` from `3.0.0` to `4.0.0`(see [sindresorhus/parse-json#12][parse-json-pr-12]).
|
||||
- Changed: error message format for `JSON` parse errors(see [#101][pr-101]). If you were relying on the format of JSON-parsing error messages, this will be a breaking change for you.
|
||||
- Changed: set default for `searchPath` as `process.cwd()` in `explorer.load`.
|
||||
|
||||
## 3.1.0
|
||||
|
||||
- Added: infer format based on filePath
|
||||
|
||||
## 3.0.1
|
||||
|
||||
- Fixed: memory leak due to bug in `require-from-string`.
|
||||
- Added: for JSON files, append position to end of error message.
|
||||
|
||||
## 3.0.0
|
||||
|
||||
- Removed: support for loading config path using the `--config` flag. cosmiconfig will not parse command line arguments. Your application can parse command line arguments and pass them to cosmiconfig.
|
||||
- Removed: `argv` config option.
|
||||
- Removed: support for Node versions < 4.
|
||||
- Added: `sync` option.
|
||||
- Fixed: Throw a clear error on getting empty config file.
|
||||
- Fixed: when a `options.configPath` is `package.json`, return the package prop, not the entire JSON file.
|
||||
|
||||
## 2.2.2
|
||||
|
||||
- Fixed: `options.configPath` and `--config` flag are respected.
|
||||
|
||||
## 2.2.0, 2.2.1
|
||||
|
||||
- 2.2.0 included a number of improvements but somehow broke stylelint. The changes were reverted in 2.2.1, to be restored later.
|
||||
|
||||
## 2.1.3
|
||||
|
||||
- Licensing improvement: switched from `json-parse-helpfulerror` to `parse-json`.
|
||||
|
||||
## 2.1.2
|
||||
|
||||
- Fixed: bug where an `ENOENT` error would be thrown is `searchPath` referenced a non-existent file.
|
||||
- Fixed: JSON parsing errors in Node v7.
|
||||
|
||||
## 2.1.1
|
||||
|
||||
- Fixed: swapped `graceful-fs` for regular `fs`, fixing a garbage collection problem.
|
||||
|
||||
## 2.1.0
|
||||
|
||||
- Added: Node 0.12 support.
|
||||
|
||||
## 2.0.2
|
||||
|
||||
- Fixed: Node version specified in `package.json`.
|
||||
|
||||
## 2.0.1
|
||||
|
||||
- Fixed: no more infinite loop in Windows.
|
||||
|
||||
## 2.0.0
|
||||
|
||||
- Changed: module now creates cosmiconfig instances with `load` methods (see README).
|
||||
- Added: caching (enabled by the change above).
|
||||
- Removed: support for Node versions <4.
|
||||
|
||||
## 1.1.0
|
||||
|
||||
- Add `rcExtensions` option.
|
||||
|
||||
## 1.0.2
|
||||
|
||||
- Fix handling of `require()`'s within JS module configs.
|
||||
|
||||
## 1.0.1
|
||||
|
||||
- Switch Promise implementation to pinkie-promise.
|
||||
|
||||
## 1.0.0
|
||||
|
||||
- Initial release.
|
||||
|
||||
[parse-json-pr-12]: https://github.com/sindresorhus/parse-json/pull/12
|
||||
|
||||
[pr-101]: https://github.com/davidtheclark/cosmiconfig/pull/101
|
||||
Reference in New Issue
Block a user