[chore] update code-red@0.2.0 (#6425)

Co-authored-by: Conduitry <git@chor.date>
pull/6517/head
Tan Li Hau 3 years ago committed by GitHub
parent 5334f4ad1b
commit ebaa891e69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

59
package-lock.json generated

@ -479,9 +479,9 @@
"dev": true "dev": true
}, },
"acorn": { "acorn": {
"version": "7.4.0", "version": "8.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.4.1.tgz",
"integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w==", "integrity": "sha512-asabaBSkEKosYKMITunzX177CXxQ4Q8BSSzMTKD+FefUhipQC70gfW5SiUDhYQ3vk8G+81HqQk7Fv9OXwwn9KA==",
"dev": true "dev": true
}, },
"acorn-globals": { "acorn-globals": {
@ -947,31 +947,32 @@
} }
}, },
"code-red": { "code-red": {
"version": "0.1.4", "version": "0.2.1",
"resolved": "https://registry.npmjs.org/code-red/-/code-red-0.1.4.tgz", "resolved": "https://registry.npmjs.org/code-red/-/code-red-0.2.1.tgz",
"integrity": "sha512-NPiLFd1EfonYONCNXCH1oVirQMXk5oAOQ3FanRbjB4HZ09rTU/lZGKjVOOP0FKr4pccGVYE5I4CqtyU6ens2VA==", "integrity": "sha512-qn8UyXkRqHJnWkrgc5AGDjkgoqlK5BtelIykSCl89HOV/HMtVxZw2GTwD2A7uMbLgGmch4/KyJX+mcWuPpqCtg==",
"dev": true, "dev": true,
"requires": { "requires": {
"acorn": "^7.3.1", "@types/estree": "^0.0.45",
"is-reference": "^1.1.4", "acorn": "^8.0.5",
"estree-walker": "^0.9.0",
"is-reference": "^2.0.0",
"periscopic": "^2.0.1", "periscopic": "^2.0.1",
"sourcemap-codec": "^1.4.6" "sourcemap-codec": "^1.4.8"
}, },
"dependencies": { "dependencies": {
"estree-walker": { "estree-walker": {
"version": "2.0.2", "version": "0.9.0",
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.9.0.tgz",
"integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", "integrity": "sha512-12U47o7XHUX329+x3FzNVjCx3SHEzMF0nkDv7r/HnBzX/xNTKxajBk6gyygaxrAFtLj39219oMfbtxv4KpaOiA==",
"dev": true "dev": true
}, },
"periscopic": { "is-reference": {
"version": "2.0.3", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/periscopic/-/periscopic-2.0.3.tgz", "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-2.0.0.tgz",
"integrity": "sha512-FuCZe61mWxQOJAQFEfmt9FjzebRlcpFz8sFPbyaCKtdusPkMEbA9ey0eARnRav5zAhmXznhaQkKGFAPn7X9NUw==", "integrity": "sha512-kgaeJVq59jasPrhlGK/K61muTjLxMOZf4oMwI4X94nDWqkqLxDWVWrecCSP5c6OR8JF7Yul0X7h59lB1ho0epQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"estree-walker": "^2.0.2", "@types/estree": "*"
"is-reference": "^1.1.4"
} }
} }
} }
@ -1867,6 +1868,12 @@
"eslint-visitor-keys": "^1.3.0" "eslint-visitor-keys": "^1.3.0"
}, },
"dependencies": { "dependencies": {
"acorn": {
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true
},
"eslint-visitor-keys": { "eslint-visitor-keys": {
"version": "1.3.0", "version": "1.3.0",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
@ -2725,6 +2732,14 @@
"whatwg-url": "^7.0.0", "whatwg-url": "^7.0.0",
"ws": "^7.0.0", "ws": "^7.0.0",
"xml-name-validator": "^3.0.0" "xml-name-validator": "^3.0.0"
},
"dependencies": {
"acorn": {
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true
}
} }
}, },
"json-parse-better-errors": { "json-parse-better-errors": {
@ -3847,6 +3862,14 @@
"@types/estree": "*", "@types/estree": "*",
"@types/node": "*", "@types/node": "*",
"acorn": "^7.1.0" "acorn": "^7.1.0"
},
"dependencies": {
"acorn": {
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
"dev": true
}
} }
}, },
"rollup-plugin-virtual": { "rollup-plugin-virtual": {

@ -112,10 +112,10 @@
"@types/node": "^8.10.53", "@types/node": "^8.10.53",
"@typescript-eslint/eslint-plugin": "^4.9.0", "@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0", "@typescript-eslint/parser": "^4.9.0",
"acorn": "^7.4.0", "acorn": "^8.4.1",
"agadoo": "^1.1.0", "agadoo": "^1.1.0",
"c8": "^5.0.1", "c8": "^5.0.1",
"code-red": "^0.1.4", "code-red": "^0.2.1",
"codecov": "^3.5.0", "codecov": "^3.5.0",
"css-tree": "^1.1.2", "css-tree": "^1.1.2",
"eslint": "^7.15.0", "eslint": "^7.15.0",

@ -65,7 +65,7 @@ export default class Expression {
walk(info, { walk(info, {
enter(node: any, parent: any, key: string) { enter(node: any, parent: any, key: string) {
// don't manipulate shorthand props twice // don't manipulate shorthand props twice
if (key === 'value' && parent.shorthand) return; if (key === 'key' && parent.shorthand) return;
// don't manipulate `import.meta`, `new.target` // don't manipulate `import.meta`, `new.target`
if (node.type === 'MetaProperty') return this.skip(); if (node.type === 'MetaProperty') return this.skip();

@ -344,7 +344,7 @@ export default class InlineComponentWrapper extends Wrapper {
contextual_dependencies.push(object.name, property.name); contextual_dependencies.push(object.name, property.name);
} }
const params = [x`#value`]; const params: Identifier[] = [x`#value` as Identifier];
const args = [x`#value`]; const args = [x`#value`];
if (contextual_dependencies.length > 0) { if (contextual_dependencies.length > 0) {

@ -56,7 +56,7 @@ function instance($$self, $$props, $$invalidate) {
const foo_function = () => handleFoo(bar); const foo_function = () => handleFoo(bar);
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("bar" in $$props) $$invalidate(0, bar = $$props.bar); if ('bar' in $$props) $$invalidate(0, bar = $$props.bar);
}; };
return [bar, foo_function]; return [bar, foo_function];

@ -48,11 +48,11 @@ function link(node) {
history.pushState(null, null, event.target.href); history.pushState(null, null, event.target.href);
} }
node.addEventListener("click", onClick); node.addEventListener('click', onClick);
return { return {
destroy() { destroy() {
node.removeEventListener("click", onClick); node.removeEventListener('click', onClick);
} }
}; };
} }

@ -53,7 +53,7 @@ function instance($$self, $$props, $$invalidate) {
} }
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("open" in $$props) $$invalidate(0, open = $$props.open); if ('open' in $$props) $$invalidate(0, open = $$props.open);
}; };
return [open, details_toggle_handler]; return [open, details_toggle_handler];

@ -47,8 +47,8 @@ function instance($$self, $$props, $$invalidate) {
} }
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("w" in $$props) $$invalidate(0, w = $$props.w); if ('w' in $$props) $$invalidate(0, w = $$props.w);
if ("h" in $$props) $$invalidate(1, h = $$props.h); if ('h' in $$props) $$invalidate(1, h = $$props.h);
}; };
return [w, h, div_elementresize_handler]; return [w, h, div_elementresize_handler];

@ -69,7 +69,7 @@ function instance($$self, $$props, $$invalidate) {
} }
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("files" in $$props) $$invalidate(0, files = $$props.files); if ('files' in $$props) $$invalidate(0, files = $$props.files);
}; };
return [files, input0_change_handler, input1_change_handler]; return [files, input0_change_handler, input1_change_handler];

@ -95,7 +95,7 @@ const moduleContantProps = 4;
let moduleLet; let moduleLet;
const moduleConst = 2; const moduleConst = 2;
let shadowedByModule; let shadowedByModule;
const priv = "priv"; const priv = 'priv';
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let computed; let computed;
@ -106,22 +106,22 @@ function instance($$self, $$props, $$invalidate) {
$$self.$$.on_destroy.push(() => $$unsubscribe_prop()); $$self.$$.on_destroy.push(() => $$unsubscribe_prop());
let { $$slots: slots = {}, $$scope } = $$props; let { $$slots: slots = {}, $$scope } = $$props;
validate_slots("Component", slots, []); validate_slots('Component', slots, []);
let { prop } = $$props; let { prop } = $$props;
validate_store(prop, "prop"); validate_store(prop, 'prop');
$$subscribe_prop(); $$subscribe_prop();
let { alias: realName } = $$props; let { alias: realName } = $$props;
let local; let local;
let shadowedByModule; let shadowedByModule;
const writable_props = ["prop", "alias"]; const writable_props = ['prop', 'alias'];
Object.keys($$props).forEach(key => { Object.keys($$props).forEach(key => {
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$" && key !== "slot") console.warn(`<Component> was created with unknown prop '${key}'`); if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<Component> was created with unknown prop '${key}'`);
}); });
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("prop" in $$props) $$subscribe_prop($$invalidate(0, prop = $$props.prop)); if ('prop' in $$props) $$subscribe_prop($$invalidate(0, prop = $$props.prop));
if ("alias" in $$props) $$invalidate(1, realName = $$props.alias); if ('alias' in $$props) $$invalidate(1, realName = $$props.alias);
}; };
$$self.$capture_state = () => ({ $$self.$capture_state = () => ({
@ -140,11 +140,11 @@ function instance($$self, $$props, $$invalidate) {
}); });
$$self.$inject_state = $$props => { $$self.$inject_state = $$props => {
if ("prop" in $$props) $$subscribe_prop($$invalidate(0, prop = $$props.prop)); if ('prop' in $$props) $$subscribe_prop($$invalidate(0, prop = $$props.prop));
if ("realName" in $$props) $$invalidate(1, realName = $$props.realName); if ('realName' in $$props) $$invalidate(1, realName = $$props.realName);
if ("local" in $$props) $$invalidate(3, local = $$props.local); if ('local' in $$props) $$invalidate(3, local = $$props.local);
if ("shadowedByModule" in $$props) $$invalidate(4, shadowedByModule = $$props.shadowedByModule); if ('shadowedByModule' in $$props) $$invalidate(4, shadowedByModule = $$props.shadowedByModule);
if ("computed" in $$props) computed = $$props.computed; if ('computed' in $$props) computed = $$props.computed;
}; };
if ($$props && "$$inject" in $$props) { if ($$props && "$$inject" in $$props) {
@ -170,11 +170,11 @@ class Component extends SvelteComponentDev {
const { ctx } = this.$$; const { ctx } = this.$$;
const props = options.props || {}; const props = options.props || {};
if (/*prop*/ ctx[0] === undefined && !("prop" in props)) { if (/*prop*/ ctx[0] === undefined && !('prop' in props)) {
console.warn("<Component> was created without expected prop 'prop'"); console.warn("<Component> was created without expected prop 'prop'");
} }
if (/*realName*/ ctx[1] === undefined && !("alias" in props)) { if (/*realName*/ ctx[1] === undefined && !('alias' in props)) {
console.warn("<Component> was created without expected prop 'alias'"); console.warn("<Component> was created without expected prop 'alias'");
} }
} }

@ -49,7 +49,7 @@ function instance($$self, $$props, $$invalidate) {
let { foo = 42 } = $$props; let { foo = 42 } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ('foo' in $$props) $$invalidate(0, foo = $$props.foo);
}; };
return [foo]; return [foo];

@ -16,8 +16,8 @@ import {
transition_out transition_out
} from "svelte/internal"; } from "svelte/internal";
import Foo from "./Foo.svelte"; import Foo from './Foo.svelte';
import Bar from "./Bar.svelte"; import Bar from './Bar.svelte';
function create_fragment(ctx) { function create_fragment(ctx) {
let foo; let foo;

@ -13,7 +13,7 @@ import {
text text
} from "svelte/internal"; } from "svelte/internal";
import { writable } from "svelte/store"; import { writable } from 'svelte/store';
function create_fragment(ctx) { function create_fragment(ctx) {
let h1; let h1;

@ -7,7 +7,7 @@ import {
set_store_value set_store_value
} from "svelte/internal"; } from "svelte/internal";
import { count } from "./store.js"; import { count } from './store.js';
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let $count; let $count;

@ -15,7 +15,7 @@ import {
text text
} from "svelte/internal"; } from "svelte/internal";
import { writable } from "svelte/store"; import { writable } from 'svelte/store';
function create_fragment(ctx) { function create_fragment(ctx) {
let h1; let h1;

@ -13,7 +13,7 @@ function instance($$self, $$props, $$invalidate) {
} }
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("x" in $$props) $$invalidate(0, x = $$props.x); if ('x' in $$props) $$invalidate(0, x = $$props.x);
}; };
return [x, a, b]; return [x, a, b];

@ -48,7 +48,7 @@ function instance($$self, $$props, $$invalidate) {
let { bar } = $$props; let { bar } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("bar" in $$props) $$invalidate(0, bar = $$props.bar); if ('bar' in $$props) $$invalidate(0, bar = $$props.bar);
}; };
return [bar]; return [bar];

@ -70,22 +70,22 @@ function create_fragment(ctx) {
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let { $$slots: slots = {}, $$scope } = $$props; let { $$slots: slots = {}, $$scope } = $$props;
validate_slots("Component", slots, []); validate_slots('Component', slots, []);
let { name } = $$props; let { name } = $$props;
const writable_props = ["name"]; const writable_props = ['name'];
Object.keys($$props).forEach(key => { Object.keys($$props).forEach(key => {
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$" && key !== "slot") console.warn(`<Component> was created with unknown prop '${key}'`); if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<Component> was created with unknown prop '${key}'`);
}); });
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("name" in $$props) $$invalidate(0, name = $$props.name); if ('name' in $$props) $$invalidate(0, name = $$props.name);
}; };
$$self.$capture_state = () => ({ name }); $$self.$capture_state = () => ({ name });
$$self.$inject_state = $$props => { $$self.$inject_state = $$props => {
if ("name" in $$props) $$invalidate(0, name = $$props.name); if ('name' in $$props) $$invalidate(0, name = $$props.name);
}; };
if ($$props && "$$inject" in $$props) { if ($$props && "$$inject" in $$props) {
@ -110,7 +110,7 @@ class Component extends SvelteComponentDev {
const { ctx } = this.$$; const { ctx } = this.$$;
const props = options.props || {}; const props = options.props || {};
if (/*name*/ ctx[0] === undefined && !("name" in props)) { if (/*name*/ ctx[0] === undefined && !('name' in props)) {
console.warn("<Component> was created without expected prop 'name'"); console.warn("<Component> was created without expected prop 'name'");
} }
} }

@ -171,31 +171,31 @@ function create_fragment(ctx) {
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let { $$slots: slots = {}, $$scope } = $$props; let { $$slots: slots = {}, $$scope } = $$props;
validate_slots("Component", slots, []); validate_slots('Component', slots, []);
let { things } = $$props; let { things } = $$props;
let { foo } = $$props; let { foo } = $$props;
let { bar } = $$props; let { bar } = $$props;
let { baz } = $$props; let { baz } = $$props;
const writable_props = ["things", "foo", "bar", "baz"]; const writable_props = ['things', 'foo', 'bar', 'baz'];
Object.keys($$props).forEach(key => { Object.keys($$props).forEach(key => {
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$" && key !== "slot") console.warn(`<Component> was created with unknown prop '${key}'`); if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<Component> was created with unknown prop '${key}'`);
}); });
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("things" in $$props) $$invalidate(0, things = $$props.things); if ('things' in $$props) $$invalidate(0, things = $$props.things);
if ("foo" in $$props) $$invalidate(1, foo = $$props.foo); if ('foo' in $$props) $$invalidate(1, foo = $$props.foo);
if ("bar" in $$props) $$invalidate(2, bar = $$props.bar); if ('bar' in $$props) $$invalidate(2, bar = $$props.bar);
if ("baz" in $$props) $$invalidate(3, baz = $$props.baz); if ('baz' in $$props) $$invalidate(3, baz = $$props.baz);
}; };
$$self.$capture_state = () => ({ things, foo, bar, baz }); $$self.$capture_state = () => ({ things, foo, bar, baz });
$$self.$inject_state = $$props => { $$self.$inject_state = $$props => {
if ("things" in $$props) $$invalidate(0, things = $$props.things); if ('things' in $$props) $$invalidate(0, things = $$props.things);
if ("foo" in $$props) $$invalidate(1, foo = $$props.foo); if ('foo' in $$props) $$invalidate(1, foo = $$props.foo);
if ("bar" in $$props) $$invalidate(2, bar = $$props.bar); if ('bar' in $$props) $$invalidate(2, bar = $$props.bar);
if ("baz" in $$props) $$invalidate(3, baz = $$props.baz); if ('baz' in $$props) $$invalidate(3, baz = $$props.baz);
}; };
if ($$props && "$$inject" in $$props) { if ($$props && "$$inject" in $$props) {
@ -220,19 +220,19 @@ class Component extends SvelteComponentDev {
const { ctx } = this.$$; const { ctx } = this.$$;
const props = options.props || {}; const props = options.props || {};
if (/*things*/ ctx[0] === undefined && !("things" in props)) { if (/*things*/ ctx[0] === undefined && !('things' in props)) {
console.warn("<Component> was created without expected prop 'things'"); console.warn("<Component> was created without expected prop 'things'");
} }
if (/*foo*/ ctx[1] === undefined && !("foo" in props)) { if (/*foo*/ ctx[1] === undefined && !('foo' in props)) {
console.warn("<Component> was created without expected prop 'foo'"); console.warn("<Component> was created without expected prop 'foo'");
} }
if (/*bar*/ ctx[2] === undefined && !("bar" in props)) { if (/*bar*/ ctx[2] === undefined && !('bar' in props)) {
console.warn("<Component> was created without expected prop 'bar'"); console.warn("<Component> was created without expected prop 'bar'");
} }
if (/*baz*/ ctx[3] === undefined && !("baz" in props)) { if (/*baz*/ ctx[3] === undefined && !('baz' in props)) {
console.warn("<Component> was created without expected prop 'baz'"); console.warn("<Component> was created without expected prop 'baz'");
} }
} }

@ -165,25 +165,25 @@ function create_fragment(ctx) {
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let { $$slots: slots = {}, $$scope } = $$props; let { $$slots: slots = {}, $$scope } = $$props;
validate_slots("Component", slots, []); validate_slots('Component', slots, []);
let { things } = $$props; let { things } = $$props;
let { foo } = $$props; let { foo } = $$props;
const writable_props = ["things", "foo"]; const writable_props = ['things', 'foo'];
Object.keys($$props).forEach(key => { Object.keys($$props).forEach(key => {
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$" && key !== "slot") console.warn(`<Component> was created with unknown prop '${key}'`); if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<Component> was created with unknown prop '${key}'`);
}); });
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("things" in $$props) $$invalidate(0, things = $$props.things); if ('things' in $$props) $$invalidate(0, things = $$props.things);
if ("foo" in $$props) $$invalidate(1, foo = $$props.foo); if ('foo' in $$props) $$invalidate(1, foo = $$props.foo);
}; };
$$self.$capture_state = () => ({ things, foo }); $$self.$capture_state = () => ({ things, foo });
$$self.$inject_state = $$props => { $$self.$inject_state = $$props => {
if ("things" in $$props) $$invalidate(0, things = $$props.things); if ('things' in $$props) $$invalidate(0, things = $$props.things);
if ("foo" in $$props) $$invalidate(1, foo = $$props.foo); if ('foo' in $$props) $$invalidate(1, foo = $$props.foo);
}; };
if ($$props && "$$inject" in $$props) { if ($$props && "$$inject" in $$props) {
@ -208,11 +208,11 @@ class Component extends SvelteComponentDev {
const { ctx } = this.$$; const { ctx } = this.$$;
const props = options.props || {}; const props = options.props || {};
if (/*things*/ ctx[0] === undefined && !("things" in props)) { if (/*things*/ ctx[0] === undefined && !('things' in props)) {
console.warn("<Component> was created without expected prop 'things'"); console.warn("<Component> was created without expected prop 'things'");
} }
if (/*foo*/ ctx[1] === undefined && !("foo" in props)) { if (/*foo*/ ctx[1] === undefined && !('foo' in props)) {
console.warn("<Component> was created without expected prop 'foo'"); console.warn("<Component> was created without expected prop 'foo'");
} }
} }

@ -50,20 +50,20 @@ function create_fragment(ctx) {
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let { $$slots: slots = {}, $$scope } = $$props; let { $$slots: slots = {}, $$scope } = $$props;
validate_slots("Component", slots, []); validate_slots('Component', slots, []);
let obj = { x: 5 }; let obj = { x: 5 };
let kobzol = 5; let kobzol = 5;
const writable_props = []; const writable_props = [];
Object.keys($$props).forEach(key => { Object.keys($$props).forEach(key => {
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$" && key !== "slot") console.warn(`<Component> was created with unknown prop '${key}'`); if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<Component> was created with unknown prop '${key}'`);
}); });
$$self.$capture_state = () => ({ obj, kobzol }); $$self.$capture_state = () => ({ obj, kobzol });
$$self.$inject_state = $$props => { $$self.$inject_state = $$props => {
if ("obj" in $$props) $$invalidate(0, obj = $$props.obj); if ('obj' in $$props) $$invalidate(0, obj = $$props.obj);
if ("kobzol" in $$props) $$invalidate(1, kobzol = $$props.kobzol); if ('kobzol' in $$props) $$invalidate(1, kobzol = $$props.kobzol);
}; };
if ($$props && "$$inject" in $$props) { if ($$props && "$$inject" in $$props) {

@ -137,11 +137,11 @@ function create_fragment(ctx) {
function instance($$self, $$props) { function instance($$self, $$props) {
let { $$slots: slots = {}, $$scope } = $$props; let { $$slots: slots = {}, $$scope } = $$props;
validate_slots("Component", slots, []); validate_slots('Component', slots, []);
const writable_props = []; const writable_props = [];
Object.keys($$props).forEach(key => { Object.keys($$props).forEach(key => {
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$" && key !== "slot") console.warn(`<Component> was created with unknown prop '${key}'`); if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<Component> was created with unknown prop '${key}'`);
}); });
return []; return [];

@ -105,7 +105,7 @@ function instance($$self, $$props, $$invalidate) {
let { createElement } = $$props; let { createElement } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("createElement" in $$props) $$invalidate(0, createElement = $$props.createElement); if ('createElement' in $$props) $$invalidate(0, createElement = $$props.createElement);
}; };
return [createElement]; return [createElement];

@ -1,17 +1,17 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { SvelteComponent, init, safe_not_equal } from "svelte/internal"; import { SvelteComponent, init, safe_not_equal } from "svelte/internal";
import { onMount } from "svelte"; import { onMount } from 'svelte';
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let { foo = "bar" } = $$props; let { foo = 'bar' } = $$props;
onMount(() => { onMount(() => {
alert(JSON.stringify(data())); alert(JSON.stringify(data()));
}); });
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ('foo' in $$props) $$invalidate(0, foo = $$props.foo);
}; };
return [foo]; return [foo];

@ -66,24 +66,24 @@ function create_fragment(ctx) {
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let { $$slots: slots = {}, $$scope } = $$props; let { $$slots: slots = {}, $$scope } = $$props;
validate_slots("Component", slots, []); validate_slots('Component', slots, []);
let { foo } = $$props; let { foo } = $$props;
let bar; let bar;
const writable_props = ["foo"]; const writable_props = ['foo'];
Object.keys($$props).forEach(key => { Object.keys($$props).forEach(key => {
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$" && key !== "slot") console.warn(`<Component> was created with unknown prop '${key}'`); if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console.warn(`<Component> was created with unknown prop '${key}'`);
}); });
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ('foo' in $$props) $$invalidate(0, foo = $$props.foo);
}; };
$$self.$capture_state = () => ({ foo, bar }); $$self.$capture_state = () => ({ foo, bar });
$$self.$inject_state = $$props => { $$self.$inject_state = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ('foo' in $$props) $$invalidate(0, foo = $$props.foo);
if ("bar" in $$props) $$invalidate(1, bar = $$props.bar); if ('bar' in $$props) $$invalidate(1, bar = $$props.bar);
}; };
if ($$props && "$$inject" in $$props) { if ($$props && "$$inject" in $$props) {
@ -114,7 +114,7 @@ class Component extends SvelteComponentDev {
const { ctx } = this.$$; const { ctx } = this.$$;
const props = options.props || {}; const props = options.props || {};
if (/*foo*/ ctx[0] === undefined && !("foo" in props)) { if (/*foo*/ ctx[0] === undefined && !('foo' in props)) {
console.warn("<Component> was created without expected prop 'foo'"); console.warn("<Component> was created without expected prop 'foo'");
} }
} }

@ -11,7 +11,7 @@ import {
transition_out transition_out
} from "svelte/internal"; } from "svelte/internal";
import LazyLoad from "./LazyLoad.svelte"; import LazyLoad from './LazyLoad.svelte';
function create_fragment(ctx) { function create_fragment(ctx) {
let lazyload; let lazyload;
@ -42,7 +42,7 @@ function create_fragment(ctx) {
}; };
} }
const func = () => import("./Foo.svelte"); const func = () => import('./Foo.svelte');
class Component extends SvelteComponent { class Component extends SvelteComponent {
constructor(options) { constructor(options) {

@ -107,11 +107,11 @@ function instance($$self, $$props, $$invalidate) {
let { e } = $$props; let { e } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("a" in $$props) $$invalidate(0, a = $$props.a); if ('a' in $$props) $$invalidate(0, a = $$props.a);
if ("b" in $$props) $$invalidate(1, b = $$props.b); if ('b' in $$props) $$invalidate(1, b = $$props.b);
if ("c" in $$props) $$invalidate(2, c = $$props.c); if ('c' in $$props) $$invalidate(2, c = $$props.c);
if ("d" in $$props) $$invalidate(3, d = $$props.d); if ('d' in $$props) $$invalidate(3, d = $$props.d);
if ("e" in $$props) $$invalidate(4, e = $$props.e); if ('e' in $$props) $$invalidate(4, e = $$props.e);
}; };
return [a, b, c, d, e]; return [a, b, c, d, e];

@ -154,10 +154,10 @@ function instance($$self, $$props, $$invalidate) {
let { foo } = $$props; let { foo } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("comments" in $$props) $$invalidate(0, comments = $$props.comments); if ('comments' in $$props) $$invalidate(0, comments = $$props.comments);
if ("elapsed" in $$props) $$invalidate(1, elapsed = $$props.elapsed); if ('elapsed' in $$props) $$invalidate(1, elapsed = $$props.elapsed);
if ("time" in $$props) $$invalidate(2, time = $$props.time); if ('time' in $$props) $$invalidate(2, time = $$props.time);
if ("foo" in $$props) $$invalidate(3, foo = $$props.foo); if ('foo' in $$props) $$invalidate(3, foo = $$props.foo);
}; };
return [comments, elapsed, time, foo]; return [comments, elapsed, time, foo];

@ -130,7 +130,7 @@ function instance($$self, $$props, $$invalidate) {
let { things } = $$props; let { things } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("things" in $$props) $$invalidate(0, things = $$props.things); if ('things' in $$props) $$invalidate(0, things = $$props.things);
}; };
return [things]; return [things];

@ -99,7 +99,7 @@ function instance($$self, $$props, $$invalidate) {
let { things } = $$props; let { things } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("things" in $$props) $$invalidate(0, things = $$props.things); if ('things' in $$props) $$invalidate(0, things = $$props.things);
}; };
return [things]; return [things];

@ -89,7 +89,7 @@ function instance($$self, $$props, $$invalidate) {
let { foo } = $$props; let { foo } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ('foo' in $$props) $$invalidate(0, foo = $$props.foo);
}; };
return [foo]; return [foo];

@ -67,7 +67,7 @@ function instance($$self, $$props, $$invalidate) {
let { foo } = $$props; let { foo } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ('foo' in $$props) $$invalidate(0, foo = $$props.foo);
}; };
return [foo]; return [foo];

@ -45,9 +45,9 @@ function instance($$self, $$props, $$invalidate) {
let { y } = $$props; let { y } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("color" in $$props) $$invalidate(0, color = $$props.color); if ('color' in $$props) $$invalidate(0, color = $$props.color);
if ("x" in $$props) $$invalidate(1, x = $$props.x); if ('x' in $$props) $$invalidate(1, x = $$props.x);
if ("y" in $$props) $$invalidate(2, y = $$props.y); if ('y' in $$props) $$invalidate(2, y = $$props.y);
}; };
return [color, x, y]; return [color, x, y];

@ -38,7 +38,7 @@ function instance($$self, $$props, $$invalidate) {
let { data } = $$props; let { data } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("data" in $$props) $$invalidate(0, data = $$props.data); if ('data' in $$props) $$invalidate(0, data = $$props.data);
}; };
return [data]; return [data];

@ -38,7 +38,7 @@ function instance($$self, $$props, $$invalidate) {
let { color } = $$props; let { color } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("color" in $$props) $$invalidate(0, color = $$props.color); if ('color' in $$props) $$invalidate(0, color = $$props.color);
}; };
return [color]; return [color];

@ -55,9 +55,9 @@ function instance($$self, $$props, $$invalidate) {
let { value } = $$props; let { value } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("style" in $$props) $$invalidate(0, style = $$props.style); if ('style' in $$props) $$invalidate(0, style = $$props.style);
if ("key" in $$props) $$invalidate(1, key = $$props.key); if ('key' in $$props) $$invalidate(1, key = $$props.key);
if ("value" in $$props) $$invalidate(2, value = $$props.value); if ('value' in $$props) $$invalidate(2, value = $$props.value);
}; };
return [style, key, value]; return [style, key, value];

@ -30,7 +30,7 @@ function create_fragment(ctx) {
}; };
} }
let color = "red"; let color = 'red';
class Component extends SvelteComponent { class Component extends SvelteComponent {
constructor(options) { constructor(options) {

@ -50,7 +50,7 @@ function instance($$self, $$props, $$invalidate) {
} }
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("files" in $$props) $$invalidate(0, files = $$props.files); if ('files' in $$props) $$invalidate(0, files = $$props.files);
}; };
return [files, input_change_handler]; return [files, input_change_handler];

@ -69,7 +69,7 @@ function instance($$self, $$props, $$invalidate) {
function handleSubmit(event) { function handleSubmit(event) {
event.preventDefault(); event.preventDefault();
console.log("value", test); console.log('value', test);
} }
function input_input_handler() { function input_input_handler() {

@ -61,7 +61,7 @@ function instance($$self, $$props, $$invalidate) {
} }
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("value" in $$props) $$invalidate(0, value = $$props.value); if ('value' in $$props) $$invalidate(0, value = $$props.value);
}; };
return [value, input_change_input_handler]; return [value, input_change_input_handler];

@ -64,7 +64,7 @@ function create_fragment(ctx) {
} }
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let name = "change me"; let name = 'change me';
function onInput(event) { function onInput(event) {
$$invalidate(0, name = event.target.value); $$invalidate(0, name = event.target.value);

@ -54,7 +54,7 @@ function instance($$self, $$props, $$invalidate) {
} }
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("foo" in $$props) $$invalidate(0, foo = $$props.foo); if ('foo' in $$props) $$invalidate(0, foo = $$props.foo);
}; };
return [foo, input_change_handler]; return [foo, input_change_handler];

@ -54,7 +54,7 @@ function create_fragment(ctx) {
} }
function foo() { function foo() {
const guard = "foo"; const guard = 'foo';
{ {
const guard_1 = loop_guard(100); const guard_1 = loop_guard(100);
@ -68,7 +68,7 @@ function foo() {
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
let { $$slots: slots = {}, $$scope } = $$props; let { $$slots: slots = {}, $$scope } = $$props;
validate_slots("Component", slots, []); validate_slots('Component', slots, []);
let node; let node;
{ {
@ -110,11 +110,11 @@ function instance($$self, $$props, $$invalidate) {
const writable_props = []; const writable_props = [];
Object.keys($$props).forEach(key => { Object.keys($$props).forEach(key => {
if (!~writable_props.indexOf(key) && key.slice(0, 2) !== "$$" && key !== "slot") console_1.warn(`<Component> was created with unknown prop '${key}'`); if (!~writable_props.indexOf(key) && key.slice(0, 2) !== '$$' && key !== 'slot') console_1.warn(`<Component> was created with unknown prop '${key}'`);
}); });
function div_binding($$value) { function div_binding($$value) {
binding_callbacks[$$value ? "unshift" : "push"](() => { binding_callbacks[$$value ? 'unshift' : 'push'](() => {
node = $$value; node = $$value;
$$invalidate(0, node); $$invalidate(0, node);
}); });
@ -123,7 +123,7 @@ function instance($$self, $$props, $$invalidate) {
$$self.$capture_state = () => ({ node, foo }); $$self.$capture_state = () => ({ node, foo });
$$self.$inject_state = $$props => { $$self.$inject_state = $$props => {
if ("node" in $$props) $$invalidate(0, node = $$props.node); if ('node' in $$props) $$invalidate(0, node = $$props.node);
}; };
if ($$props && "$$inject" in $$props) { if ($$props && "$$inject" in $$props) {

@ -174,17 +174,17 @@ function instance($$self, $$props, $$invalidate) {
} }
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("buffered" in $$props) $$invalidate(0, buffered = $$props.buffered); if ('buffered' in $$props) $$invalidate(0, buffered = $$props.buffered);
if ("seekable" in $$props) $$invalidate(1, seekable = $$props.seekable); if ('seekable' in $$props) $$invalidate(1, seekable = $$props.seekable);
if ("played" in $$props) $$invalidate(2, played = $$props.played); if ('played' in $$props) $$invalidate(2, played = $$props.played);
if ("currentTime" in $$props) $$invalidate(3, currentTime = $$props.currentTime); if ('currentTime' in $$props) $$invalidate(3, currentTime = $$props.currentTime);
if ("duration" in $$props) $$invalidate(4, duration = $$props.duration); if ('duration' in $$props) $$invalidate(4, duration = $$props.duration);
if ("paused" in $$props) $$invalidate(5, paused = $$props.paused); if ('paused' in $$props) $$invalidate(5, paused = $$props.paused);
if ("volume" in $$props) $$invalidate(6, volume = $$props.volume); if ('volume' in $$props) $$invalidate(6, volume = $$props.volume);
if ("muted" in $$props) $$invalidate(7, muted = $$props.muted); if ('muted' in $$props) $$invalidate(7, muted = $$props.muted);
if ("playbackRate" in $$props) $$invalidate(8, playbackRate = $$props.playbackRate); if ('playbackRate' in $$props) $$invalidate(8, playbackRate = $$props.playbackRate);
if ("seeking" in $$props) $$invalidate(9, seeking = $$props.seeking); if ('seeking' in $$props) $$invalidate(9, seeking = $$props.seeking);
if ("ended" in $$props) $$invalidate(10, ended = $$props.ended); if ('ended' in $$props) $$invalidate(10, ended = $$props.ended);
}; };
return [ return [

@ -14,7 +14,7 @@ import {
transition_out transition_out
} from "svelte/internal"; } from "svelte/internal";
import Imported from "Imported.svelte"; import Imported from 'Imported.svelte';
function create_fragment(ctx) { function create_fragment(ctx) {
let imported; let imported;

@ -29,7 +29,7 @@ function create_fragment(ctx) {
}; };
} }
let name = "world"; let name = 'world';
class Component extends SvelteComponent { class Component extends SvelteComponent {
constructor(options) { constructor(options) {

@ -23,9 +23,9 @@ function create_fragment(ctx) {
let t1_value = /*b*/ ctx[1]?.optional + ""; let t1_value = /*b*/ ctx[1]?.optional + "";
let t1; let t1;
let t2; let t2;
let t3_value = /*c*/ ctx[2]["computed"] + ""; let t3_value = /*c*/ ctx[2]['computed'] + "";
let t3; let t3;
let t4_value = /*d*/ ctx[3]?.["computed_optional"] + ""; let t4_value = /*d*/ ctx[3]?.['computed_optional'] + "";
let t4; let t4;
let t5; let t5;
let t6_value = /*e*/ ctx[4]() + ""; let t6_value = /*e*/ ctx[4]() + "";
@ -48,8 +48,8 @@ function create_fragment(ctx) {
props: { props: {
a: /*a*/ ctx[0].normal, a: /*a*/ ctx[0].normal,
b: /*b*/ ctx[1]?.optional, b: /*b*/ ctx[1]?.optional,
c: /*c*/ ctx[2]["computed"], c: /*c*/ ctx[2]['computed'],
d: /*d*/ ctx[3]?.["computed_optional"], d: /*d*/ ctx[3]?.['computed_optional'],
e: /*e*/ ctx[4](), e: /*e*/ ctx[4](),
f: /*f*/ ctx[5]?.() f: /*f*/ ctx[5]?.()
} }
@ -71,8 +71,8 @@ function create_fragment(ctx) {
create_component(component.$$.fragment); create_component(component.$$.fragment);
attr(div, "a", div_a_value = /*a*/ ctx[0].normal); attr(div, "a", div_a_value = /*a*/ ctx[0].normal);
attr(div, "b", div_b_value = /*b*/ ctx[1]?.optional); attr(div, "b", div_b_value = /*b*/ ctx[1]?.optional);
attr(div, "c", div_c_value = /*c*/ ctx[2]["computed"]); attr(div, "c", div_c_value = /*c*/ ctx[2]['computed']);
attr(div, "d", div_d_value = /*d*/ ctx[3]?.["computed_optional"]); attr(div, "d", div_d_value = /*d*/ ctx[3]?.['computed_optional']);
attr(div, "e", div_e_value = /*e*/ ctx[4]()); attr(div, "e", div_e_value = /*e*/ ctx[4]());
attr(div, "f", div_f_value = /*f*/ ctx[5]?.()); attr(div, "f", div_f_value = /*f*/ ctx[5]?.());
}, },
@ -94,8 +94,8 @@ function create_fragment(ctx) {
p(ctx, [dirty]) { p(ctx, [dirty]) {
if ((!current || dirty & /*a*/ 1) && t0_value !== (t0_value = /*a*/ ctx[0].normal + "")) set_data(t0, t0_value); if ((!current || dirty & /*a*/ 1) && t0_value !== (t0_value = /*a*/ ctx[0].normal + "")) set_data(t0, t0_value);
if ((!current || dirty & /*b*/ 2) && t1_value !== (t1_value = /*b*/ ctx[1]?.optional + "")) set_data(t1, t1_value); if ((!current || dirty & /*b*/ 2) && t1_value !== (t1_value = /*b*/ ctx[1]?.optional + "")) set_data(t1, t1_value);
if ((!current || dirty & /*c*/ 4) && t3_value !== (t3_value = /*c*/ ctx[2]["computed"] + "")) set_data(t3, t3_value); if ((!current || dirty & /*c*/ 4) && t3_value !== (t3_value = /*c*/ ctx[2]['computed'] + "")) set_data(t3, t3_value);
if ((!current || dirty & /*d*/ 8) && t4_value !== (t4_value = /*d*/ ctx[3]?.["computed_optional"] + "")) set_data(t4, t4_value); if ((!current || dirty & /*d*/ 8) && t4_value !== (t4_value = /*d*/ ctx[3]?.['computed_optional'] + "")) set_data(t4, t4_value);
if ((!current || dirty & /*e*/ 16) && t6_value !== (t6_value = /*e*/ ctx[4]() + "")) set_data(t6, t6_value); if ((!current || dirty & /*e*/ 16) && t6_value !== (t6_value = /*e*/ ctx[4]() + "")) set_data(t6, t6_value);
if ((!current || dirty & /*f*/ 32) && t7_value !== (t7_value = /*f*/ ctx[5]?.() + "")) set_data(t7, t7_value); if ((!current || dirty & /*f*/ 32) && t7_value !== (t7_value = /*f*/ ctx[5]?.() + "")) set_data(t7, t7_value);
@ -107,11 +107,11 @@ function create_fragment(ctx) {
attr(div, "b", div_b_value); attr(div, "b", div_b_value);
} }
if (!current || dirty & /*c*/ 4 && div_c_value !== (div_c_value = /*c*/ ctx[2]["computed"])) { if (!current || dirty & /*c*/ 4 && div_c_value !== (div_c_value = /*c*/ ctx[2]['computed'])) {
attr(div, "c", div_c_value); attr(div, "c", div_c_value);
} }
if (!current || dirty & /*d*/ 8 && div_d_value !== (div_d_value = /*d*/ ctx[3]?.["computed_optional"])) { if (!current || dirty & /*d*/ 8 && div_d_value !== (div_d_value = /*d*/ ctx[3]?.['computed_optional'])) {
attr(div, "d", div_d_value); attr(div, "d", div_d_value);
} }
@ -126,8 +126,8 @@ function create_fragment(ctx) {
const component_changes = {}; const component_changes = {};
if (dirty & /*a*/ 1) component_changes.a = /*a*/ ctx[0].normal; if (dirty & /*a*/ 1) component_changes.a = /*a*/ ctx[0].normal;
if (dirty & /*b*/ 2) component_changes.b = /*b*/ ctx[1]?.optional; if (dirty & /*b*/ 2) component_changes.b = /*b*/ ctx[1]?.optional;
if (dirty & /*c*/ 4) component_changes.c = /*c*/ ctx[2]["computed"]; if (dirty & /*c*/ 4) component_changes.c = /*c*/ ctx[2]['computed'];
if (dirty & /*d*/ 8) component_changes.d = /*d*/ ctx[3]?.["computed_optional"]; if (dirty & /*d*/ 8) component_changes.d = /*d*/ ctx[3]?.['computed_optional'];
if (dirty & /*e*/ 16) component_changes.e = /*e*/ ctx[4](); if (dirty & /*e*/ 16) component_changes.e = /*e*/ ctx[4]();
if (dirty & /*f*/ 32) component_changes.f = /*f*/ ctx[5]?.(); if (dirty & /*f*/ 32) component_changes.f = /*f*/ ctx[5]?.();
component.$set(component_changes); component.$set(component_changes);
@ -168,12 +168,12 @@ function instance($$self, $$props, $$invalidate) {
let Component; let Component;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("a" in $$props) $$invalidate(0, a = $$props.a); if ('a' in $$props) $$invalidate(0, a = $$props.a);
if ("b" in $$props) $$invalidate(1, b = $$props.b); if ('b' in $$props) $$invalidate(1, b = $$props.b);
if ("c" in $$props) $$invalidate(2, c = $$props.c); if ('c' in $$props) $$invalidate(2, c = $$props.c);
if ("d" in $$props) $$invalidate(3, d = $$props.d); if ('d' in $$props) $$invalidate(3, d = $$props.d);
if ("e" in $$props) $$invalidate(4, e = $$props.e); if ('e' in $$props) $$invalidate(4, e = $$props.e);
if ("f" in $$props) $$invalidate(5, f = $$props.f); if ('f' in $$props) $$invalidate(5, f = $$props.f);
}; };
return [a, b, c, d, e, f, Component]; return [a, b, c, d, e, f, Component];

@ -13,7 +13,7 @@ import {
toggle_class toggle_class
} from "svelte/internal"; } from "svelte/internal";
import { reactiveStoreVal, unreactiveExport } from "./store"; import { reactiveStoreVal, unreactiveExport } from './store';
function create_fragment(ctx) { function create_fragment(ctx) {
let div0; let div0;

@ -7,7 +7,7 @@ function instance($$self, $$props, $$invalidate) {
let b; let b;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("x" in $$props) $$invalidate(0, x = $$props.x); if ('x' in $$props) $$invalidate(0, x = $$props.x);
}; };
$$self.$$.update = () => { $$self.$$.update = () => {

@ -6,13 +6,13 @@ function instance($$self, $$props, $$invalidate) {
let { b = 2 } = $$props; let { b = 2 } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("a" in $$props) $$invalidate(0, a = $$props.a); if ('a' in $$props) $$invalidate(0, a = $$props.a);
if ("b" in $$props) $$invalidate(1, b = $$props.b); if ('b' in $$props) $$invalidate(1, b = $$props.b);
}; };
$$self.$$.update = () => { $$self.$$.update = () => {
if ($$self.$$.dirty & /*a, b*/ 3) { if ($$self.$$.dirty & /*a, b*/ 3) {
$: console.log("max", Math.max(a, b)); $: console.log('max', Math.max(a, b));
} }
}; };

@ -51,7 +51,7 @@ function instance($$self, $$props, $$invalidate) {
let { current } = $$props; let { current } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("current" in $$props) $$invalidate(0, current = $$props.current); if ('current' in $$props) $$invalidate(0, current = $$props.current);
}; };
return [current]; return [current];

@ -68,8 +68,8 @@ function instance($$self, $$props, $$invalidate) {
let { slug } = $$props; let { slug } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("url" in $$props) $$invalidate(0, url = $$props.url); if ('url' in $$props) $$invalidate(0, url = $$props.url);
if ("slug" in $$props) $$invalidate(1, slug = $$props.slug); if ('slug' in $$props) $$invalidate(1, slug = $$props.slug);
}; };
return [url, slug]; return [url, slug];

@ -1,14 +1,14 @@
/* generated by Svelte vX.Y.Z */ /* generated by Svelte vX.Y.Z */
import { create_ssr_component } from "svelte/internal"; import { create_ssr_component } from "svelte/internal";
import { onDestroy, onMount } from "svelte"; import { onDestroy, onMount } from 'svelte';
function preload(input) { function preload(input) {
return output; return output;
} }
function foo() { function foo() {
console.log("foo"); console.log('foo');
} }
function swipe(node, callback) { function swipe(node, callback) {
@ -17,11 +17,11 @@ function swipe(node, callback) {
const Component = create_ssr_component(($$result, $$props, $$bindings, slots) => { const Component = create_ssr_component(($$result, $$props, $$bindings, slots) => {
onMount(() => { onMount(() => {
console.log("onMount"); console.log('onMount');
}); });
onDestroy(() => { onDestroy(() => {
console.log("onDestroy"); console.log('onDestroy');
}); });
return ``; return ``;

@ -23,7 +23,7 @@ function instance($$self, $$props, $$invalidate) {
let { custom } = $$props; let { custom } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("custom" in $$props) $$invalidate(0, custom = $$props.custom); if ('custom' in $$props) $$invalidate(0, custom = $$props.custom);
}; };
return [custom]; return [custom];

@ -125,8 +125,8 @@ function instance($$self, $$props, $$invalidate) {
let { y } = $$props; let { y } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("x" in $$props) $$invalidate(0, x = $$props.x); if ('x' in $$props) $$invalidate(0, x = $$props.x);
if ("y" in $$props) $$invalidate(1, y = $$props.y); if ('y' in $$props) $$invalidate(1, y = $$props.y);
}; };
return [x, y]; return [x, y];

@ -14,7 +14,7 @@ import {
transition_out transition_out
} from "svelte/internal"; } from "svelte/internal";
import { fade } from "svelte/transition"; import { fade } from 'svelte/transition';
function create_if_block(ctx) { function create_if_block(ctx) {
let div; let div;
@ -103,7 +103,7 @@ function instance($$self, $$props, $$invalidate) {
let { num = 1 } = $$props; let { num = 1 } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("num" in $$props) $$invalidate(0, num = $$props.num); if ('num' in $$props) $$invalidate(0, num = $$props.num);
}; };
return [num]; return [num];

@ -69,14 +69,14 @@ function create_fragment(ctx) {
}; };
} }
let world1 = "world"; let world1 = 'world';
let world2 = "world"; let world2 = 'world';
function instance($$self, $$props, $$invalidate) { function instance($$self, $$props, $$invalidate) {
const world3 = "world"; const world3 = 'world';
function foo() { function foo() {
$$invalidate(0, world3 = "svelte"); $$invalidate(0, world3 = 'svelte');
} }
return [world3]; return [world3];

@ -12,7 +12,7 @@ import {
text text
} from "svelte/internal"; } from "svelte/internal";
import { onMount } from "svelte"; import { onMount } from 'svelte';
function create_fragment(ctx) { function create_fragment(ctx) {
let p; let p;

@ -244,11 +244,11 @@ function instance($$self, $$props, $$invalidate) {
let { e } = $$props; let { e } = $$props;
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("a" in $$props) $$invalidate(0, a = $$props.a); if ('a' in $$props) $$invalidate(0, a = $$props.a);
if ("b" in $$props) $$invalidate(1, b = $$props.b); if ('b' in $$props) $$invalidate(1, b = $$props.b);
if ("c" in $$props) $$invalidate(2, c = $$props.c); if ('c' in $$props) $$invalidate(2, c = $$props.c);
if ("d" in $$props) $$invalidate(3, d = $$props.d); if ('d' in $$props) $$invalidate(3, d = $$props.d);
if ("e" in $$props) $$invalidate(4, e = $$props.e); if ('e' in $$props) $$invalidate(4, e = $$props.e);
}; };
return [a, b, c, d, e]; return [a, b, c, d, e];

@ -94,10 +94,10 @@ function instance($$self, $$props, $$invalidate) {
} }
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("currentTime" in $$props) $$invalidate(0, currentTime = $$props.currentTime); if ('currentTime' in $$props) $$invalidate(0, currentTime = $$props.currentTime);
if ("videoHeight" in $$props) $$invalidate(1, videoHeight = $$props.videoHeight); if ('videoHeight' in $$props) $$invalidate(1, videoHeight = $$props.videoHeight);
if ("videoWidth" in $$props) $$invalidate(2, videoWidth = $$props.videoWidth); if ('videoWidth' in $$props) $$invalidate(2, videoWidth = $$props.videoWidth);
if ("offsetWidth" in $$props) $$invalidate(3, offsetWidth = $$props.offsetWidth); if ('offsetWidth' in $$props) $$invalidate(3, offsetWidth = $$props.offsetWidth);
}; };
return [ return [

@ -79,7 +79,7 @@ function instance($$self, $$props, $$invalidate) {
} }
$$self.$$set = $$props => { $$self.$$set = $$props => {
if ("y" in $$props) $$invalidate(0, y = $$props.y); if ('y' in $$props) $$invalidate(0, y = $$props.y);
}; };
return [y, onwindowscroll]; return [y, onwindowscroll];

@ -1,3 +0,0 @@
export default {
html: '2048 2048'
};

@ -1,5 +0,0 @@
<script>
const num = 2_048;
</script>
{num} {2_048}
Loading…
Cancel
Save