@ascua/moment.js 0.4.5 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/addon/helpers/now.js +2 -2
- package/package.json +4 -4
package/addon/helpers/now.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import Helper from '@ember/component/helper';
|
|
2
|
-
import {
|
|
2
|
+
import { service } from '@ember/service';
|
|
3
3
|
import Date from 'moment';
|
|
4
4
|
|
|
5
5
|
export default class extends Helper {
|
|
6
6
|
|
|
7
|
-
@
|
|
7
|
+
@service clock;
|
|
8
8
|
|
|
9
9
|
compute() {
|
|
10
10
|
return Date(this.clock.now);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ascua/moment.js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Small description for @ascua/moment.js goes here",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"url": "https://surrealdb.com"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@ascua/clock": "^0.
|
|
19
|
-
"@ascua/decorators": "^0.
|
|
18
|
+
"@ascua/clock": "^0.5.0",
|
|
19
|
+
"@ascua/decorators": "^0.5.0",
|
|
20
20
|
"ember-cli-babel": "^8.2.0",
|
|
21
21
|
"ember-cli-htmlbars": "^6.3.0",
|
|
22
22
|
"moment": "^2.29.1"
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "a640b04565ccff770dfd4ddf0fb986ea0fd67ef4"
|
|
32
32
|
}
|