Skip to content

Bump dependencies #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 118 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
9c8d034
Update devtools window prop name (#58)
wtho Jan 3, 2019
7ae9e5b
fix(ci): fix canary release not working with yarn (#62)
smithad15 Jan 8, 2019
ea380e9
chore: add root licence file (#63)
smithad15 Jan 8, 2019
4152b66
Create README.md in chinese
szb512 Feb 21, 2019
8f2dccc
Create npm-shrinkwrap.json
szb512 Feb 24, 2019
c4f043e
Delete npm-shrinkwrap.json
szb512 Feb 24, 2019
96127f8
Initial WhiteSource configuration file
Mar 4, 2019
6982675
chore(deps-dev): bump @commitlint/config-conventional
dependabot-support Mar 5, 2019
e422642
chore(deps): bump redux from 4.0.0 to 4.0.1
dependabot-support Mar 5, 2019
70dac59
chore(deps-dev): bump rimraf from 2.6.2 to 2.6.3
dependabot-support Mar 5, 2019
451ffe4
chore(deps-dev): bump redux-devtools-extension from 2.13.7 to 2.13.8
dependabot-support Mar 5, 2019
b037fb0
chore(deps): [security] bump extend from 3.0.1 to 3.0.2
dependabot-support Mar 5, 2019
1847cf9
chore(deps): [security] bump handlebars from 4.0.11 to 4.1.0
dependabot-support Mar 5, 2019
9204169
chore(deps): [security] bump merge from 1.2.0 to 1.2.1
dependabot-support Mar 5, 2019
1131b33
chore(deps): [security] bump url-parse from 1.4.1 to 1.4.4
dependabot-support Mar 5, 2019
7ad3d56
chore(deps-dev): bump typedoc from 0.11.1 to 0.14.2
dependabot-support Mar 5, 2019
3b2cf02
Merge pull request #1 from szb512/dependabot/npm_and_yarn/@commitlint…
szb512 Mar 10, 2019
960d9ef
Delete README.md (chinese simplifed))
szb512 Mar 10, 2019
3d048dc
Merge pull request #9 from szb512/dependabot/npm_and_yarn/url-parse-1…
szb512 Mar 10, 2019
7fd566d
Merge pull request #8 from szb512/dependabot/npm_and_yarn/merge-1.2.1
szb512 Mar 10, 2019
0d56e91
Merge pull request #2 from szb512/dependabot/npm_and_yarn/redux-4.0.1
szb512 Mar 10, 2019
9851fdc
Merge pull request #3 from szb512/dependabot/npm_and_yarn/rimraf-2.6.3
szb512 Mar 10, 2019
204423a
Merge pull request #7 from szb512/dependabot/npm_and_yarn/handlebars-…
szb512 Mar 10, 2019
896de4b
chore(deps-dev): bump @commitlint/cli from 7.0.0 to 7.5.2
dependabot-support Mar 10, 2019
99942a9
Merge branch 'master' into dependabot/npm_and_yarn/@commitlint/cli-7.5.2
szb512 Mar 10, 2019
a75771b
Merge pull request #4 from szb512/dependabot/npm_and_yarn/@commitlint…
szb512 Mar 10, 2019
ef8417b
Merge pull request #6 from szb512/dependabot/npm_and_yarn/extend-3.0.2
szb512 Mar 10, 2019
10b3ddf
Merge pull request #5 from szb512/dependabot/npm_and_yarn/redux-devto…
szb512 Mar 10, 2019
fbd3e06
Merge pull request #10 from szb512/dependabot/npm_and_yarn/typedoc-0.…
szb512 Mar 10, 2019
83e00ae
chore(deps-dev): bump babel-jest from 23.4.2 to 23.6.0
dependabot-support Mar 11, 2019
1673eea
chore(deps-dev): bump typedoc-plugin-sourcefile-url from 1.0.3 to 1.0.4
dependabot-support Mar 11, 2019
5a3bf9c
chore(deps): bump @angular/http from 4.4.7 to 7.2.8
dependabot-support Mar 11, 2019
a0a40ad
chore(deps-dev): bump lerna from 3.4.3 to 3.13.1
dependabot-support Mar 11, 2019
9971e63
chore(deps-dev): bump @types/redux-logger from 3.0.6 to 3.0.7
dependabot-support Mar 12, 2019
5a199a9
chore(deps-dev): bump husky from 1.1.3 to 1.3.1
dependabot-support Mar 12, 2019
0e0d3e7
chore(deps-dev): bump @angular/cli from 1.7.3 to 7.3.5
dependabot-support Mar 12, 2019
f63e075
chore(deps-dev): bump @types/node from 6.0.114 to 11.11.1
dependabot-support Mar 12, 2019
edb2a0e
chore(deps-dev): bump ts-node from 3.0.6 to 8.0.3
dependabot-support Mar 12, 2019
fc39384
chore(deps): bump redux-logger from 2.10.2 to 3.0.6
dependabot-support Mar 12, 2019
2ffc4ec
Merge pull request #15 from szb512/dependabot/npm_and_yarn/@types/red…
szb512 Mar 12, 2019
3e5df8b
Merge pull request #18 from szb512/dependabot/npm_and_yarn/@types/nod…
szb512 Mar 12, 2019
b97d2c0
Merge pull request #20 from szb512/dependabot/npm_and_yarn/redux-logg…
szb512 Mar 12, 2019
91bc706
Merge pull request #19 from szb512/dependabot/npm_and_yarn/ts-node-8.0.3
szb512 Mar 12, 2019
7587458
Merge branch 'master' into dependabot/npm_and_yarn/@angular/cli-7.3.5
szb512 Mar 12, 2019
23bf209
Merge pull request #17 from szb512/dependabot/npm_and_yarn/@angular/c…
szb512 Mar 12, 2019
e3f7764
Merge pull request #13 from szb512/dependabot/npm_and_yarn/@angular/h…
szb512 Mar 12, 2019
ec509e6
Merge pull request #11 from szb512/dependabot/npm_and_yarn/babel-jest…
szb512 Mar 12, 2019
de628b1
Merge branch 'master' into dependabot/npm_and_yarn/lerna-3.13.1
szb512 Mar 12, 2019
0f64c28
Merge pull request #14 from szb512/dependabot/npm_and_yarn/lerna-3.13.1
szb512 Mar 12, 2019
02fb995
Merge pull request #12 from szb512/dependabot/npm_and_yarn/typedoc-pl…
szb512 Mar 12, 2019
9ed308a
Merge pull request #16 from szb512/dependabot/npm_and_yarn/husky-1.3.1
szb512 Mar 12, 2019
450f54c
chore(deps-dev): bump typescript from 2.7.2 to 3.3.3333
dependabot-support Mar 13, 2019
1345b78
chore(deps): bump @angular/compiler from 6.0.7 to 7.2.9
dependabot-support Mar 13, 2019
29dc40e
chore(deps-dev): bump jest from 23.4.1 to 23.6.0
dependabot-support Mar 13, 2019
8f27974
chore(deps-dev): bump jest-junit from 5.1.0 to 6.3.0
dependabot-support Mar 13, 2019
907a567
Merge pull request #30 from szb512/dependabot/npm_and_yarn/jest-junit…
szb512 Mar 13, 2019
6f590ef
Merge branch 'master' into dependabot/npm_and_yarn/jest-23.6.0
szb512 Mar 13, 2019
6c690ed
Merge pull request #29 from szb512/dependabot/npm_and_yarn/jest-23.6.0
szb512 Mar 13, 2019
c9571c3
chore(deps-dev): bump jest-zone-patch from 0.0.8 to 0.0.10
dependabot-support Mar 13, 2019
b1f0abd
Merge pull request #28 from szb512/dependabot/npm_and_yarn/@angular/c…
szb512 Mar 13, 2019
584b20b
chore(deps-dev): bump protractor from 5.1.2 to 5.4.2
dependabot-support Mar 13, 2019
bc77a62
chore(deps): bump flux-standard-action from 1.2.0 to 2.0.3
dependabot-support Mar 13, 2019
9e35bcd
Merge pull request #26 from szb512/dependabot/npm_and_yarn/protractor…
szb512 Mar 13, 2019
26e7567
Merge pull request #21 from szb512/dependabot/npm_and_yarn/flux-stand…
szb512 Mar 13, 2019
441cfa1
Merge pull request #27 from szb512/dependabot/npm_and_yarn/jest-zone-…
szb512 Mar 13, 2019
b40f7e5
Merge branch 'master' into dependabot/npm_and_yarn/typescript-3.3.3333
szb512 Mar 13, 2019
e6a3739
Merge pull request #25 from szb512/dependabot/npm_and_yarn/typescript…
szb512 Mar 13, 2019
998457e
chore(deps-dev): bump @types/jest from 23.1.6 to 24.0.11
dependabot-support Mar 13, 2019
c09308f
chore(deps-dev): bump tslint from 5.11.0 to 5.14.0
dependabot-support Mar 13, 2019
7a29d77
chore(deps-dev): bump jest-preset-angular from 6.0.0 to 6.0.2
dependabot-support Mar 13, 2019
4a87bb7
Merge pull request #24 from szb512/dependabot/npm_and_yarn/jest-prese…
szb512 Mar 13, 2019
4e9fea5
Merge pull request #23 from szb512/dependabot/npm_and_yarn/tslint-5.14.0
szb512 Mar 13, 2019
0ca12e4
Merge pull request #22 from szb512/dependabot/npm_and_yarn/@types/jes…
szb512 Mar 13, 2019
5264edb
chore(deps): bump @angular/platform-browser-dynamic from 6.0.7 to 7.2.9
dependabot-support Mar 14, 2019
af4c89f
chore(deps-dev): bump codelyzer from 4.4.2 to 4.5.0
dependabot-support Mar 14, 2019
7176d00
chore(deps): bump zone.js from 0.8.26 to 0.8.29
dependabot-support Mar 14, 2019
a992655
chore(deps): bump ramda from 0.23.0 to 0.26.1
dependabot-support Mar 14, 2019
ecea04f
chore(deps-dev): bump tsickle from 0.32.1 to 0.34.3
dependabot-support Mar 14, 2019
5e9b5e7
chore(deps-dev): bump npm-run-all from 4.1.3 to 4.1.5
dependabot-support Mar 14, 2019
ca7dbd6
chore(deps-dev): bump @types/node from 11.11.1 to 11.11.3
dependabot-support Mar 14, 2019
39f08eb
chore(deps-dev): bump prettier from 1.13.7 to 1.16.4
dependabot-support Mar 14, 2019
48c5f66
Merge pull request #31 from szb512/dependabot/npm_and_yarn/@angular/p…
szb512 Mar 14, 2019
808c09f
chore(deps): bump core-js from 2.5.7 to 2.6.5
dependabot-support Mar 14, 2019
8af24f6
chore(deps): bump @angular/http from 7.2.8 to 7.2.9
dependabot-support Mar 14, 2019
43376ec
Merge pull request #32 from szb512/dependabot/npm_and_yarn/codelyzer-…
szb512 Mar 14, 2019
eb598a6
Merge pull request #36 from szb512/dependabot/npm_and_yarn/npm-run-al…
szb512 Mar 14, 2019
edf2df6
Merge branch 'master' into dependabot/npm_and_yarn/prettier-1.16.4
szb512 Mar 14, 2019
4a9e78b
Merge pull request #40 from szb512/dependabot/npm_and_yarn/prettier-1…
szb512 Mar 14, 2019
9496634
Merge pull request #33 from szb512/dependabot/npm_and_yarn/zone.js-0.…
szb512 Mar 14, 2019
a79fe98
Merge pull request #39 from szb512/dependabot/npm_and_yarn/core-js-2.6.5
szb512 Mar 14, 2019
9d52085
Merge pull request #34 from szb512/dependabot/npm_and_yarn/ramda-0.26.1
szb512 Mar 14, 2019
8b173bf
Merge pull request #37 from szb512/dependabot/npm_and_yarn/@types/nod…
szb512 Mar 14, 2019
e92d464
Merge pull request #38 from szb512/dependabot/npm_and_yarn/@angular/h…
szb512 Mar 14, 2019
60765dd
Merge pull request #35 from szb512/dependabot/npm_and_yarn/tsickle-0.…
szb512 Mar 14, 2019
f0280ef
chore(deps): bump redux-observable from 0.14.1 to 1.0.0
dependabot-support Mar 15, 2019
4724319
chore(deps-dev): bump @angular/cli from 7.3.5 to 7.3.6
dependabot-support Mar 15, 2019
b2bdf4d
chore(deps-dev): bump @commitlint/prompt-cli from 7.0.0 to 7.5.0
dependabot-support Mar 15, 2019
d814f2a
Merge pull request #41 from szb512/dependabot/npm_and_yarn/redux-obse…
szb512 Mar 15, 2019
734316c
Merge pull request #46 from szb512/dependabot/npm_and_yarn/@commitlin…
szb512 Mar 15, 2019
cfd4436
chore(deps): bump rxjs from 6.2.1 to 6.4.0
dependabot-support Mar 15, 2019
c4d6458
chore(deps-dev): bump lint-staged from 7.2.0 to 8.1.5
dependabot-support Mar 15, 2019
6327a47
Merge pull request #44 from szb512/dependabot/npm_and_yarn/lint-stage…
szb512 Mar 15, 2019
480a91f
chore(deps): bump flux-standard-action from 2.0.3 to 2.0.4
dependabot-support Mar 15, 2019
e0d1775
Merge pull request #43 from szb512/dependabot/npm_and_yarn/rxjs-6.4.0
szb512 Mar 15, 2019
e88eefd
Merge pull request #42 from szb512/dependabot/npm_and_yarn/flux-stand…
szb512 Mar 15, 2019
ceac67f
Merge pull request #45 from szb512/dependabot/npm_and_yarn/@angular/c…
szb512 Mar 15, 2019
eea0222
chore(deps-dev): bump @types/node from 11.11.3 to 11.11.4
dependabot-support Mar 20, 2019
7ddaa14
chore(deps): bump @angular/http from 7.2.9 to 7.2.10
dependabot-support Mar 20, 2019
0214a3f
chore(deps): bump @angular/platform-browser-dynamic from 7.2.9 to 7.2.10
dependabot-support Mar 20, 2019
4053e50
chore(deps): bump @angular/compiler from 7.2.9 to 7.2.10
dependabot-support Mar 20, 2019
12dfa3e
chore(deps-dev): bump typescript from 3.3.3333 to 3.3.4000
dependabot-support Mar 20, 2019
f030339
Merge pull request #50 from szb512/dependabot/npm_and_yarn/@types/nod…
szb512 Mar 20, 2019
6896179
Merge pull request #55 from szb512/dependabot/npm_and_yarn/typescript…
szb512 Mar 20, 2019
ca75948
Merge pull request #52 from szb512/dependabot/npm_and_yarn/@angular/p…
szb512 Mar 20, 2019
d2281c7
Merge pull request #54 from szb512/dependabot/npm_and_yarn/@angular/c…
szb512 Mar 20, 2019
8bd24e9
chore(deps): bump core-js from 2.6.5 to 3.0.0
dependabot-support Mar 20, 2019
c245f59
Merge pull request #51 from szb512/dependabot/npm_and_yarn/@angular/h…
szb512 Mar 20, 2019
dfc77c1
Update package.json
szb512 Mar 21, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run: yarn release:canary --yes
- run: npm run release:canary --yes

release_stable:
<<: *defaults
Expand Down
8 changes: 8 additions & 0 deletions .whitesource
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
##########################################################
#### WhiteSource Integration configuration file ####
##########################################################

# Configuration #
#---------------#
ws.repo.scan=true
vulnerable.check.run.conclusion.level=failure
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Angular Redux

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build:store": "ng-packagr -p packages/store",
"build:form": "ng-packagr -p packages/form",
"build:router": "ng-packagr -p packages/router",
"release:canary": "lerna publish --canary --npm-tag next",
"release:canary": "lerna publish --canary --npm-tag next --npm-client npm",
"release:stable": "lerna version",
"release:stable:ci": "lerna publish from-git",
"clean": "npm-run-all -p clean:*",
Expand All @@ -36,38 +36,38 @@
"devDependencies": {
"@angular/animations": "6.0.7",
"@angular/common": "6.0.7",
"@angular/compiler": "6.0.7",
"@angular/compiler": "7.2.10",
"@angular/compiler-cli": "6.0.7",
"@angular/core": "6.0.7",
"@angular/forms": "6.0.7",
"@angular/platform-browser": "6.0.7",
"@angular/platform-browser-dynamic": "6.0.7",
"@angular/platform-browser-dynamic": "7.2.10",
"@angular/router": "6.0.7",
"@commitlint/cli": "7.0.0",
"@commitlint/config-conventional": "7.0.1",
"@commitlint/prompt-cli": "7.0.0",
"@types/jest": "23.1.6",
"@commitlint/cli": "7.5.2",
"@commitlint/config-conventional": "7.5.0",
"@commitlint/prompt-cli": "7.5.0",
"@types/jest": "24.0.11",
"babel-core": "6.26.3",
"babel-jest": "23.4.2",
"codelyzer": "4.4.2",
"husky": "1.1.3",
"jest": "23.4.1",
"jest-junit": "5.1.0",
"jest-preset-angular": "6.0.0",
"jest-zone-patch": "0.0.8",
"lerna": "3.4.3",
"lint-staged": "7.2.0",
"babel-jest": "23.6.0",
"codelyzer": "4.5.0",
"husky": "1.3.1",
"jest": "23.6.0",
"jest-junit": "6.3.0",
"jest-preset-angular": "6.0.2",
"jest-zone-patch": "0.0.10",
"lerna": "3.13.1",
"lint-staged": "8.1.5",
"ng-packagr": "3.0.6",
"npm-run-all": "4.1.3",
"prettier": "1.13.7",
"redux": "4.0.0",
"redux-logger": "2.10.2",
"rimraf": "2.6.2",
"rxjs": "6.2.1",
"tsickle": "0.32.1",
"prettier": "1.16.4",
"npm-run-all": "4.1.5",
"redux": "4.0.1",
"redux-logger": "3.0.6",
"rimraf": "2.6.3",
"rxjs": "6.4.0",
"tsickle": "0.34.3",
"tslib": "1.9.3",
"tslint": "5.11.0",
"typescript": "2.7.2",
"zone.js": "0.8.26"
"tslint": "5.14.0",
"typescript": "3.3.4000",
"zone.js": "0.8.29"
}
}
29 changes: 15 additions & 14 deletions packages/example-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,30 @@
"@angular-redux/router": "latest",
"@angular-redux/store": "latest",
"@angular/common": "^4.1.0",
"@angular/compiler": "^4.1.0",
"@angular/compiler": "^7.2.9",
"@angular/core": "^4.1.0",
"@angular/forms": "^4.1.0",
"@angular/http": "^4.1.0",
"@angular/http": "^7.2.8",
"@angular/platform-browser": "^4.1.0",
"@angular/platform-browser-dynamic": "^4.1.0",
"@angular/platform-browser-dynamic": "^7.2.9",
"@angular/router": "^4.1.0",
"core-js": "^2.4.1",
"flux-standard-action": "^1.2.0",
"ramda": "^0.23.0",
"redux": "^3.6.0",
"core-js": "^3.0.0",
"flux-standard-action": "^2.0.3",
"ramda": "^0.26.1",
"redux": "^4.0.1",
"redux-logger": "^3.0.1",
"redux-observable": "^0.14.1",
"rxjs": "^5.3.0",
"redux-observable": "^1.0.0",
"rxjs": "^6.4.0",
"zone.js": "^0.8.9"
"typescript": "^3.3.3333"
},
"devDependencies": {
"@angular/cli": "1.7.3",
"@angular/cli": "7.3.6",
"@angular/compiler-cli": "^4.1.0",
"@types/node": "~6.0.71",
"@types/node": "~11.11.1",
"@types/redux-logger": "^3.0.0",
"protractor": "~5.1.1",
"ts-node": "~3.0.2",
"typescript": "^2.4.1"
"protractor": "~5.4.2",
"ts-node": "~8.0.3",

}
}
5 changes: 3 additions & 2 deletions packages/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@
"rxjs": "^6.0.0"
},
"devDependencies": {
"typedoc": "0.11.1",
"typedoc-plugin-sourcefile-url": "1.0.3"
"redux-devtools-extension": "^2.13.7",
"typedoc": "0.14.2",
"typedoc-plugin-sourcefile-url": "1.0.4"
},
"main": "dist/bundles/angular-redux-store.umd.js",
"module": "dist/fesm5/angular-redux-store.js",
Expand Down
36 changes: 29 additions & 7 deletions packages/store/src/components/dev-tools.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
import { ApplicationRef, Injectable, NgZone } from '@angular/core';
import { Unsubscribe } from 'redux';
import { AnyAction, StoreEnhancer, Unsubscribe } from 'redux';
import { EnhancerOptions } from 'redux-devtools-extension';
import { NgRedux } from './ng-redux';

declare const window: any;
const environment: any = typeof window !== 'undefined' ? window : {};
export interface ReduxDevTools {
(options: EnhancerOptions): StoreEnhancer<any>;
listen: (
onMessage: (message: AnyAction) => void,
instanceId?: string,
) => void;
}

interface WindowWithReduxDevTools extends Window {
__REDUX_DEVTOOLS_EXTENSION__?: ReduxDevTools;
devToolsExtension?: ReduxDevTools;
}

const environment: WindowWithReduxDevTools = (typeof window !== 'undefined'
? window
: {}) as WindowWithReduxDevTools;

/**
* An angular-2-ified version of the Redux DevTools chrome extension.
Expand All @@ -22,14 +37,14 @@ export class DevToolsExtension {
* format as described here:
* [zalmoxisus/redux-devtools-extension/blob/master/docs/API/Arguments.md]
*/
enhancer = (options?: object) => {
enhancer = (options?: EnhancerOptions) => {
let subscription: Unsubscribe;
if (!this.isEnabled()) {
return null;
}

// Make sure changes from dev tools update angular's view.
environment.devToolsExtension.listen(({ type }: any) => {
this.getDevTools()!.listen(({ type }) => {
if (type === 'START') {
subscription = this.ngRedux.subscribe(() => {
if (!NgZone.isInAngularZone()) {
Expand All @@ -41,11 +56,18 @@ export class DevToolsExtension {
}
});

return environment.devToolsExtension(options);
return this.getDevTools()!(options || {});
};

/**
* Returns true if the extension is installed and enabled.
*/
isEnabled = () => environment && environment.devToolsExtension;
isEnabled = () => !!this.getDevTools();

/**
* Returns the redux devtools enhancer.
*/
getDevTools = () =>
environment &&
(environment.__REDUX_DEVTOOLS_EXTENSION__ || environment.devToolsExtension);
}
Loading