diff --git a/.travis.yml b/.travis.yml index a56609e..c3b6fcb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ deploy: provider: npm email: hello@trailsjs.io api_key: - secure: uRnIMDUIc+c9p77Xy+vPKQH90aQ/MyjW9P1sawoVCSW/50nli15NXnneiqm+0ghbIwkbOcFEMKoi9XRXqMvOSi6f5ucfkfCf/OwhbsIJzFcF6Vla/x9jbMj8eCV4AC8nQC3X8BHtG1TtumwdAwGEjRkShRCZOKBKEg/pH+1dSjrzGeYkyvkzxx5PbeQoPNuPZ9Fy9NBljeJ5DHT867ITtn3qLK6oJF1AqxO3tWsPNLMjxdnsXcY1WprBwioK9B8M8bE0CWDIPZachOuIm2UM/8wzmeEifS54rOTWDD75O9r7y3pUGLb0gbWpybjkXCbUsxRtjcLCRx6N6BuPOjHkbz0ps3cqsrzMdlrSQAF5oiC2x7qFlTybeVYtippVrO4E0yHaa7HhpZ8WsDHCq2dK4Pjc4GKB3pR1RP37godrIU9clqZWg8OODaG9oQN+U1ZxTKSHi3IIPzndHhNkOPki7r6b2rq+lHGhb4NJB2FOjMUUU5Fv5Xeg5WGqcIwpttlwqiWfWMJeL76kdPHSJK7GxsjMpcEQ7SqPlLibnSJnR/spT0oHnCFRLknkhFZ6k7Mql9rLXQsJHYpEjKgyUeRU97Qf/d/iKjtiQzhm6V+TXR7Yx6kxztMF0GHZuDf+NLuiDR5dcr4qpSmcN/z5qtNyMsJgrT35qL4AaHioFDTPbT4= + secure: jsPx8s0SyHeAtFIX/2LplD6aeIEtbzwkrPrwHuPo1ZAmItY+fRrsNKKAfB2KCYcynn77cdSX/ZVK6mVBxQYU848zt9LgbKdsPyr57JaGxZxCoDwEvSFs+NXKgwfFqNI2OGaMcuVlJnThKVLpde9yn2OFiX8f+u1r4fvK3dBNWzKdz5Z7Mz9e8El1Shde2lC9DrId3e32Rv3NWJ2ZqdPlDVrr0Zgu2qLPZihDxmFA/xNmym8kFCcZMZpl8L9V5QWVQw418VqRfSAk4HCy9hr+Je9KbDmYL6YyBHyHcSbegccpVT59v/qou84qNMH8GWLqJ/lOxsgE4cfgUL231INPCrd2Gk++xfJ75UuVjhXChDzOcQhij+1hFslVsRXpOKlwa0RN4oVlHECTe31iaGEo/T9aZ+Ap68HFFDXDfnAZ0+W+WZPVYof+4ASjLdLZhLnzvklxjHbARYqKmRR5npfJA1hY9u84a93rIGNS/7+MNI1IxYaZDzu/14vraYGLnr+3NTolo2k6RHO5hyn2SgyZ7fnil0+qzC5cI+eiMqUS2JLUPQ2NiJIrX8lFfC4NhIVR1zzNQbUEaCV4cN00PSFzWdGxEj/7J923U3bR1Nk0eNIbJZWMekiM/+tyHVyrr/mdWipfpry3iqjHbqND7cVFznNfCnz5jmStTnAB/azZN3o= on: tags: true repo: trailsjs/trailpack-realtime diff --git a/package.json b/package.json index 34c2c22..06d3968 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "trailpack-realtime", - "version": "2.1.0", + "version": "2.2.0", "description": "Realtime Trailpack. Synchronize the client and server via WebSockets", "homepage": "http://www.trailsjs.io/", "author": "Trails.js Team ", @@ -27,14 +27,14 @@ "primus" ], "dependencies": { - "engine.io": "^3.1.4", - "primus": "^7.1.0", + "engine.io": "^3.2.0", + "primus": "^7.1.1", "trailpack": "^2.1.3" }, "devDependencies": { - "eslint": "^4.11.0", - "eslint-config-trails": "^3.0.0", - "mocha": "^4.0.1" + "eslint": "^4.19.1", + "eslint-config-trails": "^3.1.0", + "mocha": "^5.1.0" }, "scripts": { "test": "eslint ." diff --git a/yarn.lock b/yarn.lock index da95cd9..57c6e47 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,11 +2,11 @@ # yarn lockfile v1 -accepts@1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.3.tgz#c3ca7434938648c3e0d9c1e328dd68b622c284ca" +accepts@~1.3.4: + version "1.3.5" + resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2" dependencies: - mime-types "~2.1.11" + mime-types "~2.1.18" negotiator "0.6.1" access-control@~1.0.0: @@ -27,9 +27,9 @@ acorn@^3.0.4: version "3.3.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" -acorn@^5.2.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.2.1.tgz#317ac7821826c22c702d66189ab8359675f135d7" +acorn@^5.5.0: + version "5.5.3" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.5.3.tgz#f473dd47e0277a08e28e9bec5aeeb04751f0b8c9" after@0.8.2: version "0.8.2" @@ -133,9 +133,9 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" -browser-stdout@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" +browser-stdout@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" caller-path@^0.1.0: version "0.1.0" @@ -271,18 +271,12 @@ debug@0.7.x: version "0.7.4" resolved "https://registry.yarnpkg.com/debug/-/debug-0.7.4.tgz#06e1ea8082c2cb14e39806e22e2f6f757f92af39" -debug@3.1.0, debug@^3.0.1: +debug@3.1.0, debug@^3.1.0, debug@~3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" dependencies: ms "2.0.0" -debug@~2.6.9: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - dependencies: - ms "2.0.0" - deep-is@~0.1.3: version "0.1.3" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" @@ -307,16 +301,15 @@ diagnostics@~1.1.0: enabled "1.0.x" kuler "0.0.x" -diff@3.3.1: - version "3.3.1" - resolved "https://registry.yarnpkg.com/diff/-/diff-3.3.1.tgz#aa8567a6eed03c531fc89d3f711cd0e5259dec75" +diff@3.5.0: + version "3.5.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" -doctrine@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.0.0.tgz#c73d8d2909d22291e1a007a395804da8b665fe63" +doctrine@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" dependencies: esutils "^2.0.2" - isarray "^1.0.0" emits@3.0.x: version "3.0.0" @@ -338,18 +331,16 @@ engine.io-parser@~2.1.0: blob "0.0.4" has-binary2 "~1.0.2" -engine.io@^3.1.4: - version "3.1.4" - resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-3.1.4.tgz#3d0211b70a552ce841ffc7da8627b301a9a4162e" +engine.io@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-3.2.0.tgz#54332506f42f2edc71690d2f2a42349359f3bf7d" dependencies: - accepts "1.3.3" + accepts "~1.3.4" base64id "1.0.0" cookie "0.3.1" - debug "~2.6.9" + debug "~3.1.0" engine.io-parser "~2.1.0" ws "~3.3.1" - optionalDependencies: - uws "~0.14.4" env-variable@0.0.x: version "0.0.3" @@ -359,9 +350,9 @@ escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1 version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" -eslint-config-trails@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/eslint-config-trails/-/eslint-config-trails-3.0.0.tgz#36112686aee742f1dbf1e66540b7cc1dab722b20" +eslint-config-trails@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-trails/-/eslint-config-trails-3.1.0.tgz#77228502c2bdfc6ea7ee3d6dea53327d5c328480" eslint-scope@^3.7.1: version "3.7.1" @@ -370,26 +361,30 @@ eslint-scope@^3.7.1: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint@^4.11.0: - version "4.11.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.11.0.tgz#39a8c82bc0a3783adf5a39fa27fdd9d36fac9a34" +eslint-visitor-keys@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" + +eslint@^4.19.1: + version "4.19.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.19.1.tgz#32d1d653e1d90408854bfb296f076ec7e186a300" dependencies: ajv "^5.3.0" babel-code-frame "^6.22.0" chalk "^2.1.0" concat-stream "^1.6.0" cross-spawn "^5.1.0" - debug "^3.0.1" - doctrine "^2.0.0" + debug "^3.1.0" + doctrine "^2.1.0" eslint-scope "^3.7.1" - espree "^3.5.2" + eslint-visitor-keys "^1.0.0" + espree "^3.5.4" esquery "^1.0.0" - estraverse "^4.2.0" esutils "^2.0.2" file-entry-cache "^2.0.0" functional-red-black-tree "^1.0.1" glob "^7.1.2" - globals "^9.17.0" + globals "^11.0.1" ignore "^3.3.3" imurmurhash "^0.1.4" inquirer "^3.0.6" @@ -405,18 +400,19 @@ eslint@^4.11.0: path-is-inside "^1.0.2" pluralize "^7.0.0" progress "^2.0.0" + regexpp "^1.0.1" require-uncached "^1.0.3" semver "^5.3.0" strip-ansi "^4.0.0" strip-json-comments "~2.0.1" - table "^4.0.1" + table "4.0.2" text-table "~0.2.0" -espree@^3.5.2: - version "3.5.2" - resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.2.tgz#756ada8b979e9dcfcdb30aad8d1a9304a905e1ca" +espree@^3.5.4: + version "3.5.4" + resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.4.tgz#b0f447187c8a8bed944b815a660bddf5deb5d1a7" dependencies: - acorn "^5.2.1" + acorn "^5.5.0" acorn-jsx "^3.0.0" esprima@^4.0.0: @@ -436,7 +432,7 @@ esrecurse@^4.1.0: estraverse "^4.1.0" object-assign "^4.0.1" -estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: +estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1: version "4.2.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" @@ -444,9 +440,9 @@ esutils@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" -eventemitter3@~2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-2.0.3.tgz#b5e1079b59fb5e1ba2771c0a993be060a58c99ba" +eventemitter3@~3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.0.1.tgz#4ce66c3fc5b5a6b9f2245e359e1938f1ab10f960" extendible@0.1.x: version "0.1.1" @@ -524,9 +520,9 @@ glob@7.1.2, glob@^7.0.3, glob@^7.0.5, glob@^7.1.2: once "^1.3.0" path-is-absolute "^1.0.0" -globals@^9.17.0: - version "9.18.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" +globals@^11.0.1: + version "11.4.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.4.0.tgz#b85c793349561c16076a3c13549238a27945f1bc" globby@^5.0.0: version "5.0.0" @@ -643,7 +639,7 @@ isarray@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e" -isarray@^1.0.0, isarray@~1.0.0: +isarray@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" @@ -698,21 +694,21 @@ millisecond@0.1.x: version "0.1.2" resolved "https://registry.yarnpkg.com/millisecond/-/millisecond-0.1.2.tgz#6cc5ad386241cab8e78aff964f87028eec92dac5" -mime-db@~1.30.0: - version "1.30.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01" +mime-db@~1.33.0: + version "1.33.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" -mime-types@~2.1.11: - version "2.1.17" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a" +mime-types@~2.1.18: + version "2.1.18" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" dependencies: - mime-db "~1.30.0" + mime-db "~1.33.0" mimic-fn@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18" -minimatch@^3.0.2, minimatch@^3.0.4: +minimatch@3.0.4, minimatch@^3.0.2, minimatch@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" dependencies: @@ -728,18 +724,19 @@ mkdirp@0.5.1, mkdirp@^0.5.1: dependencies: minimist "0.0.8" -mocha@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-4.0.1.tgz#0aee5a95cf69a4618820f5e51fa31717117daf1b" +mocha@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.1.0.tgz#5ff11cc39c0bb65330ac6c41f9086634e3e3f686" dependencies: - browser-stdout "1.3.0" + browser-stdout "1.3.1" commander "2.11.0" debug "3.1.0" - diff "3.3.1" + diff "3.5.0" escape-string-regexp "1.0.5" glob "7.1.2" growl "1.10.3" he "1.1.1" + minimatch "3.0.4" mkdirp "0.5.1" supports-color "4.4.0" @@ -826,15 +823,15 @@ prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" -primus@^7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/primus/-/primus-7.1.0.tgz#1e437c7d7699f7875fc633bc57aa6173cf2e2dfe" +primus@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/primus/-/primus-7.1.1.tgz#c2f4efa6e49b2bccbcb996af43b614d6ce43692d" dependencies: access-control "~1.0.0" asyncemit "~3.0.1" create-server "~1.0.1" diagnostics "~1.1.0" - eventemitter3 "~2.0.2" + eventemitter3 "~3.0.0" forwarded-for "~1.0.1" fusing "~1.0.0" setheader "~0.0.4" @@ -865,6 +862,10 @@ readable-stream@^2.2.2: string_decoder "~1.0.3" util-deprecate "~1.0.1" +regexpp@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-1.1.0.tgz#0e3516dd0b7904f413d2d4193dce4618c3a689ab" + require-uncached@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3" @@ -988,7 +989,7 @@ supports-color@^4.0.0: dependencies: has-flag "^2.0.0" -table@^4.0.1: +table@4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36" dependencies: @@ -1045,10 +1046,6 @@ util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" -uws@~0.14.4: - version "0.14.5" - resolved "https://registry.yarnpkg.com/uws/-/uws-0.14.5.tgz#67aaf33c46b2a587a5f6666d00f7691328f149dc" - vary@1.1.x: version "1.1.2" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"