Skip to content

Commit

Permalink
fix: polyfill for object.assign
Browse files Browse the repository at this point in the history
  • Loading branch information
y-lohse committed Feb 28, 2018
1 parent 653821a commit af1d0a4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"babel-core": "^6.23.1",
"babel-loader": "^6.4.0",
"babel-plugin-transform-async-to-generator": "^6.22.0",
"babel-preset-env": "^1.2.1",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.2.1",
"btoa": "1.1.2",
"chai": "3.5.0",
"cozy-data-system": "2.5.14",
Expand Down Expand Up @@ -74,6 +74,7 @@
}
},
"dependencies": {
"core-js": "^2.5.3",
"pouchdb": "6.1.1",
"pouchdb-adapter-cordova-sqlite": "https://github.com/SnceGroup/pouchdb-adapter-cordova-sqlite.git#f3ee23009b70209c611435d57491aa77fb88802a",
"pouchdb-find": "0.10.4"
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* global fetch URL */

import 'core-js/modules/es6.object.assign'
import {unpromiser, retry, warn} from './utils'
import {LocalStorage, MemoryStorage} from './auth_storage'
import {AppToken as AppTokenV2, getAppToken as getAppTokenV2} from './auth_v2'
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1177,6 +1177,10 @@ core-js@^2.5.0:
version "2.5.1"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.1.tgz#ae6874dc66937789b80754ff5428df66819ca50b"

core-js@^2.5.3:
version "2.5.3"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"

core-util-is@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
Expand Down

0 comments on commit af1d0a4

Please sign in to comment.