Skip to content

Commit 7faac32

Browse files
committed
feat(image-loader): update to support angular 7
1 parent a6b798f commit 7faac32

File tree

4 files changed

+1400
-1669
lines changed

4 files changed

+1400
-1669
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ Run `npm run release` to create a new release. This will use [Standard Version][
261261

262262
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README][angular-cli-readme].
263263

264-
[circle-badge]: https://circleci.com/gh/thisissoon/angular-image-loader.svg?branch=master
264+
[circle-badge]: https://circleci.com/gh/thisissoon/angular-image-loader.svg?style=shield
265265
[circle-badge-url]: https://circleci.com/gh/thisissoon/angular-image-loader
266266
[coveralls-badge]: https://coveralls.io/repos/github/thisissoon/angular-image-loader/badge.svg?branch=master
267267
[coveralls-badge-url]: https://coveralls.io/github/thisissoon/angular-image-loader?branch=master

package.json

Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"description": "A simple progressive, responsive, lazy image and video loading library for Angular that detects browser size and loads the appropriate image or video only when the element is in viewport. This package requires @thisissoon/angular-inviewport",
55
"keywords": [
66
"angular",
7-
"angular 5",
87
"component",
98
"image loader",
109
"lazy",
@@ -50,61 +49,63 @@
5049
"private": false,
5150
"dependencies": {},
5251
"peerDependencies": {
53-
"@angular/core": ">=5.0.0 <7.0.0 || >=5.0.0-beta <7.0.0",
52+
"@angular/core": ">=5.0.0 <8.0.0",
5453
"@thisissoon/angular-inviewport": ">=3.0.0 <4.0.0",
5554
"rxjs": ">=6.0.0 <7.0.0"
5655
},
5756
"devDependencies": {
58-
"@angular-devkit/build-angular": "~0.6.3",
59-
"@angular/animations": "^6.0.0",
60-
"@angular/cli": "^6.0.3",
61-
"@angular/common": "^6.0.0",
62-
"@angular/compiler": "^6.0.0",
63-
"@angular/compiler-cli": "^6.0.0",
64-
"@angular/core": "^6.0.0",
65-
"@angular/forms": "^6.0.0",
66-
"@angular/http": "^6.0.0",
67-
"@angular/language-service": "^6.0.0",
68-
"@angular/platform-browser": "^6.0.0",
69-
"@angular/platform-browser-dynamic": "^6.0.0",
70-
"@angular/router": "^6.0.0",
57+
"@angular-devkit/build-angular": "~0.10.0",
58+
"@angular/animations": "^7.0.4",
59+
"@angular/cli": "^7.0.6",
60+
"@angular/common": "^7.0.4",
61+
"@angular/compiler": "^7.0.4",
62+
"@angular/compiler-cli": "^7.0.4",
63+
"@angular/core": "^7.0.4",
64+
"@angular/forms": "^7.0.4",
65+
"@angular/http": "^7.0.4",
66+
"@angular/language-service": "^7.0.4",
67+
"@angular/platform-browser": "^7.0.4",
68+
"@angular/platform-browser-dynamic": "^7.0.4",
69+
"@angular/router": "^7.0.4",
7170
"@thisissoon/angular-inviewport": "^3.0.0",
7271
"@thisissoon/schematics": "^1.0.0-alpha.18",
73-
"@types/jasmine": "~2.5.53",
72+
"@types/jasmine": "~3.3.0",
7473
"@types/jasminewd2": "~2.0.2",
75-
"@types/node": "~6.0.60",
74+
"@types/node": "~10.12.10",
7675
"codelyzer": "^4.3.0",
7776
"core-js": "^2.4.1",
7877
"coveralls": "^3.0.0",
7978
"cz-conventional-changelog": "^2.1.0",
80-
"jasmine-core": "~2.6.2",
81-
"jasmine-spec-reporter": "~4.1.0",
82-
"karma": "~1.7.0",
83-
"karma-chrome-launcher": "~2.1.1",
79+
"husky": "^1.1.0",
80+
"jasmine-core": "~3.3.0",
81+
"jasmine-spec-reporter": "~4.2.1",
82+
"karma": "~3.1.1",
83+
"karma-chrome-launcher": "~2.2.0",
8484
"karma-cli": "~1.0.1",
85-
"karma-coverage-istanbul-reporter": "^1.2.1",
86-
"karma-jasmine": "~1.1.0",
87-
"karma-jasmine-html-reporter": "^0.2.2",
88-
"karma-spec-reporter": "0.0.31",
89-
"ng-packagr": "^2.4.5",
85+
"karma-coverage-istanbul-reporter": "^2.0.4",
86+
"karma-jasmine": "~2.0.1",
87+
"karma-jasmine-html-reporter": "^1.4.0",
88+
"karma-mocha-reporter": "^2.2.5",
89+
"karma-spec-reporter": "0.0.32",
90+
"lint-staged": "^8.1.0",
91+
"ng-packagr": "^4.4.0",
92+
"prettier": "^1.14.3",
9093
"protractor": "^5.4.1",
9194
"rxjs": "^6.0.0",
9295
"standard-version": "^4.2.0",
93-
"ts-node": "~3.2.0",
94-
"tslint": "~5.7.0",
95-
"typescript": "~2.7.2",
96-
"zone.js": "^0.8.26",
97-
"husky": "^1.1.0",
98-
"prettier": "^1.14.3",
9996
"stylelint": "^9.6.0",
100-
"stylelint-order": "^1.0.0",
97+
"stylelint-config-prettier": "^4.0.0",
10198
"stylelint-config-recommended-scss": "^3.2.0",
10299
"stylelint-config-standard": "^18.2.0",
100+
"stylelint-order": "^2.0.0",
103101
"stylelint-scss": "^3.3.1",
104-
"karma-mocha-reporter": "^2.2.5",
105-
"lint-staged": "^7.3.0",
106-
"stylelint-config-prettier": "^4.0.0",
107-
"tslint-config-prettier": "^1.15.0"
102+
"ts-node": "~7.0.1",
103+
"tsickle": "^0.34.0",
104+
"tslib": "^1.9.3",
105+
"tslint": "~5.11.0",
106+
"tslint-config-prettier": "^1.15.0",
107+
"typescript": "~3.1.6",
108+
"zone.js": "^0.8.26"
108109
},
109110
"config": {
110111
"commitizen": {

src/polyfills.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242

4343
/** Evergreen browsers require these. **/
4444
// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
45-
import 'core-js/es7/reflect';
4645

4746
/**
4847
* Required to support Web Animations `@angular/platform-browser/animations`.

0 commit comments

Comments
 (0)