Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vtmn/svelte

Package Overview
Dependencies
Maintainers
2
Versions
341
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtmn/svelte - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.0.7](https://github.com/Decathlon/vitamin-web/compare/@vtmn/svelte@0.0.6...@vtmn/svelte@0.0.7) (2021-02-26)
**Note:** Version bump only for package @vtmn/svelte
## [0.0.6](https://github.com/Decathlon/vitamin-web/compare/@vtmn/svelte@0.0.5...@vtmn/svelte@0.0.6) (2021-02-24)

@@ -8,0 +16,0 @@

35

dist/VtmnButton.js

@@ -249,18 +249,20 @@ (function (global, factory) {

}
function mount_component(component, target, anchor) {
function mount_component(component, target, anchor, customElement) {
const { fragment, on_mount, on_destroy, after_update } = component.$$;
fragment && fragment.m(target, anchor);
// onMount happens before the initial afterUpdate
add_render_callback(() => {
const new_on_destroy = on_mount.map(run).filter(is_function);
if (on_destroy) {
on_destroy.push(...new_on_destroy);
}
else {
// Edge case - component was destroyed immediately,
// most likely as a result of a binding initialising
run_all(new_on_destroy);
}
component.$$.on_mount = [];
});
if (!customElement) {
// onMount happens before the initial afterUpdate
add_render_callback(() => {
const new_on_destroy = on_mount.map(run).filter(is_function);
if (on_destroy) {
on_destroy.push(...new_on_destroy);
}
else {
// Edge case - component was destroyed immediately,
// most likely as a result of a binding initialising
run_all(new_on_destroy);
}
component.$$.on_mount = [];
});
}
after_update.forEach(add_render_callback);

@@ -301,2 +303,3 @@ }

on_destroy: [],
on_disconnect: [],
before_update: [],

@@ -341,3 +344,3 @@ after_update: [],

transition_in(component.$$.fragment);
mount_component(component, options.target, options.anchor);
mount_component(component, options.target, options.anchor, options.customElement);
flush();

@@ -373,3 +376,3 @@ }

/* src/components/VtmnButton.svelte generated by Svelte v3.32.1 */
/* src/components/VtmnButton.svelte generated by Svelte v3.34.0 */

@@ -376,0 +379,0 @@ function create_fragment(ctx) {

{
"name": "@vtmn/svelte",
"version": "0.0.6",
"version": "0.0.7",
"description": "Decathlon Design System - Vitamin Svelte library",

@@ -33,10 +33,10 @@ "keywords": [

"@rollup/plugin-node-resolve": "^11.2.0",
"@vtmn/css-button": "^0.1.1",
"@vtmn/css-button": "^0.1.6",
"chokidar-cli": "^2.1.0",
"eslint": "7.19.0",
"eslint-plugin-svelte3": "3.1.1",
"rollup": "^2.39.0",
"eslint": "7.20.0",
"eslint-plugin-svelte3": "3.1.2",
"rollup": "^2.40.0",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-svelte": "^7.1.0",
"svelte": "3.32.1",
"svelte": "3.34.0",
"svelte-preprocess": "4.6.9"

@@ -53,3 +53,3 @@ },

],
"gitHead": "701fb8f07a77df9045ca5eefcc54b7e5c95e547d"
"gitHead": "37fe33c756eea3d8868507a12ce817603a3d4712"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc