Skip to content

Commit

Permalink
⬆️ Dependencies upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasduspiva committed Jun 7, 2021
1 parent 066f0d9 commit 25e8c1a
Show file tree
Hide file tree
Showing 4 changed files with 1,150 additions and 2,278 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.4.0] - 2021-06-07

### Added

- TypeScript example to `README.md` by [@lukasduspiva](https://github.com/lukasduspiva).
- Status badges to `README.md` by [@lukasduspiva](https://github.com/lukasduspiva).

### Security

- Dependencies upgrade by [@lukasduspiva](https://github.com/lukasduspiva).

## [0.3.0] - 2021-02-27

### Added
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-observables",
"version": "0.3.0",
"version": "0.4.0",
"description": "Simple observable implementation for JavaScript",
"main": "dist/umd/index.js",
"module": "dist/es/index.js",
Expand All @@ -22,17 +22,17 @@
"url": "https://github.com/lukasduspiva/simple-observables.git"
},
"devDependencies": {
"@babel/core": "^7.13.1",
"@babel/plugin-transform-runtime": "^7.13.7",
"@babel/preset-env": "^7.13.0",
"@babel/runtime": "^7.13.7",
"@babel/core": "^7.14.3",
"@babel/plugin-transform-runtime": "^7.14.3",
"@babel/preset-env": "^7.14.4",
"@babel/runtime": "^7.14.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"babel-jest": "^26.6.3",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"rollup": "^2.39.1",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"babel-jest": "^27.0.2",
"jest": "^27.0.4",
"prettier": "^2.3.1",
"rollup": "^2.51.0",
"rollup-plugin-terser": "^7.0.2"
}
}
8 changes: 2 additions & 6 deletions src/__test__/createObservable.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,8 @@ describe('createObservable', () => {
});
describe('when focusing on `unsubscribe` (fourth desctructured value)', () => {
it('should be a function', () => {
const [
_getValue,
_setValue,
_subscribe,
unsubscribe,
] = createObservable();
const [_getValue, _setValue, _subscribe, unsubscribe] =
createObservable();
expect(typeof unsubscribe).toBe('function');
});
it('should remove the effect of subscription, so once `setValue` is called it no longer invokes observer', () => {
Expand Down
Loading

0 comments on commit 25e8c1a

Please sign in to comment.