Skip to content

Commit

Permalink
security dep updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ivosdc committed Dec 23, 2020
1 parent 9bd9d80 commit 8be96cf
Show file tree
Hide file tree
Showing 4 changed files with 991 additions and 1,079 deletions.
40 changes: 25 additions & 15 deletions dist/build/crud-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,21 @@
this.n.forEach(detach);
}
}
function attribute_to_object(attributes) {
const result = {};
for (const attribute of attributes) {
result[attribute.name] = attribute.value;
}
return result;
}

let current_component;
function set_current_component(component) {
current_component = component;
}
function get_current_component() {
if (!current_component)
throw new Error(`Function called outside component initialization`);
throw new Error('Function called outside component initialization');
return current_component;
}
function createEventDispatcher() {
Expand Down Expand Up @@ -605,12 +612,12 @@
'<path d="M31 12h-11v-11c0-0.552-0.448-1-1-1h-6c-0.552 0-1 0.448-1 1v11h-11c-0.552 0-1 0.448-1 1v6c0 0.552 0.448 1 1 1h11v11c0 0.552 0.448 1 1 1h6c0.552 0 1-0.448 1-1v-11h11c0.552 0 1-0.448 1-1v-6c0-0.552-0.448-1-1-1z"></path>\n' +
'</svg>';

/* src/SvelteGenericCrudTable.svelte generated by Svelte v3.25.1 */
/* src/SvelteGenericCrudTable.svelte generated by Svelte v3.31.0 */

function get_each_context_2(ctx, list, i) {
function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[39] = list[i];
child_ctx[41] = i;
child_ctx[33] = list[i];
child_ctx[35] = i;
return child_ctx;
}

Expand All @@ -621,10 +628,10 @@
return child_ctx;
}

function get_each_context(ctx, list, i) {
function get_each_context_2(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[33] = list[i];
child_ctx[35] = i;
child_ctx[39] = list[i];
child_ctx[41] = i;
return child_ctx;
}

Expand Down Expand Up @@ -1160,8 +1167,8 @@
let mounted;
let dispose;

function click_handler_1(...args) {
return /*click_handler_1*/ ctx[19](/*i*/ ctx[35], ...args);
function click_handler_1() {
return /*click_handler_1*/ ctx[19](/*i*/ ctx[35]);
}

return {
Expand Down Expand Up @@ -1348,8 +1355,8 @@
return /*click_handler_4*/ ctx[22](/*i*/ ctx[35], ...args);
}

function click_handler_5(...args) {
return /*click_handler_5*/ ctx[23](/*i*/ ctx[35], ...args);
function click_handler_5() {
return /*click_handler_5*/ ctx[23](/*i*/ ctx[35]);
}

return {
Expand Down Expand Up @@ -1408,8 +1415,8 @@
let mounted;
let dispose;

function click_handler_6(...args) {
return /*click_handler_6*/ ctx[24](/*i*/ ctx[35], ...args);
function click_handler_6() {
return /*click_handler_6*/ ctx[24](/*i*/ ctx[35]);
}

function click_handler_7(...args) {
Expand Down Expand Up @@ -1912,7 +1919,10 @@

init(
this,
{ target: this.shadowRoot },
{
target: this.shadowRoot,
props: attribute_to_object(this.attributes)
},
instance,
create_fragment,
safe_not_equal,
Expand Down
40 changes: 25 additions & 15 deletions dist/build/crud-table.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,21 @@ class HtmlTag {
this.n.forEach(detach);
}
}
function attribute_to_object(attributes) {
const result = {};
for (const attribute of attributes) {
result[attribute.name] = attribute.value;
}
return result;
}

let current_component;
function set_current_component(component) {
current_component = component;
}
function get_current_component() {
if (!current_component)
throw new Error(`Function called outside component initialization`);
throw new Error('Function called outside component initialization');
return current_component;
}
function createEventDispatcher() {
Expand Down Expand Up @@ -599,12 +606,12 @@ const iconcreate = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width=
'<path d="M31 12h-11v-11c0-0.552-0.448-1-1-1h-6c-0.552 0-1 0.448-1 1v11h-11c-0.552 0-1 0.448-1 1v6c0 0.552 0.448 1 1 1h11v11c0 0.552 0.448 1 1 1h6c0.552 0 1-0.448 1-1v-11h11c0.552 0 1-0.448 1-1v-6c0-0.552-0.448-1-1-1z"></path>\n' +
'</svg>';

/* src/SvelteGenericCrudTable.svelte generated by Svelte v3.25.1 */
/* src/SvelteGenericCrudTable.svelte generated by Svelte v3.31.0 */

function get_each_context_2(ctx, list, i) {
function get_each_context(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[39] = list[i];
child_ctx[41] = i;
child_ctx[33] = list[i];
child_ctx[35] = i;
return child_ctx;
}

Expand All @@ -615,10 +622,10 @@ function get_each_context_1(ctx, list, i) {
return child_ctx;
}

function get_each_context(ctx, list, i) {
function get_each_context_2(ctx, list, i) {
const child_ctx = ctx.slice();
child_ctx[33] = list[i];
child_ctx[35] = i;
child_ctx[39] = list[i];
child_ctx[41] = i;
return child_ctx;
}

Expand Down Expand Up @@ -1154,8 +1161,8 @@ function create_if_block_8(ctx) {
let mounted;
let dispose;

function click_handler_1(...args) {
return /*click_handler_1*/ ctx[19](/*i*/ ctx[35], ...args);
function click_handler_1() {
return /*click_handler_1*/ ctx[19](/*i*/ ctx[35]);
}

return {
Expand Down Expand Up @@ -1342,8 +1349,8 @@ function create_if_block_4(ctx) {
return /*click_handler_4*/ ctx[22](/*i*/ ctx[35], ...args);
}

function click_handler_5(...args) {
return /*click_handler_5*/ ctx[23](/*i*/ ctx[35], ...args);
function click_handler_5() {
return /*click_handler_5*/ ctx[23](/*i*/ ctx[35]);
}

return {
Expand Down Expand Up @@ -1402,8 +1409,8 @@ function create_if_block_3(ctx) {
let mounted;
let dispose;

function click_handler_6(...args) {
return /*click_handler_6*/ ctx[24](/*i*/ ctx[35], ...args);
function click_handler_6() {
return /*click_handler_6*/ ctx[24](/*i*/ ctx[35]);
}

function click_handler_7(...args) {
Expand Down Expand Up @@ -1906,7 +1913,10 @@ class SvelteGenericCrudTable extends SvelteElement {

init(
this,
{ target: this.shadowRoot },
{
target: this.shadowRoot,
props: attribute_to_object(this.attributes)
},
instance,
create_fragment,
safe_not_equal,
Expand Down
Loading

0 comments on commit 8be96cf

Please sign in to comment.