Skip to content

Commit

Permalink
fix(dom): support Typescript 3.1
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
If you use JavaScript, there are no breaking changes. If you use
TypeScript, then you may have to change some imports, only if you are
using RxJS or Most.js. If you are using RxJS: change
`import {makeDOMDriver} from '@cycle/dom'` to
`import {makeDOMDriver} from '@cycle/dom/lib/cjs/rxjs'` and change
`import {DOMSource} from '@cycle/dom/rxjs-typings'` to
`import {DOMSource} from '@cycle/dom/lib/cjs/rxjs'`. If you are
using Most.js: change
`import {makeDOMDriver} from '@cycle/dom'` to
`import {makeDOMDriver} from '@cycle/dom/lib/cjs/most'` and change
`import {DOMSource} from '@cycle/dom/most-typings'` to
`import {DOMSource} from '@cycle/dom/lib/cjs/most'`.
  • Loading branch information
jvanbruegge authored and staltz committed Oct 17, 2018
1 parent f315f78 commit 79344a4
Show file tree
Hide file tree
Showing 20 changed files with 411 additions and 433 deletions.
12 changes: 0 additions & 12 deletions dom/most-typings.d.ts

This file was deleted.

26 changes: 12 additions & 14 deletions dom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cycle/dom",
"version": "21.1.0",
"version": "22.0.0-rc.0",
"description": "The standard DOM Driver for Cycle.js, based on Snabbdom",
"license": "MIT",
"homepage": "https://cycle.js.org",
Expand Down Expand Up @@ -49,19 +49,19 @@
"prepublishOnly": "pnpm run build && pnpm run test"
},
"dependencies": {
"@cycle/run": "*",
"@cycle/run": "^5.1.0-rc.1",
"rxjs": "^6.3.3",
"snabbdom": "^0.7.2",
"snabbdom-selector": "^3.0.0",
"snabbdom-selector": "^4.0.0",
"xstream": "*"
},
"devDependencies": {
"@cycle/isolate": "3.4",
"@cycle/run": "4.4.0",
"@cycle/rxjs-run": "9.2.0",
"@cycle/isolate": "^4.1.0-rc.0",
"@cycle/rxjs-run": "^10.0.0-rc.0",
"@types/mocha": "^5.2.5",
"@types/node": "^10.7.1",
"@types/sinon": "^5.0.1",
"deepmerge": "^2.1.1",
"@types/node": "^10.11.7",
"@types/sinon": "^5.0.5",
"deepmerge": "^2.2.1",
"es6-map": "^0.1.5",
"es6-set": "^0.1.5",
"karma": "^3.0.0",
Expand All @@ -71,17 +71,15 @@
"karma-mocha": "^1.3.0",
"karma-typescript": "^3.0.13",
"mocha": "^5.2.0",
"most": "1.7.3",
"most": "^1.7.3",
"mutation-observer": "1.0.3",
"rxjs": "^6.2.2",
"rxjs-compat": "^6.2.2",
"simulant": "^0.2.2",
"sinon": "^6.1.5",
"sinon": "^6.3.5",
"snabbdom-pragma": "^2.7.0",
"symbol-observable": "^1.2.0",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "2.8.x",
"typescript": "3.1.x",
"xstream": "11.x"
},
"engines": {
Expand Down

0 comments on commit 79344a4

Please sign in to comment.