Skip to content

Commit

Permalink
Fix react (#50)
Browse files Browse the repository at this point in the history
* Bump @types/mocha from 8.2.3 to 9.0.0
* Bump sift from 13.5.4 to 14.0.2
* Removed inclusion of localStorage **breaking**

__*** Breaking change ***__
Clients will no longer try to automatically supply a valid `localStorage` as this ruins pre-compiled clients (eg. React). If you still want to use the client eg. for a "slave" server, then you need to include something like:

```js
let LocalStorage = require('node-localstorage').LocalStorage;
global.localStorage = new LocalStorage('./.scratch');
```
before requiring the @feathersjs-offline/client module.
  • Loading branch information
mhillerstrom authored Jul 30, 2021
1 parent 4658e69 commit d2d093b
Show file tree
Hide file tree
Showing 18 changed files with 68 additions and 2,308 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.1.0](http://github.com/feathersjs-offline/compare/v1.0.7...v1.0.8) (2021-07-30)

**Note:** Version bump only for package feathersjs-offline

## [1.0.8](http://github.com/feathersjs-offline/compare/v1.0.7...v1.0.8) (2021-07-17)

**Note:** Version bump only for package feathersjs-offline
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "feathersjs-offline",
"description": "FeathersJS offline-first realtime universe",

"version": "1.0.8",
"version": "1.1.0",
"keywords": [
"feathers",
"feathersjs-offline",
Expand Down
8 changes: 8 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.


## [1.1.0](http://github.com/feathersjs-offline/owndata-ownnet/packages/client/compare/v1.0.7...v1.0.8) (2021-07-30)

*** Breaking change *** Clients will no longer try to automatically supply a valid `localStorage` as this ruins pre-compiled clients (eg. React). If you still want to use the client eg. for a "slave" server, then you need to include something like:
``` js
let LocalStorage = require('node-localstorage').LocalStorage;
global.localStorage = new LocalStorage('./.scratch');
```
before requiring `@feathersjs-offline/client`.
## [1.0.8](http://github.com/feathersjs-offline/owndata-ownnet/packages/client/compare/v1.0.7...v1.0.8) (2021-07-17)

Clients automatic inclusion of `node-localstorage` moved into `_setup()` as it otherwise always will be included in compiled clients.
Expand Down
Loading

0 comments on commit d2d093b

Please sign in to comment.