Skip to content

Commit

Permalink
chore(dep): "most", upgrade to latest
Browse files Browse the repository at this point in the history
Closes #17
  • Loading branch information
Jason Kuhrt committed Dec 13, 2016
1 parent 59e0ae4 commit fd31af5
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 12 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
"prepublish": "npm run build"
},
"dependencies": {
"@most/create": "^2.0.1",
"axios": "^0.15.3",
"most": "^0.16.0"
"most": "^1.1.1"
},
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions source/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import FRP from "most"
import * as FRP from "most"
import { create as createStream } from "@most/create"
import HTTPClient, { CancelToken } from "axios"



/* Event Constructor */

// Event :: String -> Object -> Event
Expand Down Expand Up @@ -42,7 +42,7 @@ const ping = (config) => (

// create :: String, Maybe Integer -> UriMonitor
const create = (uri, checkIntervalMs = 1000) => {
const stream = FRP.create((add) => {
const stream = createStream((add) => {

const state = {
wasResponsive: null,
Expand Down
34 changes: 26 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@
# yarn lockfile v1


"@most/create@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@most/create/-/create-2.0.1.tgz#29156589638fa4ed12620203c7a698d6951a348f"
dependencies:
"@most/multicast" "^1.2.4"

"@most/multicast@^1.2.3", "@most/multicast@^1.2.4":
version "1.2.5"
resolved "https://registry.yarnpkg.com/@most/multicast/-/multicast-1.2.5.tgz#ba5abc997f9a6511094bec117914f4959720a8fb"
dependencies:
"@most/prelude" "^1.4.0"

"@most/prelude@^1.4.0":
version "1.4.1"
resolved "https://registry.yarnpkg.com/@most/prelude/-/prelude-1.4.1.tgz#b940b5563096f27637401618a5351f42466ea8f3"

abbrev@1:
version "1.0.9"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135"
Expand Down Expand Up @@ -1654,11 +1670,13 @@ mocha@^3.2.0:
mkdirp "0.5.1"
supports-color "3.1.2"

most@^0.16.0:
version "0.16.0"
resolved "https://registry.yarnpkg.com/most/-/most-0.16.0.tgz#a062ed4858d06d170349ae90b2a642190833bb9d"
most@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/most/-/most-1.1.1.tgz#75ccbb4c61a086b6794c378583ae0113b20fc7b5"
dependencies:
when "^3.7.0"
"@most/multicast" "^1.2.3"
"@most/prelude" "^1.4.0"
symbol-observable "^1.0.2"

[email protected]:
version "0.7.1"
Expand Down Expand Up @@ -2157,6 +2175,10 @@ supports-color@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"

symbol-observable@^1.0.2:
version "1.0.4"
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"

table@^3.7.8:
version "3.8.3"
resolved "https://registry.yarnpkg.com/table/-/table-3.8.3.tgz#2bbc542f0fda9861a755d3947fefd8b3f513855f"
Expand Down Expand Up @@ -2271,10 +2293,6 @@ [email protected]:
dependencies:
extsprintf "1.0.2"

when@^3.7.0:
version "3.7.7"
resolved "https://registry.yarnpkg.com/when/-/when-3.7.7.tgz#aba03fc3bb736d6c88b091d013d8a8e590d84718"

wide-align@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.0.tgz#40edde802a71fea1f070da3e62dcda2e7add96ad"
Expand Down

0 comments on commit fd31af5

Please sign in to comment.