Last active
January 6, 2017 03:23
-
-
Save ento/3891484da1b229c8729c7c5ea92d4fda to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((elm-mode | |
(eval . (progn | |
(require 'projectile) | |
(setq elm-format-elm-version "0.18") | |
(setq elm-format-command "elm-format-0.18"))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
elm-stuff | |
node_modules | |
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
port module Stylesheets exposing (..) | |
import Css.File exposing (CssFileStructure, CssCompilerProgram) | |
import Stylesheet | |
port files : CssFileStructure -> Cmd msg | |
fileStructure : CssFileStructure | |
fileStructure = | |
Css.File.toFileStructure | |
[ ( "main.css", Css.File.compile [ Stylesheet.css ] ) ] | |
main : CssCompilerProgram | |
main = | |
Css.File.compiler files fileStructure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "1.0.0", | |
"summary": "helpful summary of your project, less than 80 characters", | |
"repository": "https://github.com/user/project.git", | |
"license": "BSD3", | |
"source-directories": [ | |
"." | |
], | |
"exposed-modules": [], | |
"dependencies": { | |
"elm-community/string-extra": "1.1.1 <= v < 2.0.0", | |
"elm-lang/core": "5.0.0 <= v < 6.0.0", | |
"elm-lang/dom": "1.1.1 <= v < 2.0.0", | |
"elm-lang/html": "2.0.0 <= v < 3.0.0", | |
"elm-lang/keyboard": "1.0.1 <= v < 2.0.0", | |
"elm-lang/navigation": "2.0.1 <= v < 3.0.0", | |
"evancz/url-parser": "2.0.1 <= v < 3.0.0", | |
"justinmimbs/elm-date-extra": "2.0.2 <= v < 3.0.0", | |
"krisajenkins/formatting": "4.1.0 <= v < 5.0.0", | |
"rtfeldman/elm-css": "7.0.0 <= v < 8.0.0", | |
"rtfeldman/elm-css-helpers": "2.0.1 <= v < 3.0.0", | |
"sporto/erl": "11.1.1 <= v < 12.0.0" | |
}, | |
"elm-version": "0.18.0 <= v < 0.19.0" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main exposing (..) | |
import Task | |
import String | |
import Html exposing (..) | |
import Html.Events exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.CssHelpers exposing (withNamespace) | |
import Dom | |
import Keyboard exposing (KeyCode) | |
import String.Extra | |
import SlackArchive | |
import Stylesheet exposing (..) | |
type Msg | |
= NoOp | |
| SetUrl String | |
| OnKeyPress KeyCode | |
type CurrentFocus | |
= InputField | |
| OutputField | |
type alias Model = | |
{ url : String | |
, currentFocus : CurrentFocus | |
} | |
main : Program Never Model Msg | |
main = | |
Html.program | |
{ init = init | |
, view = view | |
, update = update | |
, subscriptions = subscriptions | |
} | |
init : ( Model, Cmd Msg ) | |
init = | |
{ url = "" | |
, currentFocus = InputField | |
} | |
! [] | |
subscriptions : Model -> Sub Msg | |
subscriptions model = | |
Keyboard.presses OnKeyPress | |
update : Msg -> Model -> ( Model, Cmd Msg ) | |
update msg model = | |
case msg of | |
NoOp -> | |
model ! [] | |
SetUrl newUrl -> | |
{ model | url = newUrl } ! [] | |
OnKeyPress code -> | |
if code == 13 then | |
case model.currentFocus of | |
InputField -> | |
{ model | currentFocus = OutputField } ! [ focusField OutputField ] | |
OutputField -> | |
{ model | currentFocus = InputField } ! [ focusField InputField ] | |
else | |
model ! [] | |
focusField : CurrentFocus -> Cmd Msg | |
focusField currentFocus = | |
toString currentFocus | |
|> String.Extra.dasherize | |
|> String.dropLeft 1 | |
|> Dom.focus | |
|> Task.attempt (\_ -> NoOp) | |
{ id, class, classList } = | |
withNamespace "" | |
view : Model -> Html Msg | |
view model = | |
div | |
[ Html.Attributes.class "container" ] | |
[ p | |
[ Html.Attributes.class "row flow-text center" ] | |
[ text "Slack Archive URL to Markdown Link" ] | |
, viewInputs model | |
, viewOutput model | |
, viewFooter | |
] | |
viewInputs : Model -> Html Msg | |
viewInputs model = | |
section | |
[ Html.Attributes.class "row" ] | |
[ div | |
[ Html.Attributes.class "input-field col s12" ] | |
[ input | |
[ type_ "text" | |
, Html.Attributes.id "input-field" | |
, autofocus True | |
, Html.Attributes.class "center" | |
, placeholder "http://team.slack.com/archives/channel/ptimestamp" | |
, onInput SetUrl | |
] | |
[] | |
, label | |
[ for "input-field" | |
, Html.Attributes.class "active" | |
] | |
[ text "Slack Archive URL" ] | |
] | |
] | |
viewOutput : Model -> Html Msg | |
viewOutput model = | |
section | |
[ Html.Attributes.class "row" ] | |
[ div | |
[ Html.Attributes.class "input-field col s12" ] | |
[ input | |
[ type_ "text" | |
, Html.Attributes.id "output-field" | |
, Html.Attributes.class "center" | |
, value (transformUrl model.url) | |
] | |
[] | |
, label | |
[ for "output-field" | |
, Html.Attributes.class "active" | |
] | |
[ text "Markdown Link" ] | |
] | |
] | |
viewFooter : Html Msg | |
viewFooter = | |
footer | |
[ Html.Attributes.class "row" ] | |
[ p | |
[ Html.Attributes.class "col s12" ] | |
[ span | |
[ class [ Help ] ] | |
[ text "Note: press Enter to move focus to the other field." ] | |
] | |
] | |
transformUrl : String -> String | |
transformUrl url = | |
case SlackArchive.parseArchiveUrl url of | |
Ok slackMessage -> | |
SlackArchive.asMarkdownLink slackMessage | |
Err reason -> | |
"Error: " ++ reason |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH := ./node_modules/.bin:$(PATH) | |
all: dist/main.js dist/main.css | |
dist/main.js: *.elm | |
./node_modules/.bin/elm-make Main.elm --output dist/main.js | |
dist/main.css: Stylesheet.elm CssMain.elm | |
./node_modules/.bin/elm-css CssMain.elm --output dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "format-slack-archive-url", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"dependencies": { | |
"elm": "^0.18.0", | |
"elm-css": "^0.6.0" | |
}, | |
"devDependencies": {}, | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": "", | |
"license": "ISC" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module SlackArchive exposing (SlackMessage, parseArchiveUrl, asMarkdownLink) | |
import Date exposing (Date) | |
import String | |
import Navigation | |
import Erl | |
import Formatting as F exposing ((<>)) | |
import UrlParser exposing (Parser, (</>), s, string, map) | |
import Date.Extra | |
type alias SlackMessage = | |
{ archiveUrl : String | |
, channel : String | |
, date : Date | |
} | |
asMarkdownLink : SlackMessage -> String | |
asMarkdownLink m = | |
let | |
formatDate = | |
Date.Extra.toUtcFormattedString "YYYY-MM-dd HH:mm UTC" | |
formatLink = | |
F.s "[" <> F.string <> F.s " in #" <> F.string <> F.s "](" <> F.string <> F.s ")" | |
in | |
F.print formatLink (formatDate m.date) m.channel m.archiveUrl | |
rawArchiveUrl : Parser (String -> Date -> a) a | |
rawArchiveUrl = | |
s "archives" </> string </> epochWithP | |
archiveUrl : String -> Parser (SlackMessage -> a) a | |
archiveUrl url = | |
map (SlackMessage url) rawArchiveUrl | |
epochWithP : Parser (Date -> a) a | |
epochWithP = | |
UrlParser.custom "p1234567890123456" toEpoch | |
toEpoch : String -> Result String Date | |
toEpoch string = | |
String.dropLeft 1 string | |
|> String.toFloat | |
|> Result.map (flip (/) 1000) | |
|> Result.map Date.fromTime | |
locationFromUrl : String -> Navigation.Location | |
locationFromUrl url = | |
let | |
parsed = | |
Erl.parse url | |
hostname = | |
String.join "." parsed.host | |
in | |
{ href = url | |
, host = hostname ++ ":" ++ (toString parsed.port_) | |
, hostname = hostname | |
, protocol = parsed.protocol | |
, origin = Erl.toString parsed | |
, port_ = toString parsed.port_ | |
, pathname = String.join "/" parsed.path | |
, search = Erl.queryToString parsed | |
, hash = parsed.hash | |
, username = parsed.username | |
, password = parsed.password | |
} | |
parseArchiveUrl : String -> Result String SlackMessage | |
parseArchiveUrl url = | |
locationFromUrl url | |
|> UrlParser.parsePath (archiveUrl url) | |
|> Result.fromMaybe "couldn't parse URL" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Stylesheet exposing (..) | |
import Css exposing (..) | |
import Css.Elements exposing (body, li) | |
import Css.Namespace exposing (namespace) | |
type CssClasses | |
= Help | |
css = | |
(stylesheet) | |
[ (.) Help | |
[ color (hex "999999") | |
, fontSize (px 10) | |
] | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | |
# yarn lockfile v1 | |
ansi-regex@^2.0.0: | |
version "2.0.0" | |
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.0.0.tgz#c5061b6e0ef8a81775e50f5d66151bf6bf371107" | |
ansi-styles@^2.1.0: | |
version "2.2.1" | |
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" | |
asap@~2.0.3: | |
version "2.0.5" | |
resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.5.tgz#522765b50c3510490e52d7dcfe085ef9ba96958f" | |
asn1@~0.2.3: | |
version "0.2.3" | |
resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" | |
assert-plus@^0.2.0: | |
version "0.2.0" | |
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" | |
assert-plus@^1.0.0: | |
version "1.0.0" | |
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" | |
async@^2.0.1: | |
version "2.1.4" | |
resolved "https://registry.yarnpkg.com/async/-/async-2.1.4.tgz#2d2160c7788032e4dd6cbe2502f1f9a2c8f6cde4" | |
dependencies: | |
lodash "^4.14.0" | |
aws-sign2@~0.6.0: | |
version "0.6.0" | |
resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" | |
aws4@^1.2.1: | |
version "1.5.0" | |
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.5.0.tgz#0a29ffb79c31c9e712eeb087e8e7a64b4a56d755" | |
balanced-match@^0.4.1: | |
version "0.4.2" | |
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" | |
bcrypt-pbkdf@^1.0.0: | |
version "1.0.0" | |
resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.0.tgz#3ca76b85241c7170bf7d9703e7b9aa74630040d4" | |
dependencies: | |
tweetnacl "^0.14.3" | |
bl@~1.1.2: | |
version "1.1.2" | |
resolved "https://registry.yarnpkg.com/bl/-/bl-1.1.2.tgz#fdca871a99713aa00d19e3bbba41c44787a65398" | |
dependencies: | |
readable-stream "~2.0.5" | |
block-stream@*: | |
version "0.0.9" | |
resolved "https://registry.yarnpkg.com/block-stream/-/block-stream-0.0.9.tgz#13ebfe778a03205cfe03751481ebb4b3300c126a" | |
dependencies: | |
inherits "~2.0.0" | |
[email protected]: | |
version "2.10.1" | |
resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" | |
dependencies: | |
hoek "2.x.x" | |
brace-expansion@^1.0.0: | |
version "1.1.6" | |
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.6.tgz#7197d7eaa9b87e648390ea61fc66c84427420df9" | |
dependencies: | |
balanced-match "^0.4.1" | |
concat-map "0.0.1" | |
buffer-shims@^1.0.0: | |
version "1.0.0" | |
resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" | |
caseless@~0.11.0: | |
version "0.11.0" | |
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.11.0.tgz#715b96ea9841593cc33067923f5ec60ebda4f7d7" | |
[email protected], chalk@^1.1.1: | |
version "1.1.1" | |
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.1.tgz#509afb67066e7499f7eb3535c77445772ae2d019" | |
dependencies: | |
ansi-styles "^2.1.0" | |
escape-string-regexp "^1.0.2" | |
has-ansi "^2.0.0" | |
strip-ansi "^3.0.0" | |
supports-color "^2.0.0" | |
combined-stream@^1.0.5, combined-stream@~1.0.5: | |
version "1.0.5" | |
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" | |
dependencies: | |
delayed-stream "~1.0.0" | |
[email protected], commander@^2.9.0: | |
version "2.9.0" | |
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" | |
dependencies: | |
graceful-readlink ">= 1.0.0" | |
[email protected]: | |
version "0.0.1" | |
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" | |
concat-stream@^1.4.7: | |
version "1.6.0" | |
resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" | |
dependencies: | |
inherits "^2.0.3" | |
readable-stream "^2.2.2" | |
typedarray "^0.0.6" | |
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" | |
cross-spawn-async@^2.0.0: | |
version "2.2.5" | |
resolved "https://registry.yarnpkg.com/cross-spawn-async/-/cross-spawn-async-2.2.5.tgz#845ff0c0834a3ded9d160daca6d390906bb288cc" | |
dependencies: | |
lru-cache "^4.0.0" | |
which "^1.2.8" | |
[email protected]: | |
version "2.1.0" | |
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-2.1.0.tgz#9bc27f40423e98a445efe9269983e4f4055cde3a" | |
dependencies: | |
cross-spawn-async "^2.0.0" | |
spawn-sync "1.0.13" | |
[email protected]: | |
version "2.0.5" | |
resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" | |
dependencies: | |
boom "2.x.x" | |
dashdash@^1.12.0: | |
version "1.14.1" | |
resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" | |
dependencies: | |
assert-plus "^1.0.0" | |
delayed-stream@~1.0.0: | |
version "1.0.0" | |
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" | |
ecc-jsbn@~0.1.1: | |
version "0.1.1" | |
resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" | |
dependencies: | |
jsbn "~0.1.0" | |
elm-css@^0.6.0: | |
version "0.6.0" | |
resolved "https://registry.yarnpkg.com/elm-css/-/elm-css-0.6.0.tgz#64bcb8f6adeedfde392d768c07f552ffc5242f75" | |
dependencies: | |
chalk "1.1.1" | |
commander "2.9.0" | |
node-elm-compiler "2.3.2" | |
tmp "0.0.28" | |
elm@^0.18.0: | |
version "0.18.0" | |
resolved "https://registry.yarnpkg.com/elm/-/elm-0.18.0.tgz#919b8309cd939dfe2ff9d252d961b6c89509b970" | |
dependencies: | |
mkdirp "0.5.1" | |
promise "7.1.1" | |
request "2.74.0" | |
tar "2.2.1" | |
escape-string-regexp@^1.0.2: | |
version "1.0.5" | |
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" | |
extend@~3.0.0: | |
version "3.0.0" | |
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4" | |
[email protected]: | |
version "1.0.2" | |
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" | |
forever-agent@~0.6.1: | |
version "0.6.1" | |
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" | |
form-data@~1.0.0-rc4: | |
version "1.0.1" | |
resolved "https://registry.yarnpkg.com/form-data/-/form-data-1.0.1.tgz#ae315db9a4907fa065502304a66d7733475ee37c" | |
dependencies: | |
async "^2.0.1" | |
combined-stream "^1.0.5" | |
mime-types "^2.1.11" | |
fs.realpath@^1.0.0: | |
version "1.0.0" | |
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" | |
fstream@^1.0.2: | |
version "1.0.10" | |
resolved "https://registry.yarnpkg.com/fstream/-/fstream-1.0.10.tgz#604e8a92fe26ffd9f6fae30399d4984e1ab22822" | |
dependencies: | |
graceful-fs "^4.1.2" | |
inherits "~2.0.0" | |
mkdirp ">=0.5 0" | |
rimraf "2" | |
generate-function@^2.0.0: | |
version "2.0.0" | |
resolved "https://registry.yarnpkg.com/generate-function/-/generate-function-2.0.0.tgz#6858fe7c0969b7d4e9093337647ac79f60dfbe74" | |
generate-object-property@^1.1.0: | |
version "1.2.0" | |
resolved "https://registry.yarnpkg.com/generate-object-property/-/generate-object-property-1.2.0.tgz#9c0e1c40308ce804f4783618b937fa88f99d50d0" | |
dependencies: | |
is-property "^1.0.0" | |
getpass@^0.1.1: | |
version "0.1.6" | |
resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6" | |
dependencies: | |
assert-plus "^1.0.0" | |
glob@^7.0.5: | |
version "7.1.1" | |
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" | |
dependencies: | |
fs.realpath "^1.0.0" | |
inflight "^1.0.4" | |
inherits "2" | |
minimatch "^3.0.2" | |
once "^1.3.0" | |
path-is-absolute "^1.0.0" | |
graceful-fs@^4.1.2: | |
version "4.1.11" | |
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" | |
"graceful-readlink@>= 1.0.0": | |
version "1.0.1" | |
resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725" | |
har-validator@~2.0.6: | |
version "2.0.6" | |
resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-2.0.6.tgz#cdcbc08188265ad119b6a5a7c8ab70eecfb5d27d" | |
dependencies: | |
chalk "^1.1.1" | |
commander "^2.9.0" | |
is-my-json-valid "^2.12.4" | |
pinkie-promise "^2.0.0" | |
has-ansi@^2.0.0: | |
version "2.0.0" | |
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" | |
dependencies: | |
ansi-regex "^2.0.0" | |
hawk@~3.1.3: | |
version "3.1.3" | |
resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" | |
dependencies: | |
boom "2.x.x" | |
cryptiles "2.x.x" | |
hoek "2.x.x" | |
sntp "1.x.x" | |
[email protected]: | |
version "2.16.3" | |
resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" | |
http-signature@~1.1.0: | |
version "1.1.1" | |
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" | |
dependencies: | |
assert-plus "^0.2.0" | |
jsprim "^1.2.2" | |
sshpk "^1.7.0" | |
inflight@^1.0.4: | |
version "1.0.6" | |
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" | |
dependencies: | |
once "^1.3.0" | |
wrappy "1" | |
inherits@2, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1: | |
version "2.0.3" | |
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" | |
is-my-json-valid@^2.12.4: | |
version "2.15.0" | |
resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.15.0.tgz#936edda3ca3c211fd98f3b2d3e08da43f7b2915b" | |
dependencies: | |
generate-function "^2.0.0" | |
generate-object-property "^1.1.0" | |
jsonpointer "^4.0.0" | |
xtend "^4.0.0" | |
is-property@^1.0.0: | |
version "1.0.2" | |
resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84" | |
is-typedarray@~1.0.0: | |
version "1.0.0" | |
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" | |
isarray@~1.0.0: | |
version "1.0.0" | |
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" | |
isexe@^1.1.1: | |
version "1.1.2" | |
resolved "https://registry.yarnpkg.com/isexe/-/isexe-1.1.2.tgz#36f3e22e60750920f5e7241a476a8c6a42275ad0" | |
isstream@~0.1.2: | |
version "0.1.2" | |
resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" | |
jodid25519@^1.0.0: | |
version "1.0.2" | |
resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967" | |
dependencies: | |
jsbn "~0.1.0" | |
jsbn@~0.1.0: | |
version "0.1.0" | |
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.0.tgz#650987da0dd74f4ebf5a11377a2aa2d273e97dfd" | |
[email protected]: | |
version "0.2.3" | |
resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" | |
json-stringify-safe@~5.0.1: | |
version "5.0.1" | |
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" | |
jsonpointer@^4.0.0: | |
version "4.0.1" | |
resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.1.tgz#4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9" | |
jsprim@^1.2.2: | |
version "1.3.1" | |
resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.3.1.tgz#2a7256f70412a29ee3670aaca625994c4dcff252" | |
dependencies: | |
extsprintf "1.0.2" | |
json-schema "0.2.3" | |
verror "1.3.6" | |
[email protected]: | |
version "3.10.1" | |
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" | |
lodash@^4.14.0: | |
version "4.17.4" | |
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" | |
lru-cache@^4.0.0: | |
version "4.0.2" | |
resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.0.2.tgz#1d17679c069cda5d040991a09dbc2c0db377e55e" | |
dependencies: | |
pseudomap "^1.0.1" | |
yallist "^2.0.0" | |
mime-db@~1.25.0: | |
version "1.25.0" | |
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.25.0.tgz#c18dbd7c73a5dbf6f44a024dc0d165a1e7b1c392" | |
mime-types@^2.1.11, mime-types@~2.1.7: | |
version "2.1.13" | |
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.13.tgz#e07aaa9c6c6b9a7ca3012c69003ad25a39e92a88" | |
dependencies: | |
mime-db "~1.25.0" | |
minimatch@^3.0.2: | |
version "3.0.3" | |
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" | |
dependencies: | |
brace-expansion "^1.0.0" | |
[email protected]: | |
version "0.0.8" | |
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" | |
[email protected], "mkdirp@>=0.5 0": | |
version "0.5.1" | |
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" | |
dependencies: | |
minimist "0.0.8" | |
[email protected]: | |
version "2.3.2" | |
resolved "https://registry.yarnpkg.com/node-elm-compiler/-/node-elm-compiler-2.3.2.tgz#38fa4221a0d26185434aa6f71edd90e432ef8f15" | |
dependencies: | |
cross-spawn "2.1.0" | |
lodash "3.10.1" | |
temp "^0.8.3" | |
node-uuid@~1.4.7: | |
version "1.4.7" | |
resolved "https://registry.yarnpkg.com/node-uuid/-/node-uuid-1.4.7.tgz#6da5a17668c4b3dd59623bda11cf7fa4c1f60a6f" | |
oauth-sign@~0.8.1: | |
version "0.8.2" | |
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" | |
once@^1.3.0: | |
version "1.4.0" | |
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" | |
dependencies: | |
wrappy "1" | |
os-shim@^0.1.2: | |
version "0.1.3" | |
resolved "https://registry.yarnpkg.com/os-shim/-/os-shim-0.1.3.tgz#6b62c3791cf7909ea35ed46e17658bb417cb3917" | |
os-tmpdir@^1.0.0, os-tmpdir@~1.0.1: | |
version "1.0.2" | |
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" | |
path-is-absolute@^1.0.0: | |
version "1.0.1" | |
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" | |
pinkie-promise@^2.0.0: | |
version "2.0.1" | |
resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" | |
dependencies: | |
pinkie "^2.0.0" | |
pinkie@^2.0.0: | |
version "2.0.4" | |
resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" | |
process-nextick-args@~1.0.6: | |
version "1.0.7" | |
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" | |
[email protected]: | |
version "7.1.1" | |
resolved "https://registry.yarnpkg.com/promise/-/promise-7.1.1.tgz#489654c692616b8aa55b0724fa809bb7db49c5bf" | |
dependencies: | |
asap "~2.0.3" | |
pseudomap@^1.0.1: | |
version "1.0.2" | |
resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" | |
punycode@^1.4.1: | |
version "1.4.1" | |
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" | |
qs@~6.2.0: | |
version "6.2.1" | |
resolved "https://registry.yarnpkg.com/qs/-/qs-6.2.1.tgz#ce03c5ff0935bc1d9d69a9f14cbd18e568d67625" | |
readable-stream@^2.2.2: | |
version "2.2.2" | |
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.2.tgz#a9e6fec3c7dda85f8bb1b3ba7028604556fc825e" | |
dependencies: | |
buffer-shims "^1.0.0" | |
core-util-is "~1.0.0" | |
inherits "~2.0.1" | |
isarray "~1.0.0" | |
process-nextick-args "~1.0.6" | |
string_decoder "~0.10.x" | |
util-deprecate "~1.0.1" | |
readable-stream@~2.0.5: | |
version "2.0.6" | |
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e" | |
dependencies: | |
core-util-is "~1.0.0" | |
inherits "~2.0.1" | |
isarray "~1.0.0" | |
process-nextick-args "~1.0.6" | |
string_decoder "~0.10.x" | |
util-deprecate "~1.0.1" | |
[email protected]: | |
version "2.74.0" | |
resolved "https://registry.yarnpkg.com/request/-/request-2.74.0.tgz#7693ca768bbb0ea5c8ce08c084a45efa05b892ab" | |
dependencies: | |
aws-sign2 "~0.6.0" | |
aws4 "^1.2.1" | |
bl "~1.1.2" | |
caseless "~0.11.0" | |
combined-stream "~1.0.5" | |
extend "~3.0.0" | |
forever-agent "~0.6.1" | |
form-data "~1.0.0-rc4" | |
har-validator "~2.0.6" | |
hawk "~3.1.3" | |
http-signature "~1.1.0" | |
is-typedarray "~1.0.0" | |
isstream "~0.1.2" | |
json-stringify-safe "~5.0.1" | |
mime-types "~2.1.7" | |
node-uuid "~1.4.7" | |
oauth-sign "~0.8.1" | |
qs "~6.2.0" | |
stringstream "~0.0.4" | |
tough-cookie "~2.3.0" | |
tunnel-agent "~0.4.1" | |
rimraf@2: | |
version "2.5.4" | |
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.5.4.tgz#96800093cbf1a0c86bd95b4625467535c29dfa04" | |
dependencies: | |
glob "^7.0.5" | |
rimraf@~2.2.6: | |
version "2.2.8" | |
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.2.8.tgz#e439be2aaee327321952730f99a8929e4fc50582" | |
[email protected]: | |
version "1.0.9" | |
resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" | |
dependencies: | |
hoek "2.x.x" | |
[email protected]: | |
version "1.0.13" | |
resolved "https://registry.yarnpkg.com/spawn-sync/-/spawn-sync-1.0.13.tgz#904091b9ad48a0f3afb0e84752154c01e82fd8d8" | |
dependencies: | |
concat-stream "^1.4.7" | |
os-shim "^0.1.2" | |
sshpk@^1.7.0: | |
version "1.10.1" | |
resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.10.1.tgz#30e1a5d329244974a1af61511339d595af6638b0" | |
dependencies: | |
asn1 "~0.2.3" | |
assert-plus "^1.0.0" | |
dashdash "^1.12.0" | |
getpass "^0.1.1" | |
optionalDependencies: | |
bcrypt-pbkdf "^1.0.0" | |
ecc-jsbn "~0.1.1" | |
jodid25519 "^1.0.0" | |
jsbn "~0.1.0" | |
tweetnacl "~0.14.0" | |
string_decoder@~0.10.x: | |
version "0.10.31" | |
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" | |
stringstream@~0.0.4: | |
version "0.0.5" | |
resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" | |
strip-ansi@^3.0.0: | |
version "3.0.1" | |
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" | |
dependencies: | |
ansi-regex "^2.0.0" | |
supports-color@^2.0.0: | |
version "2.0.0" | |
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" | |
[email protected]: | |
version "2.2.1" | |
resolved "https://registry.yarnpkg.com/tar/-/tar-2.2.1.tgz#8e4d2a256c0e2185c6b18ad694aec968b83cb1d1" | |
dependencies: | |
block-stream "*" | |
fstream "^1.0.2" | |
inherits "2" | |
temp@^0.8.3: | |
version "0.8.3" | |
resolved "https://registry.yarnpkg.com/temp/-/temp-0.8.3.tgz#e0c6bc4d26b903124410e4fed81103014dfc1f59" | |
dependencies: | |
os-tmpdir "^1.0.0" | |
rimraf "~2.2.6" | |
[email protected]: | |
version "0.0.28" | |
resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.28.tgz#172735b7f614ea7af39664fa84cf0de4e515d120" | |
dependencies: | |
os-tmpdir "~1.0.1" | |
tough-cookie@~2.3.0: | |
version "2.3.2" | |
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a" | |
dependencies: | |
punycode "^1.4.1" | |
tunnel-agent@~0.4.1: | |
version "0.4.3" | |
resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb" | |
tweetnacl@^0.14.3, tweetnacl@~0.14.0: | |
version "0.14.5" | |
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" | |
typedarray@^0.0.6: | |
version "0.0.6" | |
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" | |
util-deprecate@~1.0.1: | |
version "1.0.2" | |
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" | |
[email protected]: | |
version "1.3.6" | |
resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" | |
dependencies: | |
extsprintf "1.0.2" | |
which@^1.2.8: | |
version "1.2.12" | |
resolved "https://registry.yarnpkg.com/which/-/which-1.2.12.tgz#de67b5e450269f194909ef23ece4ebe416fa1192" | |
dependencies: | |
isexe "^1.1.1" | |
wrappy@1: | |
version "1.0.2" | |
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" | |
xtend@^4.0.0: | |
version "4.0.1" | |
resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" | |
yallist@^2.0.0: | |
version "2.0.0" | |
resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.0.0.tgz#306c543835f09ee1a4cb23b7bce9ab341c91cdd4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment