Skip to content

Commit ad7f1c4

Browse files
committed
chore: Bumped version number
1 parent 3e2d02c commit ad7f1c4

File tree

4 files changed

+17
-20
lines changed

4 files changed

+17
-20
lines changed

package-lock.json

Lines changed: 6 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"main": "bundles/ng2-semantic-ui.umd.min.js",
44
"module": "dist/public.js",
55
"typings": "dist/public.d.ts",
6-
"version": "0.9.1",
6+
"version": "0.9.2",
77
"description": "Angular 2 Semantic UI Components",
88
"repository": {
99
"type": "git",
@@ -48,8 +48,8 @@
4848
"@types/popper.js": "^1.10.0",
4949
"bowser": "^1.7.0",
5050
"date-fns": "2.0.0-alpha.1",
51-
"deep-extend": "^0.5.0",
5251
"element-closest": "^2.0.2",
52+
"extend": "^3.0.1",
5353
"popper.js": "^1.10.6",
5454
"rxjs": "^5.0.1"
5555
},
@@ -61,7 +61,7 @@
6161
"@angular/platform-browser": "^4.1.3",
6262
"@angular/platform-browser-dynamic": "^4.1.3",
6363
"@angular/router": "^4.1.3",
64-
"@types/deep-extend": "^0.4.30",
64+
"@types/extend": "^2.0.30",
6565
"@types/jasmine": "^2.5.53",
6666
"@types/prismjs": "~1.4.18",
6767
"codelyzer": "^3.0.0",

scripts/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const defaultPlugins = [
2121
"node_modules/popper.js/**",
2222
"node_modules/date-fns/**",
2323
"node_modules/bowser/src/bowser.js",
24-
"node_modules/deep-extend/**"
24+
"node_modules/extend/**"
2525
]
2626
})
2727
]

src/behaviors/localization/services/localization.service.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
import { Injectable, EventEmitter } from "@angular/core";
22
import { ILocaleValues, IPartialLocaleValues, RecursivePartial } from "../interfaces/values";
33
import enGB from "../locales/en-GB";
4-
5-
// Oh rollup.
6-
import * as $deepExtend from "deep-extend";
7-
const deepExtend:<T, U>(target:T, source:U) => T & U = ($deepExtend as any).default || $deepExtend;
4+
import * as $extend from "extend";
85

96
function deepClone<T>(obj:T):T {
107
return JSON.parse(JSON.stringify(obj));
118
}
129

10+
function deepExtend<T, U>(target:T, source:U):T & U {
11+
// Rollup...
12+
const extend = ($extend as any).default || $extend;
13+
return extend(true, target, source);
14+
}
15+
1316
function lang(language:string):string {
1417
return language.toLowerCase().replace("-", "");
1518
}

0 commit comments

Comments
 (0)