Skip to content

Commit 95ceb36

Browse files
nolanlawsondaleharvey
authored andcommitted
(pouchdb#5948) - update 6.1.0 blog post slightly
[skip ci]
1 parent af631ba commit 95ceb36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/_posts/2016-12-12-pouchdb-6.1.0.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This warning has been removed in 6.1.0 because it caused confusion more often th
7474

7575
Unfortunately npm offers no way to emit a `peerDependency` warning only if _any one of_ possible peers (e.g. `pouchdb-core`, `pouchdb`, `pouchdb-browser`, or `pouchdb-node`) are not installed or have the wrong version, so we removed the `peerDependency` entirely.
7676

77-
If you're wondering how to correctly use PouchDB plugins with core PouchDB packages, the answer is fairly simple: first-party plugins should always have the same version as the other core PouchDB packages. These packages are published at the same time with the same versions, so you just need to be sure to keep them synchronized. For instances:
77+
If you're wondering how to correctly use PouchDB plugins with core PouchDB packages, the answer is fairly simple: first-party plugins should always have the same version as the other core PouchDB packages. These packages are published at the same time with the same versions, so you just need to be sure to keep them synchronized. For instance:
7878

7979
```json
8080
{
@@ -93,7 +93,7 @@ Note that third-party dependencies (such as `pouchdb-find`, `worker-pouch`, and
9393

9494
## Smaller code, fewer dependencies
9595

96-
Like any codebase, PouchDB's has accumulated some cruft over time. As part of [an](https://github.com/pouchdb/pouchdb/pull/5930) [effort](https://github.com/pouchdb/pouchdb/pull/5898) [to](https://github.com/pouchdb/pouchdb/pull/5905) [simplify](https://github.com/pouchdb/pouchdb/pull/5899) the codebase, PouchDB 6.1.0 now has one less dependency ([es6-promise-pool](https://github.com/timdp/es6-promise-pool), replaced with a smaller custom implementation) and actually has a slightly smaller bundle size than 6.0.7 (45337 bytes min+gz to 45194).
96+
Like any codebase, PouchDB's has accumulated some cruft over time. As part of [an](https://github.com/pouchdb/pouchdb/pull/5930) [effort](https://github.com/pouchdb/pouchdb/pull/5898) [to](https://github.com/pouchdb/pouchdb/pull/5905) [simplify](https://github.com/pouchdb/pouchdb/pull/5899) the codebase, PouchDB 6.1.0 now has one less dependency ([es6-promise-pool](https://github.com/timdp/es6-promise-pool), replaced with a smaller custom implementation) and actually has a slightly smaller bundle size than 6.0.7 (45337 bytes min+gz to 45299).
9797

9898
Furthermore, PouchDB's internal timer system has been vastly simplified, relying on the built-in browser `setTimeout()` rather than `process.nextTick()` (thus avoiding [a rather large Browserify/Webpack dependency](https://github.com/defunctzombie/node-process/blob/7d8c3702a8bbc43fa55f4bab74b150aef37001dd/browser.js)), as well as eliminating timeouts entirely where they were found to be unnecessary. This will actually result in a performance boost to most PouchDB operations in terms of latency, since PouchDB is no longer yielding to the event loop so frequently.
9999

0 commit comments

Comments
 (0)