Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: upgrade datastores for node 10 #168

Merged
merged 7 commits into from
May 29, 2018
Merged

fix: upgrade datastores for node 10 #168

merged 7 commits into from
May 29, 2018

Conversation

jacobheun
Copy link
Contributor

@jacobheun jacobheun commented May 9, 2018

This fixes an issue where node 10 builds are failing due to old versions of level. They have been upgraded in datastore-level.

This PR also moves the responsibility of shimming leveldown in the browser to datastore-level

depends on ipfs/js-datastore-level#7
depends on ipfs/js-datastore-fs#16
depends on dignifiedquire/lock-me#3

resolves #167
connects to ipfs/js-ipfs#1347

move the responsibility of levelup browser support to datastore-level

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
@ghost ghost assigned jacobheun May 9, 2018
@ghost ghost added the status/in-progress In progress label May 9, 2018
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>

chore: use 10.0 instead of 10.1

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
package.json Outdated
"datastore-fs": "~0.4.2",
"datastore-level": "~0.7.0",
"datastore-fs": "github:ipfs/js-datastore-fs#fix/node10",
"datastore-level": "github:ipfs/js-datastore-level#fix/node10",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self: needs ipfs/js-datastore-level#7

package.json Outdated
@@ -59,14 +58,12 @@
"big.js": "^5.0.3",
"cids": "~0.5.3",
"datastore-core": "~0.4.0",
"datastore-fs": "~0.4.2",
"datastore-level": "~0.7.0",
"datastore-fs": "github:ipfs/js-datastore-fs#fix/node10",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been merged and released, the dep can be updated.

package.json Outdated
"level-js": "timkuijsten/level.js#idbunwrapper",
"leveldown": "^1.7.2",
"lock-me": "^1.0.3",
"lock-me": "github:jacobheun/lock-me#fix/windows",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we get this PR up so that @dignifiedquire can review and merge?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've already gotten that merged and released with lock-me 1.0.4.

datastore-level is the only thing left to be merged, and then I will update all the deps for this. I will get the feedback for that resolved so we can get it merged in.

@ghost ghost assigned daviddias May 29, 2018
@daviddias
Copy link
Member

@jacobheun has this been tested against latest js-ipfs?

@jacobheun
Copy link
Contributor Author

@diasdavid yes, this branch was used against the js-ipfs updates and passing ci tests, ipfs/js-ipfs#1358, as well as locally. It should be ready for release.

@daviddias daviddias merged commit bd8a930 into master May 29, 2018
@ghost ghost removed the status/in-progress In progress label May 29, 2018
@daviddias daviddias deleted the fix/node10 branch May 29, 2018 15:19
@daviddias daviddias mentioned this pull request May 29, 2018
@jacobheun jacobheun mentioned this pull request May 29, 2018
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IPFS Repo fails on node 10.x
2 participants