Skip to content

Commit 0cc3469

Browse files
committed
Add Symbol polyfill
1 parent 5503735 commit 0cc3469

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Added contributors to *README*
88
* Added CircleCI badge to *README*
99
* Added yarn lockfile
10+
* Added polyfill for `Symbol`
1011

1112
### Changed
1213

lib/moment-range.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import moment from 'moment';
2+
import Symbol from 'es6-symbol';
23

34
//-----------------------------------------------------------------------------
45
// Constants

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"karma-sourcemap-loader": "^0.3.7",
6565
"karma-webpack": "^1.8.0",
6666
"mocha": "^2.5.3",
67+
"moment": "^2.17.1",
6768
"webpack": "^1.13.3"
6869
},
6970
"peerDependencies": {
@@ -78,5 +79,6 @@
7879
"url": "https://github.com/gf3/moment-range/raw/master/UNLICENSE"
7980
},
8081
"dependencies": {
82+
"es6-symbol": "^3.1.0"
8183
}
8284
}

yarn.lock

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@ es6-set@~0.1.3:
14781478
es6-symbol "3"
14791479
event-emitter "~0.3.4"
14801480

1481-
es6-symbol@~3.1, es6-symbol@~3.1.0, es6-symbol@3:
1481+
es6-symbol, es6-symbol@~3.1, es6-symbol@~3.1.0, es6-symbol@3:
14821482
version "3.1.0"
14831483
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.0.tgz#94481c655e7a7cad82eba832d97d5433496d7ffa"
14841484
dependencies:
@@ -2630,6 +2630,10 @@ mocha@^2.5.3:
26302630
supports-color "1.2.0"
26312631
to-iso-string "0.0.2"
26322632

2633+
moment:
2634+
version "2.17.1"
2635+
resolved "https://registry.yarnpkg.com/moment/-/moment-2.17.1.tgz#fed9506063f36b10f066c8b59a144d7faebe1d82"
2636+
26332637
ms@0.7.1:
26342638
version "0.7.1"
26352639
resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098"

0 commit comments

Comments
 (0)