Skip to content

Commit 1eb25eb

Browse files
authored
fix/warning_and_lodash (#296)
1 parent 1cd9935 commit 1eb25eb

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9-
## [2.2.0] - 2020-10-15
9+
## [2.2.1] - 2020-10-17
10+
11+
### Fixed
12+
13+
- Warning: Entry point 'ngx-jsonapi' contains deep imports into 'node_modules/rxjs/internal/util/noop'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
14+
- lodash dependency missing.
15+
16+
## [2.2.0] - 2020-10-17
1017

1118
### Changed
1219

src/core.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import { Resource } from './resource';
99
import { JsonapiConfig } from './jsonapi-config';
1010
import { Http as JsonapiHttpImported } from './sources/http.service';
1111
import { IDocumentResource } from './interfaces/data-object';
12-
import { noop } from 'rxjs/internal/util/noop';
13-
import { Observable, throwError } from 'rxjs';
12+
import { Observable, throwError, noop } from 'rxjs';
1413
import { tap, catchError } from 'rxjs/operators';
1514
import { IDocumentData } from './interfaces/document';
1615

src/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-jsonapi",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "JSON API library for Angular",
55
"module": "ngx-jsonapi/@ngx-jsonapi/ngx-jsonapi.es5.js",
66
"es2015": "ngx-jsonapi/@ngx-jsonapi/ngx-jsonapi.js",
@@ -23,6 +23,7 @@
2323
"license": "MIT",
2424
"homepage": "https://github.com/reyesoft/ngx-jsonapi#readme",
2525
"dependencies": {
26+
"lodash-es": "^4.17",
2627
"dexie": "^2.0.4"
2728
},
2829
"peerDependencies": {

0 commit comments

Comments
 (0)