From 345fbb0c28290c8ed5142b6e35a2cb121f94cb95 Mon Sep 17 00:00:00 2001 From: novacbn <31122674+novacbn@users.noreply.github.com> Date: Mon, 18 May 2020 21:26:09 -0400 Subject: [PATCH] - Updated `README.md` - Updated `CHANGELOG.md` - Updated package data --- CHANGELOG.md | 8 ++++++++ README.md | 3 ++- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04ac882..05ee882 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +## v0.1.2 - 2020/05/18 + +- Added `event` to `util/shared/event` + - Similar to `readable` / `writable`, returns an object `{dispatch: (value) => void, subscriber: (run, invalidate) => unsubscribe}` + - Use this to create singleton event publishers, when not in context of the Browser's DOM. e.g. Application sub-systems +- Added `noop` to `util/shared/functional` for dummy function placeholders +- Fixed `router` not working in hash mode (removed erroneous `format_url` call) + ## v0.1.1 - 2020/03/30 - **BREAKING CHANGES** diff --git a/README.md b/README.md index 28f1f75..bb75228 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Provides a collection of common Svelte Actions, Svelte Stores, and Utility Funct Open your terminal and install via `npm`: ```sh -npm install git+https://github.com/novacbn/svelte-commons#0.1.1 +npm install git+https://github.com/novacbn/svelte-commons#0.1.2 ``` ### Documentation @@ -39,6 +39,7 @@ See TypeDoc documentation at [novacbn.github.io/svelte-commons](https://novacbn. - [`session_storage`](https://novacbn.github.io/svelte-commons/modules/_stores_browser_storage_.html#session_storage) — **browser only** - [`storage`](https://novacbn.github.io/svelte-commons/modules/_stores_shared_storage_#storage) — **shared** - Utilities + - [`event`](https://novacbn.github.io/svelte-commons/modules/_util_shared_event_.html#event) — **shared** - [`format_css_declaration`](https://novacbn.github.io/svelte-commons/modules/_util_shared_browser_.html#format_css_declaration) — **shared** - [`format_css_reference`](https://novacbn.github.io/svelte-commons/modules/_util_shared_browser_.html#format_css_reference) — **shared** - [`format_css_variable`](https://novacbn.github.io/svelte-commons/modules/_util_shared_browser_.html#format_css_variable) — **shared** diff --git a/package-lock.json b/package-lock.json index c7f7ce0..b6abca1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "svelte-commons", - "version": "0.1.1", + "version": "0.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 63b972b..4db4fa2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte-commons", - "version": "0.1.1", + "version": "0.1.2", "description": "Provides common utilities for working with Svelte", "main": "lib/index.js", "module": "dist/esm/index.js",