Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 8f00219

Browse files
committed
0.4.2
workaround sveltejs/svelte#3364
1 parent 3966340 commit 8f00219

File tree

6 files changed

+19
-13
lines changed

6 files changed

+19
-13
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.4.2]
8+
- Update to svelte 3.7.1 and add workaround for https://github.com/sveltejs/svelte/issues/3364
9+
710
## [0.4.1]
811
- Pin against svelte 3.6.1 to resolve #44 while waiting for https://github.com/sveltejs/svelte/issues/3354
912

demo/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"karma-nativescript-launcher": "0.4.0",
3131
"karma-webpack": "3.0.5",
3232
"mocha": "6.1.4",
33-
"svelte": "3.6.1",
33+
"svelte": "^3.7.1",
3434
"nativescript-dev-webpack": "1.0.1",
3535
"svelte-loader": "halfnelson/svelte-loader#fix-virtual-purge",
3636
"svelte-native-preprocessor": "^0.1.4",

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-native",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "Svelte integration for NativeScript",
55
"private": true,
66
"repository": {
@@ -22,17 +22,17 @@
2222
"license": "MIT",
2323
"peerDependencies": {
2424
"tns-core-modules": "^6.0.1",
25-
"svelte": "3.6.1"
25+
"svelte": "^3.7.1"
2626
},
2727
"devDependencies": {
2828
"glob": "^7.1.3",
2929
"rollup": "^1.17.0",
3030
"rollup-plugin-node-resolve": "^5.2.0",
3131
"rollup-plugin-svelte": "^5.1.0",
3232
"rollup-plugin-typescript2": "^0.22.0",
33-
"svelte": "3.6.1",
33+
"svelte": "^3.7.1",
3434
"tns-core-modules": "^6.0.1",
3535
"typescript": "^3.5.3",
3636
"rimraf": "^2.6.3"
3737
}
38-
}
38+
}

src/components/SlotComponent.svelte

+4-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
<slot props={$$props} />
1+
<slot props={p} />
2+
<script>
3+
$: p = $$props
4+
</script>

0 commit comments

Comments
 (0)