Skip to content

Commit dc8177c

Browse files
committed
[fix] add polyfill for node 6
1 parent 869cb5a commit dc8177c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const shell = require('shelljs');
22
const semver = require('semver');
33
const { isFunction, isRegExp, isString, isEmpty } = require('toxic-predicate-functions');
4+
require('core-js/fn/object');
45

56
class Helper {
67
getPrefix(rawPrefix) {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
},
2525
"homepage": "https://github.com/toxic-johann/git-prefix-tag#readme",
2626
"dependencies": {
27+
"core-js": "^2.5.3",
2728
"semver": "^5.5.0",
2829
"shelljs": "^0.8.1",
2930
"toxic-predicate-functions": "^0.1.5"

0 commit comments

Comments
 (0)