language
stringclasses 1
value | owner
stringlengths 2
15
| repo
stringlengths 2
21
| sha
stringlengths 45
45
| message
stringlengths 7
36.3k
| path
stringlengths 1
199
| patch
stringlengths 15
102k
| is_multipart
bool 2
classes |
---|---|---|---|---|---|---|---|
Other
|
emberjs
|
ember.js
|
f48d1e1abbbd27c5dd0cf964d663f1fbd48d1f6c.json
|
Update yarn.lock to latest allowed deps.
|
yarn.lock
|
@@ -86,35 +86,38 @@
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.38.tgz#c1be40aa933723c608820a99a373a16d215a1ca2"
"@types/node@^8.0.53":
- version "8.0.53"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.53.tgz#396b35af826fa66aad472c8cb7b8d5e277f4e6d8"
+ version "8.5.8"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-8.5.8.tgz#92509422653f10e9c0ac18d87e0610b39f9821c7"
"@types/rollup@^0.51.0":
- version "0.51.1"
- resolved "https://registry.yarnpkg.com/@types/rollup/-/rollup-0.51.1.tgz#d7d8992ef15c2d1531f193cd82002d68b300d330"
+ version "0.51.4"
+ resolved "https://registry.yarnpkg.com/@types/rollup/-/rollup-0.51.4.tgz#2432f308f889ad59c9a8ed1c9ec72523d872e612"
dependencies:
"@types/acorn" "*"
- "@types/source-map" "*"
+ source-map "^0.6.1"
"@types/rsvp@^4.0.1":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@types/rsvp/-/rsvp-4.0.1.tgz#82956bc8d0a8151ec3b7e9cae64fd06808a1c714"
-"@types/source-map@*":
- version "0.5.2"
- resolved "https://registry.yarnpkg.com/@types/source-map/-/source-map-0.5.2.tgz#973459e744cc7445c85b97f770275b479b138e08"
-
abbrev@1:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f"
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
[email protected], accepts@~1.3.3:
[email protected]:
version "1.3.3"
resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.3.tgz#c3ca7434938648c3e0d9c1e328dd68b622c284ca"
dependencies:
mime-types "~2.1.11"
negotiator "0.6.1"
+accepts@~1.3.4:
+ version "1.3.4"
+ resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.4.tgz#86246758c7dd6d21a6474ff084a4740ec05eb21f"
+ dependencies:
+ mime-types "~2.1.16"
+ negotiator "0.6.1"
+
acorn-jsx@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b"
@@ -125,9 +128,9 @@ acorn@^3.0.4:
version "3.3.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a"
-acorn@^5.0.1:
- version "5.1.1"
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.1.1.tgz#53fe161111f912ab999ee887a90a0bc52822fd75"
+acorn@^5.2.1:
+ version "5.3.0"
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.3.0.tgz#7446d39459c54fb49a80e6ee6478149b940ec822"
[email protected]:
version "0.8.1"
@@ -141,8 +144,8 @@ agent-base@2:
semver "~5.0.1"
agent-base@^4.1.0:
- version "4.1.1"
- resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.1.1.tgz#92d8a4fc2524a3b09b3666a33b6c97960f23d6a4"
+ version "4.1.2"
+ resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.1.2.tgz#80fa6cde440f4dcf9af2617cf246099b5d99f0c8"
dependencies:
es6-promisify "^5.0.0"
@@ -220,11 +223,11 @@ ansicolors@~0.2.1:
resolved "https://registry.yarnpkg.com/ansicolors/-/ansicolors-0.2.1.tgz#be089599097b74a5c9c4a84a0cdbcdb62bd87aef"
anymatch@^1.3.0:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.0.tgz#a3e52fa39168c825ff57b0248126ce5a8ff95507"
+ version "1.3.2"
+ resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.2.tgz#553dcb8f91e3c889845dfdba34c77721b90b9d7a"
dependencies:
- arrify "^1.0.0"
micromatch "^2.1.5"
+ normalize-path "^2.0.0"
aot-test-generators@^0.1.0:
version "0.1.0"
@@ -233,8 +236,8 @@ aot-test-generators@^0.1.0:
jsesc "^2.5.0"
aproba@^1.0.3:
- version "1.0.4"
- resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.0.4.tgz#2713680775e7614c8ba186c065d4e2e52d1072c0"
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a"
are-we-there-yet@~1.1.2:
version "1.1.4"
@@ -328,16 +331,16 @@ assert-plus@^0.2.0:
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234"
assertion-error@^1.0.1:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.0.2.tgz#13ca515d86206da0bac66e834dd397d87581094c"
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b"
[email protected]:
version "0.9.6"
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.9.6.tgz#102c9e9e9005d3e7e3829bf0c4fa24ee862ee9b9"
async-disk-cache@^1.2.1:
- version "1.3.2"
- resolved "https://registry.yarnpkg.com/async-disk-cache/-/async-disk-cache-1.3.2.tgz#ac53d6152843df202c9406e28d774362608d74dd"
+ version "1.3.3"
+ resolved "https://registry.yarnpkg.com/async-disk-cache/-/async-disk-cache-1.3.3.tgz#6040486660b370e4051cd9fa9fee275e1fae3728"
dependencies:
debug "^2.1.3"
heimdalljs "^0.2.3"
@@ -351,19 +354,24 @@ async-each@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d"
+async-limiter@~1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8"
+
async-promise-queue@^1.0.3:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/async-promise-queue/-/async-promise-queue-1.0.3.tgz#70c9c37635620f894978814b6c65e6e14e2573ee"
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/async-promise-queue/-/async-promise-queue-1.0.4.tgz#308baafbc74aff66a0bb6e7f4a18d4fe8434440c"
dependencies:
async "^2.4.1"
+ debug "^2.6.8"
async@^1.4.0, async@^1.5.2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
async@^2.4.1:
- version "2.5.0"
- resolved "https://registry.yarnpkg.com/async/-/async-2.5.0.tgz#843190fd6b7357a0b9e1c956edddd5ec8462b54d"
+ version "2.6.0"
+ resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4"
dependencies:
lodash "^4.14.0"
@@ -380,17 +388,18 @@ asynckit@^0.4.0:
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
aws-sdk@^2.0.9, aws-sdk@^2.46.0:
- version "2.85.0"
- resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.85.0.tgz#e3860761c9a2f8a9017461ab7f3bd075f69dfa8f"
+ version "2.178.0"
+ resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.178.0.tgz#e8257adde039cad2a1ac0abd278d172b6c39a9c7"
dependencies:
buffer "4.9.1"
- crypto-browserify "1.0.9"
+ create-hash "^1.1.3"
+ create-hmac "^1.1.6"
events "^1.1.1"
jmespath "0.15.0"
querystring "0.2.0"
sax "1.2.1"
url "0.10.3"
- uuid "3.0.1"
+ uuid "3.1.0"
xml2js "0.4.17"
xmlbuilder "4.2.1"
@@ -406,57 +415,49 @@ aws4@^1.2.1:
version "1.6.0"
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e"
-babel-code-frame@^6.16.0, babel-code-frame@^6.22.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4"
- dependencies:
- chalk "^1.1.0"
- esutils "^2.0.2"
- js-tokens "^3.0.0"
-
-babel-code-frame@^6.26.0:
+babel-code-frame@^6.16.0, babel-code-frame@^6.22.0, babel-code-frame@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
dependencies:
chalk "^1.1.3"
esutils "^2.0.2"
js-tokens "^3.0.2"
-babel-core@^6.14.0, babel-core@^6.24.1:
- version "6.25.0"
- resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.25.0.tgz#7dd42b0463c742e9d5296deb3ec67a9322dad729"
+babel-core@^6.14.0, babel-core@^6.26.0:
+ version "6.26.0"
+ resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.0.tgz#af32f78b31a6fcef119c87b0fd8d9753f03a0bb8"
dependencies:
- babel-code-frame "^6.22.0"
- babel-generator "^6.25.0"
+ babel-code-frame "^6.26.0"
+ babel-generator "^6.26.0"
babel-helpers "^6.24.1"
babel-messages "^6.23.0"
- babel-register "^6.24.1"
- babel-runtime "^6.22.0"
- babel-template "^6.25.0"
- babel-traverse "^6.25.0"
- babel-types "^6.25.0"
- babylon "^6.17.2"
- convert-source-map "^1.1.0"
- debug "^2.1.1"
- json5 "^0.5.0"
- lodash "^4.2.0"
- minimatch "^3.0.2"
- path-is-absolute "^1.0.0"
- private "^0.1.6"
+ babel-register "^6.26.0"
+ babel-runtime "^6.26.0"
+ babel-template "^6.26.0"
+ babel-traverse "^6.26.0"
+ babel-types "^6.26.0"
+ babylon "^6.18.0"
+ convert-source-map "^1.5.0"
+ debug "^2.6.8"
+ json5 "^0.5.1"
+ lodash "^4.17.4"
+ minimatch "^3.0.4"
+ path-is-absolute "^1.0.1"
+ private "^0.1.7"
slash "^1.0.0"
- source-map "^0.5.0"
+ source-map "^0.5.6"
-babel-generator@^6.25.0:
- version "6.25.0"
- resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.25.0.tgz#33a1af70d5f2890aeb465a4a7793c1df6a9ea9fc"
+babel-generator@^6.26.0:
+ version "6.26.0"
+ resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.26.0.tgz#ac1ae20070b79f6e3ca1d3269613053774f20dc5"
dependencies:
babel-messages "^6.23.0"
- babel-runtime "^6.22.0"
- babel-types "^6.25.0"
+ babel-runtime "^6.26.0"
+ babel-types "^6.26.0"
detect-indent "^4.0.0"
jsesc "^1.3.0"
- lodash "^4.2.0"
- source-map "^0.5.0"
+ lodash "^4.17.4"
+ source-map "^0.5.6"
trim-right "^1.0.1"
babel-helper-builder-binary-assignment-operator-visitor@^6.24.1:
@@ -477,13 +478,13 @@ babel-helper-call-delegate@^6.24.1:
babel-types "^6.24.1"
babel-helper-define-map@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-helper-define-map/-/babel-helper-define-map-6.24.1.tgz#7a9747f258d8947d32d515f6aa1c7bd02204a080"
+ version "6.26.0"
+ resolved "https://registry.yarnpkg.com/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz#a5f56dab41a25f97ecb498c7ebaca9819f95be5f"
dependencies:
babel-helper-function-name "^6.24.1"
- babel-runtime "^6.22.0"
- babel-types "^6.24.1"
- lodash "^4.2.0"
+ babel-runtime "^6.26.0"
+ babel-types "^6.26.0"
+ lodash "^4.17.4"
babel-helper-evaluate-path@^0.2.0:
version "0.2.0"
@@ -637,7 +638,7 @@ babel-plugin-transform-es2015-block-scoped-functions@^6.22.0:
dependencies:
babel-runtime "^6.22.0"
-babel-plugin-transform-es2015-block-scoping@^6.23.0:
+babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es2015-block-scoping@^6.24.1:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz#d70f5299c1308d05c12f463813b0a09e73b1895f"
dependencies:
@@ -647,16 +648,6 @@ babel-plugin-transform-es2015-block-scoping@^6.23.0:
babel-types "^6.26.0"
lodash "^4.17.4"
-babel-plugin-transform-es2015-block-scoping@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.24.1.tgz#76c295dc3a4741b1665adfd3167215dcff32a576"
- dependencies:
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
- babel-traverse "^6.24.1"
- babel-types "^6.24.1"
- lodash "^4.2.0"
-
babel-plugin-transform-es2015-classes@^6.23.0, babel-plugin-transform-es2015-classes@^6.24.1:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db"
@@ -719,7 +710,7 @@ babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015
babel-runtime "^6.22.0"
babel-template "^6.24.1"
-babel-plugin-transform-es2015-modules-commonjs@^6.23.0:
+babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz#0d8394029b7dc6abe1a97ef181e00758dd2e5d8a"
dependencies:
@@ -728,15 +719,6 @@ babel-plugin-transform-es2015-modules-commonjs@^6.23.0:
babel-template "^6.26.0"
babel-types "^6.26.0"
-babel-plugin-transform-es2015-modules-commonjs@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.24.1.tgz#d3e310b40ef664a36622200097c6d440298f2bfe"
- dependencies:
- babel-plugin-transform-strict-mode "^6.24.1"
- babel-runtime "^6.22.0"
- babel-template "^6.24.1"
- babel-types "^6.24.1"
-
babel-plugin-transform-es2015-modules-systemjs@^6.23.0:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz#ff89a142b9119a906195f5f106ecf305d9407d23"
@@ -821,11 +803,11 @@ babel-plugin-transform-exponentiation-operator@^6.22.0:
babel-runtime "^6.22.0"
babel-plugin-transform-proto-to-assign@^6.23.0:
- version "6.23.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-proto-to-assign/-/babel-plugin-transform-proto-to-assign-6.23.0.tgz#1c24951598793fc6a1d18118a11de1c36376fe2e"
+ version "6.26.0"
+ resolved "https://registry.yarnpkg.com/babel-plugin-transform-proto-to-assign/-/babel-plugin-transform-proto-to-assign-6.26.0.tgz#c493e24a62749a44f7ede96506c0cb3a1891f67b"
dependencies:
- babel-runtime "^6.22.0"
- lodash "^4.2.0"
+ babel-runtime "^6.26.0"
+ lodash "^4.17.4"
babel-plugin-transform-regenerator@^6.22.0:
version "6.26.0"
@@ -883,43 +865,26 @@ babel-preset-env@^1.5.1:
invariant "^2.2.2"
semver "^5.3.0"
-babel-register@^6.24.1:
- version "6.24.1"
- resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.24.1.tgz#7e10e13a2f71065bdfad5a1787ba45bca6ded75f"
+babel-register@^6.26.0:
+ version "6.26.0"
+ resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.26.0.tgz#6ed021173e2fcb486d7acb45c6009a856f647071"
dependencies:
- babel-core "^6.24.1"
- babel-runtime "^6.22.0"
- core-js "^2.4.0"
+ babel-core "^6.26.0"
+ babel-runtime "^6.26.0"
+ core-js "^2.5.0"
home-or-tmp "^2.0.0"
- lodash "^4.2.0"
+ lodash "^4.17.4"
mkdirp "^0.5.1"
- source-map-support "^0.4.2"
-
-babel-runtime@^6.18.0, babel-runtime@^6.22.0:
- version "6.23.0"
- resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b"
- dependencies:
- core-js "^2.4.0"
- regenerator-runtime "^0.10.0"
+ source-map-support "^0.4.15"
-babel-runtime@^6.26.0:
+babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
dependencies:
core-js "^2.4.0"
regenerator-runtime "^0.11.0"
-babel-template@^6.24.1, babel-template@^6.25.0:
- version "6.25.0"
- resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.25.0.tgz#665241166b7c2aa4c619d71e192969552b10c071"
- dependencies:
- babel-runtime "^6.22.0"
- babel-traverse "^6.25.0"
- babel-types "^6.25.0"
- babylon "^6.17.2"
- lodash "^4.2.0"
-
-babel-template@^6.26.0:
+babel-template@^6.24.1, babel-template@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02"
dependencies:
@@ -929,21 +894,7 @@ babel-template@^6.26.0:
babylon "^6.18.0"
lodash "^4.17.4"
-babel-traverse@^6.24.1, babel-traverse@^6.25.0:
- version "6.25.0"
- resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.25.0.tgz#2257497e2fcd19b89edc13c4c91381f9512496f1"
- dependencies:
- babel-code-frame "^6.22.0"
- babel-messages "^6.23.0"
- babel-runtime "^6.22.0"
- babel-types "^6.25.0"
- babylon "^6.17.2"
- debug "^2.2.0"
- globals "^9.0.0"
- invariant "^2.2.0"
- lodash "^4.2.0"
-
-babel-traverse@^6.26.0:
+babel-traverse@^6.24.1, babel-traverse@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee"
dependencies:
@@ -957,7 +908,7 @@ babel-traverse@^6.26.0:
invariant "^2.2.2"
lodash "^4.17.4"
-babel-types@^6.19.0, babel-types@^6.26.0:
+babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497"
dependencies:
@@ -966,19 +917,6 @@ babel-types@^6.19.0, babel-types@^6.26.0:
lodash "^4.17.4"
to-fast-properties "^1.0.3"
-babel-types@^6.24.1, babel-types@^6.25.0:
- version "6.25.0"
- resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.25.0.tgz#70afb248d5660e5d18f811d91c8303b54134a18e"
- dependencies:
- babel-runtime "^6.22.0"
- esutils "^2.0.2"
- lodash "^4.2.0"
- to-fast-properties "^1.0.1"
-
-babylon@^6.17.2:
- version "6.17.4"
- resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.17.4.tgz#3e8b7402b88d22c3423e137a1577883b15ff869a"
-
babylon@^6.18.0:
version "6.18.0"
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3"
@@ -1054,8 +992,23 @@ block-stream@*:
inherits "~2.0.0"
bluebird@^3.1.1, bluebird@^3.4.6:
- version "3.5.0"
- resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.0.tgz#791420d7f551eea2897453a8a77653f96606d67c"
+ version "3.5.1"
+ resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
+
[email protected]:
+ version "1.18.2"
+ resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454"
+ dependencies:
+ bytes "3.0.0"
+ content-type "~1.0.4"
+ debug "2.6.9"
+ depd "~1.1.1"
+ http-errors "~1.6.2"
+ iconv-lite "0.4.19"
+ on-finished "~2.3.0"
+ qs "6.5.1"
+ raw-body "2.3.2"
+ type-is "~1.6.15"
body@^5.1.0:
version "5.1.0"
@@ -1079,8 +1032,8 @@ [email protected]:
hoek "2.x.x"
bower-config@^1.3.0:
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/bower-config/-/bower-config-1.4.0.tgz#16c38c1135f8071c19f25938d61b0d8cbf18d3f1"
+ version "1.4.1"
+ resolved "https://registry.yarnpkg.com/bower-config/-/bower-config-1.4.1.tgz#85fd9df367c2b8dbbd0caa4c5f2bad40cd84c2cc"
dependencies:
graceful-fs "^4.1.3"
mout "^1.0.0"
@@ -1204,19 +1157,7 @@ broccoli-config-replace@^1.1.2:
debug "^2.2.0"
fs-extra "^0.24.0"
-broccoli-debug@^0.6.1, broccoli-debug@^0.6.3:
- version "0.6.3"
- resolved "https://registry.yarnpkg.com/broccoli-debug/-/broccoli-debug-0.6.3.tgz#1f33bb0eacb5db81366f0492524c82b1217eb578"
- dependencies:
- broccoli-plugin "^1.2.1"
- fs-tree-diff "^0.5.2"
- heimdalljs "^0.2.1"
- heimdalljs-logger "^0.1.7"
- minimatch "^3.0.3"
- symlink-or-copy "^1.1.8"
- tree-sync "^1.2.2"
-
-broccoli-debug@^0.6.2:
+broccoli-debug@^0.6.1, broccoli-debug@^0.6.2, broccoli-debug@^0.6.3:
version "0.6.4"
resolved "https://registry.yarnpkg.com/broccoli-debug/-/broccoli-debug-0.6.4.tgz#986eb3d2005e00e3bb91f9d0a10ab137210cd150"
dependencies:
@@ -1307,12 +1248,12 @@ broccoli-kitchen-sink-helpers@^0.3.1:
mkdirp "^0.5.1"
broccoli-lint-eslint@^3.2.1:
- version "3.3.1"
- resolved "https://registry.yarnpkg.com/broccoli-lint-eslint/-/broccoli-lint-eslint-3.3.1.tgz#35c675546a5a7ad8f3319edd732e3aad8ca241de"
+ version "3.3.2"
+ resolved "https://registry.yarnpkg.com/broccoli-lint-eslint/-/broccoli-lint-eslint-3.3.2.tgz#47e58dc2eb05dadf329a622720e92f22feca1ce6"
dependencies:
aot-test-generators "^0.1.0"
broccoli-concat "^3.2.2"
- broccoli-persistent-filter "^1.2.0"
+ broccoli-persistent-filter "^1.4.3"
eslint "^3.0.0"
json-stable-stringify "^1.0.1"
lodash.defaultsdeep "^4.6.0"
@@ -1345,14 +1286,13 @@ broccoli-middleware@^1.0.0:
handlebars "^4.0.4"
mime "^1.2.11"
-broccoli-persistent-filter@^1.1.5, broccoli-persistent-filter@^1.1.6, broccoli-persistent-filter@^1.2.0, broccoli-persistent-filter@^1.4.0:
- version "1.4.2"
- resolved "https://registry.yarnpkg.com/broccoli-persistent-filter/-/broccoli-persistent-filter-1.4.2.tgz#17af1278a25ff2556f9d7d23e115accfad3a7ce7"
+broccoli-persistent-filter@^1.1.5, broccoli-persistent-filter@^1.1.6, broccoli-persistent-filter@^1.4.0, broccoli-persistent-filter@^1.4.3:
+ version "1.4.3"
+ resolved "https://registry.yarnpkg.com/broccoli-persistent-filter/-/broccoli-persistent-filter-1.4.3.tgz#3511bc52fc53740cda51621f58a28152d9911bc1"
dependencies:
async-disk-cache "^1.2.1"
async-promise-queue "^1.0.3"
broccoli-plugin "^1.0.0"
- crypto "0.0.3"
fs-tree-diff "^0.5.2"
hash-for-dep "^1.0.2"
heimdalljs "^0.2.1"
@@ -1434,8 +1374,8 @@ broccoli-string-replace@^0.1.2:
minimatch "^3.0.3"
broccoli-typescript-compiler@^2.0.1:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/broccoli-typescript-compiler/-/broccoli-typescript-compiler-2.0.1.tgz#8d30df28f051a425b1919611919c033d0789bd03"
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/broccoli-typescript-compiler/-/broccoli-typescript-compiler-2.1.1.tgz#3d40d277c4804305cb8d4cd779137e44a4c16419"
dependencies:
array-binsearch "^1.0.1"
broccoli-funnel "^1.2.0"
@@ -1444,7 +1384,7 @@ broccoli-typescript-compiler@^2.0.1:
fs-tree-diff "^0.5.2"
heimdalljs "0.3.3"
md5-hex "^2.0.0"
- typescript "~2.4.2"
+ typescript "~2.6.1"
walk-sync "^0.3.2"
broccoli-uglify-js@^0.2.0:
@@ -1455,8 +1395,8 @@ broccoli-uglify-js@^0.2.0:
uglify-js "~2.6.2"
broccoli-uglify-sourcemap@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/broccoli-uglify-sourcemap/-/broccoli-uglify-sourcemap-2.0.0.tgz#2dc574e9d330c2e0dcc834b3d24c794b405a3803"
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/broccoli-uglify-sourcemap/-/broccoli-uglify-sourcemap-2.0.1.tgz#e8f2f6c49e04b6e921f1ecd30e12f06fb75e585f"
dependencies:
broccoli-plugin "^1.2.1"
debug "^3.1.0"
@@ -1527,9 +1467,9 @@ bytes@1:
version "1.0.0"
resolved "https://registry.yarnpkg.com/bytes/-/bytes-1.0.0.tgz#3569ede8ba34315fab99c3e92cb04c7220de1fa8"
[email protected]:
- version "2.5.0"
- resolved "https://registry.yarnpkg.com/bytes/-/bytes-2.5.0.tgz#4c9423ea2d252c270c41b2bdefeff9bb6b62c06a"
[email protected]:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"
calculate-cache-key-for-tree@^1.0.0:
version "1.1.0"
@@ -1577,8 +1517,8 @@ can-symlink@^1.0.0:
tmp "0.0.28"
caniuse-lite@^1.0.30000784:
- version "1.0.30000787"
- resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000787.tgz#a76c4fa1d6ac00640447ec83c1e7c6b33dd615c5"
+ version "1.0.30000789"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000789.tgz#2e3d937b267133f63635ef7f441fac66360fc889"
capture-exit@^1.1.0:
version "1.2.0"
@@ -1661,7 +1601,7 @@ chalk@^0.5.1:
strip-ansi "^0.3.0"
supports-color "^0.2.0"
-chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3:
+chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
dependencies:
@@ -1704,9 +1644,16 @@ [email protected]:
optionalDependencies:
fsevents "^1.0.0"
+cipher-base@^1.0.1, cipher-base@^1.0.3:
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de"
+ dependencies:
+ inherits "^2.0.1"
+ safe-buffer "^5.0.1"
+
circular-json@^0.3.1:
- version "0.3.1"
- resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.1.tgz#be8b36aefccde8b3ca7aa2d6afc07a37242c0d2d"
+ version "0.3.3"
+ resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66"
clean-base-url@^1.0.0:
version "1.0.0"
@@ -1759,8 +1706,8 @@ cli-table@^0.3.1:
colors "1.0.3"
cli-width@^2.0.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.1.0.tgz#b234ca209b29ef66fc518d9b98d5847b00edf00a"
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
cliui@^2.1.0:
version "2.1.0"
@@ -1770,12 +1717,12 @@ cliui@^2.1.0:
right-align "^0.1.1"
wordwrap "0.0.2"
-cliui@^3.2.0:
- version "3.2.0"
- resolved "https://registry.yarnpkg.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d"
+cliui@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.0.0.tgz#743d4650e05f36d1ed2575b59638d87322bfbbcc"
dependencies:
- string-width "^1.0.1"
- strip-ansi "^3.0.1"
+ string-width "^2.1.1"
+ strip-ansi "^4.0.0"
wrap-ansi "^2.0.0"
clone@^2.0.0:
@@ -1797,8 +1744,8 @@ code-point-at@^1.0.0:
resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
color-convert@^1.9.0:
- version "1.9.0"
- resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a"
+ version "1.9.1"
+ resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed"
dependencies:
color-name "^1.1.1"
@@ -1826,7 +1773,7 @@ combined-stream@~0.0.4:
dependencies:
delayed-stream "0.0.5"
[email protected], commander@^2.6.0, commander@^2.9.0, commander@~2.11.0:
[email protected]:
version "2.11.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563"
@@ -1842,11 +1789,15 @@ [email protected]:
dependencies:
graceful-readlink ">= 1.0.0"
+commander@^2.6.0, commander@^2.9.0, commander@~2.12.1:
+ version "2.12.2"
+ resolved "https://registry.yarnpkg.com/commander/-/commander-2.12.2.tgz#0f5946c427ed9ec0d91a46bb9def53e54650e555"
+
common-tags@^1.4.0:
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.4.0.tgz#1187be4f3d4cf0c0427d43f74eef1f73501614c0"
+ version "1.6.0"
+ resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.6.0.tgz#788e4bcc582f16993e5b2c92f76b1ccb80731537"
dependencies:
- babel-runtime "^6.18.0"
+ babel-runtime "^6.26.0"
[email protected]:
version "1.0.0"
@@ -1864,23 +1815,23 @@ [email protected]:
version "0.0.3"
resolved "https://registry.yarnpkg.com/component-inherit/-/component-inherit-0.0.3.tgz#645fc4adf58b72b649d5cae65135619db26ff143"
-compressible@~2.0.10:
- version "2.0.10"
- resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.10.tgz#feda1c7f7617912732b29bf8cf26252a20b9eecd"
+compressible@~2.0.11:
+ version "2.0.12"
+ resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.12.tgz#c59a5c99db76767e9876500e271ef63b3493bd66"
dependencies:
- mime-db ">= 1.27.0 < 2"
+ mime-db ">= 1.30.0 < 2"
compression@^1.4.4:
- version "1.7.0"
- resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.0.tgz#030c9f198f1643a057d776a738e922da4373012d"
+ version "1.7.1"
+ resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.1.tgz#eff2603efc2e22cf86f35d2eb93589f9875373db"
dependencies:
- accepts "~1.3.3"
- bytes "2.5.0"
- compressible "~2.0.10"
- debug "2.6.8"
+ accepts "~1.3.4"
+ bytes "3.0.0"
+ compressible "~2.0.11"
+ debug "2.6.9"
on-headers "~1.0.1"
safe-buffer "5.1.1"
- vary "~1.1.1"
+ vary "~1.1.2"
[email protected]:
version "0.0.1"
@@ -1930,17 +1881,17 @@ [email protected]:
version "0.5.2"
resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4"
-content-type@~1.0.2:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.2.tgz#b7d113aee7a8dd27bd21133c4dc2529df1721eed"
+content-type@~1.0.4:
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
continuable-cache@^0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/continuable-cache/-/continuable-cache-0.3.1.tgz#bd727a7faed77e71ff3985ac93351a912733ad0f"
-convert-source-map@^1.1.0:
- version "1.5.0"
- resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.0.tgz#9acd70851c6d5dfdd93d9282e5edf94a03ff46b5"
+convert-source-map@^1.5.0:
+ version "1.5.1"
+ resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.5.1.tgz#b8278097b9bc229365de5c62cf5fcaed8b5599e5"
[email protected]:
version "1.0.6"
@@ -1950,11 +1901,7 @@ [email protected]:
version "0.3.1"
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
-core-js@^2.4.0:
- version "2.4.1"
- resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e"
-
-core-js@^2.5.0:
+core-js@^2.4.0, core-js@^2.5.0:
version "2.5.3"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.3.tgz#8acc38345824f16d8365b7c9b4259168e8ed603e"
@@ -1968,10 +1915,30 @@ core-object@^3.1.3:
dependencies:
chalk "^2.0.0"
-core-util-is@~1.0.0:
[email protected], 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"
+create-hash@^1.1.0, create-hash@^1.1.3:
+ version "1.1.3"
+ resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.1.3.tgz#606042ac8b9262750f483caddab0f5819172d8fd"
+ dependencies:
+ cipher-base "^1.0.1"
+ inherits "^2.0.1"
+ ripemd160 "^2.0.0"
+ sha.js "^2.4.0"
+
+create-hmac@^1.1.6:
+ version "1.1.6"
+ resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.6.tgz#acb9e221a4e17bdb076e90657c42b93e3726cf06"
+ dependencies:
+ cipher-base "^1.0.3"
+ create-hash "^1.1.0"
+ inherits "^2.0.1"
+ ripemd160 "^2.0.0"
+ safe-buffer "^5.0.1"
+ sha.js "^2.4.8"
+
cross-spawn@^5.0.1, cross-spawn@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
@@ -1992,18 +1959,10 @@ [email protected]:
dependencies:
boom "2.x.x"
[email protected]:
- version "1.0.9"
- resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-1.0.9.tgz#cc5449685dfb85eb11c9828acc7cb87ab5bbfcc0"
-
crypto-random-string@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-1.0.0.tgz#a230f64f568310e1498009940790ec99545bca7e"
[email protected]:
- version "0.0.3"
- resolved "https://registry.yarnpkg.com/crypto/-/crypto-0.0.3.tgz#470a81b86be4c5ee17acc8207a1f5315ae20dbb0"
-
[email protected]:
version "0.5.3"
resolved "https://registry.yarnpkg.com/ctype/-/ctype-0.5.3.tgz#82c18c2461f74114ef16c135224ad0b9144ca12f"
@@ -2030,7 +1989,7 @@ dashdash@^1.12.0:
dependencies:
assert-plus "^1.0.0"
-debug@2, [email protected], debug@^2.1.3, debug@^2.4.1, debug@~2.6.7:
+debug@2, [email protected], debug@^2.1.0, debug@^2.1.1, debug@^2.1.3, debug@^2.2.0, debug@^2.4.0, debug@^2.6.8, debug@~2.6.7:
version "2.6.9"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
dependencies:
@@ -2048,18 +2007,6 @@ [email protected]:
dependencies:
ms "0.7.2"
[email protected]:
- version "2.6.7"
- resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.7.tgz#92bad1f6d05bbb6bba22cca88bcd0ec894c2861e"
- dependencies:
- ms "2.0.0"
-
[email protected], debug@^2.1.0, debug@^2.1.1, debug@^2.2.0, debug@^2.4.0, debug@^2.6.8:
- version "2.6.8"
- resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc"
- dependencies:
- ms "2.0.0"
-
[email protected], debug@^3.0.0, debug@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
@@ -2114,11 +2061,7 @@ delegates@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"
[email protected], depd@~1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.0.tgz#e1bd82c6aab6ced965b97b88b17ed3e528ca18c3"
-
-depd@~1.1.1:
[email protected], depd@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359"
@@ -2155,11 +2098,10 @@ diff@^3.2.0:
resolved "https://registry.yarnpkg.com/diff/-/diff-3.4.0.tgz#b1d85507daf3964828de54b37d0d73ba67dda56c"
doctrine@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.0.0.tgz#c73d8d2909d22291e1a007a395804da8b665fe63"
+ 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"
dot-prop@^4.1.0:
version "4.2.0"
@@ -2243,11 +2185,12 @@ ember-cli-browserstack@^0.0.4:
yargs "^10.0.3"
ember-cli-dependency-checker@^2.0.1:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/ember-cli-dependency-checker/-/ember-cli-dependency-checker-2.0.1.tgz#e44cd2f8cdbf6a1043092de1ebfd62e7b8c00dd1"
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/ember-cli-dependency-checker/-/ember-cli-dependency-checker-2.1.0.tgz#9d66286a7c778e94733eaf21320d129c4fd0dd64"
dependencies:
chalk "^1.1.3"
is-git-url "^1.0.0"
+ resolve "^1.5.0"
semver "^5.3.0"
ember-cli-get-component-path-option@^1.0.0:
@@ -2566,20 +2509,20 @@ error@^7.0.0:
string-template "~0.2.1"
xtend "~4.0.0"
-es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14:
- version "0.10.24"
- resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.24.tgz#a55877c9924bc0c8d9bd3c2cbe17495ac1709b14"
+es5-ext@^0.10.14, es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14:
+ version "0.10.37"
+ resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.37.tgz#0ee741d148b80069ba27d020393756af257defc3"
dependencies:
- es6-iterator "2"
- es6-symbol "~3.1"
+ es6-iterator "~2.0.1"
+ es6-symbol "~3.1.1"
-es6-iterator@2, es6-iterator@^2.0.1, es6-iterator@~2.0.1:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.1.tgz#8e319c9f0453bf575d374940a655920e59ca5512"
+es6-iterator@^2.0.1, es6-iterator@~2.0.1:
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7"
dependencies:
d "1"
- es5-ext "^0.10.14"
- es6-symbol "^3.1"
+ es5-ext "^0.10.35"
+ es6-symbol "^3.1.1"
es6-map@^0.1.3, es6-map@^0.1.5:
version "0.1.5"
@@ -2593,8 +2536,8 @@ es6-map@^0.1.3, es6-map@^0.1.5:
event-emitter "~0.3.5"
es6-promise@^4.0.3:
- version "4.1.1"
- resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.1.1.tgz#8811e90915d9a0dba36274f0b242dbda78f9c92a"
+ version "4.2.2"
+ resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.2.tgz#f722d7769af88bd33bc13ec6605e1f92966b82d9"
es6-promisify@^5.0.0:
version "5.0.0"
@@ -2612,7 +2555,7 @@ es6-set@~0.1.5:
es6-symbol "3.1.1"
event-emitter "~0.3.5"
[email protected], es6-symbol@^3.1, es6-symbol@^3.1.1, es6-symbol@~3.1, es6-symbol@~3.1.1:
[email protected], es6-symbol@^3.1.1, es6-symbol@~3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
dependencies:
@@ -2693,10 +2636,10 @@ eslint@^3.0.0:
user-home "^2.0.0"
espree@^3.4.0:
- version "3.4.3"
- resolved "https://registry.yarnpkg.com/espree/-/espree-3.4.3.tgz#2910b5ccd49ce893c2ffffaab4fd8b3a31b82374"
+ version "3.5.2"
+ resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.2.tgz#756ada8b979e9dcfcdb30aad8d1a9304a905e1ca"
dependencies:
- acorn "^5.0.1"
+ acorn "^5.2.1"
acorn-jsx "^3.0.0"
esprima@^4.0.0:
@@ -2732,9 +2675,9 @@ esutils@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b"
-etag@~1.8.0:
- version "1.8.0"
- resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.0.tgz#6f631aef336d6c46362b51764044ce216be3c051"
+etag@~1.8.1:
+ version "1.8.1"
+ resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
event-emitter@~0.3.5:
version "0.3.5"
@@ -2764,8 +2707,8 @@ exec-file-sync@^2.0.0:
spawn-sync "^1.0.11"
exec-sh@^0.2.0:
- version "0.2.0"
- resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.2.0.tgz#14f75de3f20d286ef933099b2ce50a90359cef10"
+ version "0.2.1"
+ resolved "https://registry.yarnpkg.com/exec-sh/-/exec-sh-0.2.1.tgz#163b98a6e89e6b65b47c2a28d215bc1f63989c38"
dependencies:
merge "^1.1.3"
@@ -2832,37 +2775,39 @@ expand-tilde@^1.2.2:
os-homedir "^1.0.1"
express@^4.10.7, express@^4.12.3, express@^4.13.1, express@^4.15.2:
- version "4.15.3"
- resolved "https://registry.yarnpkg.com/express/-/express-4.15.3.tgz#bab65d0f03aa80c358408972fc700f916944b662"
+ version "4.16.2"
+ resolved "https://registry.yarnpkg.com/express/-/express-4.16.2.tgz#e35c6dfe2d64b7dca0a5cd4f21781be3299e076c"
dependencies:
- accepts "~1.3.3"
+ accepts "~1.3.4"
array-flatten "1.1.1"
+ body-parser "1.18.2"
content-disposition "0.5.2"
- content-type "~1.0.2"
+ content-type "~1.0.4"
cookie "0.3.1"
cookie-signature "1.0.6"
- debug "2.6.7"
- depd "~1.1.0"
+ debug "2.6.9"
+ depd "~1.1.1"
encodeurl "~1.0.1"
escape-html "~1.0.3"
- etag "~1.8.0"
- finalhandler "~1.0.3"
- fresh "0.5.0"
+ etag "~1.8.1"
+ finalhandler "1.1.0"
+ fresh "0.5.2"
merge-descriptors "1.0.1"
methods "~1.1.2"
on-finished "~2.3.0"
- parseurl "~1.3.1"
+ parseurl "~1.3.2"
path-to-regexp "0.1.7"
- proxy-addr "~1.1.4"
- qs "6.4.0"
+ proxy-addr "~2.0.2"
+ qs "6.5.1"
range-parser "~1.2.0"
- send "0.15.3"
- serve-static "1.12.3"
- setprototypeof "1.0.3"
+ safe-buffer "5.1.1"
+ send "0.16.1"
+ serve-static "1.13.1"
+ setprototypeof "1.1.0"
statuses "~1.3.1"
type-is "~1.6.15"
- utils-merge "1.0.0"
- vary "~1.1.1"
+ utils-merge "1.0.1"
+ vary "~1.1.2"
extend@3, extend@^3.0.0, extend@~3.0.0:
version "3.0.1"
@@ -2883,17 +2828,21 @@ extglob@^0.3.1:
is-extglob "^1.0.0"
extract-zip@^1.6.5:
- version "1.6.5"
- resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.5.tgz#99a06735b6ea20ea9b705d779acffcc87cff0440"
+ version "1.6.6"
+ resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-1.6.6.tgz#1290ede8d20d0872b429fd3f351ca128ec5ef85c"
dependencies:
concat-stream "1.6.0"
- debug "2.2.0"
+ debug "2.6.9"
mkdirp "0.5.0"
yauzl "2.4.1"
[email protected]:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550"
[email protected]:
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
+
+extsprintf@^1.2.0:
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f"
fast-levenshtein@~2.0.4:
version "2.0.6"
@@ -2906,17 +2855,18 @@ fast-ordered-set@^1.0.0, fast-ordered-set@^1.0.2:
blank-object "^1.0.1"
fast-sourcemap-concat@^1.0.1:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/fast-sourcemap-concat/-/fast-sourcemap-concat-1.1.0.tgz#a800767abed5eda02e67238ec063a709be61f9d4"
+ version "1.2.3"
+ resolved "https://registry.yarnpkg.com/fast-sourcemap-concat/-/fast-sourcemap-concat-1.2.3.tgz#22f14e92d739e37920334376ec8433bf675eaa04"
dependencies:
chalk "^0.5.1"
- debug "^2.2.0"
fs-extra "^0.30.0"
+ heimdalljs-logger "^0.1.7"
memory-streams "^0.1.0"
mkdirp "^0.5.0"
rsvp "^3.0.14"
source-map "^0.4.2"
source-map-url "^0.3.0"
+ sourcemap-validator "^1.0.5"
faye-websocket@~0.10.0:
version "0.10.0"
@@ -2961,8 +2911,8 @@ filename-regex@^2.0.0:
resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26"
filesize@^3.1.3:
- version "3.5.10"
- resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.5.10.tgz#fc8fa23ddb4ef9e5e0ab6e1e64f679a24a56761f"
+ version "3.5.11"
+ resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.5.11.tgz#1919326749433bb3cf77368bd158caabcc19e9ee"
fill-range@^2.1.0:
version "2.2.3"
@@ -2974,15 +2924,15 @@ fill-range@^2.1.0:
repeat-element "^1.1.2"
repeat-string "^1.5.2"
-finalhandler@^1.0.2, finalhandler@~1.0.3:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.0.3.tgz#ef47e77950e999780e86022a560e3217e0d0cc89"
[email protected], finalhandler@^1.0.2:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.0.tgz#ce0b6855b45853e791b2fcc680046d88253dd7f5"
dependencies:
- debug "2.6.7"
+ debug "2.6.9"
encodeurl "~1.0.1"
escape-html "~1.0.3"
on-finished "~2.3.0"
- parseurl "~1.3.1"
+ parseurl "~1.3.2"
statuses "~1.3.1"
unpipe "~1.0.0"
@@ -3023,8 +2973,8 @@ fireworm@^0.7.0:
minimatch "^3.0.2"
flat-cache@^1.2.1:
- version "1.2.2"
- resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.2.2.tgz#fa86714e72c21db88601761ecf2f555d1abc6b96"
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.3.0.tgz#d3030b32b38154f4e3b7e9c709f490f7ef97c481"
dependencies:
circular-json "^0.3.1"
del "^2.0.2"
@@ -3071,13 +3021,13 @@ [email protected]:
dependencies:
samsam "~1.1"
-forwarded@~0.1.0:
- version "0.1.0"
- resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.0.tgz#19ef9874c4ae1c297bcf078fde63a09b66a84363"
+forwarded@~0.1.2:
+ version "0.1.2"
+ resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84"
[email protected]:
- version "0.5.0"
- resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.0.tgz#f474ca5e6a9246d6fd8e0953cfa9b9c805afa78e"
[email protected]:
+ version "0.5.2"
+ resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
fs-exists-sync@^0.1.0:
version "0.1.0"
@@ -3128,8 +3078,8 @@ fs-extra@^2.0.0:
jsonfile "^2.1.0"
fs-extra@^4.0.0:
- version "4.0.2"
- resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.2.tgz#f91704c53d1b461f893452b0c307d9997647ab6b"
+ version "4.0.3"
+ resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94"
dependencies:
graceful-fs "^4.1.2"
jsonfile "^4.0.0"
@@ -3146,8 +3096,8 @@ fs-sync@^1.0.4:
rimraf "^2.1.4"
fs-tree-diff@^0.5.2, fs-tree-diff@^0.5.3, fs-tree-diff@^0.5.4, fs-tree-diff@^0.5.6:
- version "0.5.6"
- resolved "https://registry.yarnpkg.com/fs-tree-diff/-/fs-tree-diff-0.5.6.tgz#342665749e8dca406800b672268c8f5073f3e623"
+ version "0.5.7"
+ resolved "https://registry.yarnpkg.com/fs-tree-diff/-/fs-tree-diff-0.5.7.tgz#315e2b098d5fe7f622880ac965b1b051868ac871"
dependencies:
heimdalljs-logger "^0.1.7"
object-assign "^4.1.0"
@@ -3182,7 +3132,7 @@ fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2:
mkdirp ">=0.5 0"
rimraf "2"
-gauge@~2.7.1, gauge@~2.7.3:
+gauge@~2.7.3:
version "2.7.4"
resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
dependencies:
@@ -3311,7 +3261,7 @@ global-prefix@^0.1.4:
is-windows "^0.2.0"
which "^1.2.12"
-globals@^9.0.0, globals@^9.14.0, globals@^9.18.0:
+globals@^9.14.0, globals@^9.18.0:
version "9.18.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
@@ -3343,8 +3293,8 @@ growly@^1.3.0:
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
handlebars@^4.0.4, handlebars@^4.0.6:
- version "4.0.10"
- resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.10.tgz#3d30c718b09a3d96f23ea4cc1f403c4d3ba9ff4f"
+ version "4.0.11"
+ resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.11.tgz#630a35dfe0294bc281edae6ffc5d329fc7982dcc"
dependencies:
async "^1.4.0"
optimist "^0.6.1"
@@ -3406,14 +3356,20 @@ has-unicode@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
+hash-base@^2.0.0:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-2.0.2.tgz#66ea1d856db4e8a5470cadf6fce23ae5244ef2e1"
+ dependencies:
+ inherits "^2.0.1"
+
hash-for-dep@^1.0.2:
- version "1.1.2"
- resolved "https://registry.yarnpkg.com/hash-for-dep/-/hash-for-dep-1.1.2.tgz#e3347ed92960eb0bb53a2c6c2b70e36d75b7cd0c"
+ version "1.2.3"
+ resolved "https://registry.yarnpkg.com/hash-for-dep/-/hash-for-dep-1.2.3.tgz#5ec69fca32c23523972d52acb5bb65ffc3664cab"
dependencies:
broccoli-kitchen-sink-helpers "^0.3.1"
heimdalljs "^0.2.3"
heimdalljs-logger "^0.1.7"
- resolve "^1.1.6"
+ resolve "^1.4.0"
[email protected]:
version "1.1.1"
@@ -3488,11 +3444,7 @@ homedir-polyfill@^1.0.0:
dependencies:
parse-passwd "^1.0.0"
-hosted-git-info@^2.1.4:
- version "2.1.5"
- resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.1.5.tgz#0ba81d90da2e25ab34a332e6ec77936e1598118b"
-
-hosted-git-info@^2.5.0:
+hosted-git-info@^2.1.4, hosted-git-info@^2.5.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c"
@@ -3508,15 +3460,19 @@ html-differ@^1.3.4:
vow "0.4.3"
vow-fs "0.3.1"
-http-errors@~1.6.1:
- version "1.6.1"
- resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.1.tgz#5f8b8ed98aca545656bf572997387f904a722257"
[email protected], http-errors@~1.6.2:
+ version "1.6.2"
+ resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736"
dependencies:
- depd "1.1.0"
+ depd "1.1.1"
inherits "2.0.3"
setprototypeof "1.0.3"
statuses ">= 1.3.1 < 2"
+http-parser-js@>=0.4.0:
+ version "0.4.9"
+ resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.9.tgz#ea1a04fb64adff0242e9974f297dd4c3cad271e1"
+
http-proxy@^1.13.1, http-proxy@^1.9.0:
version "1.16.2"
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.16.2.tgz#06dff292952bf64dbe8471fa9df73066d4f37742"
@@ -3549,23 +3505,23 @@ [email protected], https-proxy-agent@^1.0.0:
extend "3"
https-proxy-agent@^2.1.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.1.0.tgz#1391bee7fd66aeabc0df2a1fa90f58954f43e443"
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.1.1.tgz#a7ce4382a1ba8266ee848578778122d491260fd9"
dependencies:
agent-base "^4.1.0"
- debug "^2.4.1"
+ debug "^3.1.0"
-iconv-lite@^0.4.13, iconv-lite@~0.4.13:
- version "0.4.18"
- resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.18.tgz#23d8656b16aae6742ac29732ea8f0336a4789cf2"
[email protected], iconv-lite@^0.4.13, iconv-lite@~0.4.13:
+ version "0.4.19"
+ resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
ieee754@^1.1.4:
version "1.1.8"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4"
ignore@^3.2.0:
- version "3.3.3"
- resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.3.tgz#432352e57accd87ab3110e82d3fea0e47812156d"
+ version "3.3.7"
+ resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.7.tgz#612289bfb3c220e186a58118618d5be8c1bab021"
imurmurhash@^0.1.4:
version "0.1.4"
@@ -3600,11 +3556,7 @@ [email protected]:
version "2.0.1"
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1"
-ini@^1.3.4:
- version "1.3.4"
- resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e"
-
-ini@~1.3.0:
+ini@^1.3.4, ini@~1.3.0:
version "1.3.5"
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
@@ -3656,10 +3608,10 @@ inquirer@^2:
through "^2.3.6"
interpret@^1.0.0:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90"
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614"
-invariant@^2.2.0, invariant@^2.2.2:
+invariant@^2.2.2:
version "2.2.2"
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360"
dependencies:
@@ -3669,9 +3621,9 @@ invert-kv@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6"
[email protected]:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.3.0.tgz#1e03a52fdad83a8bbb2b25cbf4998b4cffcd3dec"
[email protected]:
+ version "1.5.2"
+ resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.5.2.tgz#d4b505bde9946987ccf0fc58d9010ff9607e3fa0"
is-arrayish@^0.2.1:
version "0.2.1"
@@ -3684,8 +3636,8 @@ is-binary-path@^1.0.0:
binary-extensions "^1.0.0"
is-buffer@^1.1.5:
- version "1.1.5"
- resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc"
+ version "1.1.6"
+ resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
is-builtin-module@^1.0.0:
version "1.0.0"
@@ -3738,8 +3690,8 @@ is-glob@^2.0.0, is-glob@^2.0.1:
is-extglob "^1.0.0"
is-my-json-valid@^2.10.0:
- version "2.16.0"
- resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.16.0.tgz#f079dd9bfdae65ee2038aae8acbc86ab109e3693"
+ version "2.17.1"
+ resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.17.1.tgz#3da98914a70a22f0a8563ef1511a246c6fc55471"
dependencies:
generate-function "^2.0.0"
generate-object-property "^1.1.0"
@@ -3773,8 +3725,8 @@ is-path-in-cwd@^1.0.0:
is-path-inside "^1.0.0"
is-path-inside@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.0.tgz#fc06e5a1683fbda13de667aff717bbc10a48f37f"
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036"
dependencies:
path-is-inside "^1.0.1"
@@ -3803,10 +3755,8 @@ is-regexp@^1.0.0:
resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069"
is-resolvable@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.0.0.tgz#8df57c61ea2e3c501408d100fb013cf8d6e0cc62"
- dependencies:
- tryit "^1.0.1"
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.0.1.tgz#acca1cd36dbe44b974b924321555a70ba03b1cf4"
is-running@^2.0.0:
version "2.1.0"
@@ -3885,8 +3835,8 @@ js-tokens@^3.0.0, js-tokens@^3.0.2:
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
js-yaml@^3.2.5, js-yaml@^3.2.7, js-yaml@^3.5.1, js-yaml@^3.6.1:
- version "3.9.0"
- resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.9.0.tgz#4ffbbf25c2ac963b8299dc74da7e3740de1c18ce"
+ version "3.10.0"
+ resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc"
dependencies:
argparse "^1.0.7"
esprima "^4.0.0"
@@ -3903,6 +3853,10 @@ jsesc@^2.5.0:
version "2.5.1"
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.1.tgz#e421a2a8e20d6b0819df28908f782526b96dd1fe"
+jsesc@~0.3.x:
+ version "0.3.0"
+ resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.3.0.tgz#1bf5ee63b4539fe2e26d0c1e99c240b97a457972"
+
jsesc@~0.5.0:
version "0.5.0"
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d"
@@ -3925,7 +3879,7 @@ [email protected]:
version "3.3.2"
resolved "https://registry.yarnpkg.com/json3/-/json3-3.3.2.tgz#3c0434743df93e2f5c42aee7b19bcb483575f4e1"
-json5@^0.5.0:
+json5@^0.5.1:
version "0.5.1"
resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
@@ -3950,13 +3904,13 @@ jsonpointer@^4.0.0:
resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.1.tgz#4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9"
jsprim@^1.2.2:
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918"
+ version "1.4.1"
+ resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2"
dependencies:
assert-plus "1.0.0"
- extsprintf "1.0.2"
+ extsprintf "1.3.0"
json-schema "0.2.3"
- verror "1.3.6"
+ verror "1.10.0"
kind-of@^3.0.2:
version "3.2.2"
@@ -4052,10 +4006,44 @@ lodash._baseassign@^3.0.0:
lodash._basecopy "^3.0.0"
lodash.keys "^3.0.0"
+lodash._basebind@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._basebind/-/lodash._basebind-2.3.0.tgz#2b5bc452a0e106143b21869f233bdb587417d248"
+ dependencies:
+ lodash._basecreate "~2.3.0"
+ lodash._setbinddata "~2.3.0"
+ lodash.isobject "~2.3.0"
+
lodash._basecopy@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36"
+lodash._basecreate@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-2.3.0.tgz#9b88a86a4dcff7b7f3c61d83a2fcfc0671ec9de0"
+ dependencies:
+ lodash._renative "~2.3.0"
+ lodash.isobject "~2.3.0"
+ lodash.noop "~2.3.0"
+
+lodash._basecreatecallback@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._basecreatecallback/-/lodash._basecreatecallback-2.3.0.tgz#37b2ab17591a339e988db3259fcd46019d7ac362"
+ dependencies:
+ lodash._setbinddata "~2.3.0"
+ lodash.bind "~2.3.0"
+ lodash.identity "~2.3.0"
+ lodash.support "~2.3.0"
+
+lodash._basecreatewrapper@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._basecreatewrapper/-/lodash._basecreatewrapper-2.3.0.tgz#aa0c61ad96044c3933376131483a9759c3651247"
+ dependencies:
+ lodash._basecreate "~2.3.0"
+ lodash._setbinddata "~2.3.0"
+ lodash._slice "~2.3.0"
+ lodash.isobject "~2.3.0"
+
lodash._baseflatten@^3.0.0:
version "3.1.4"
resolved "https://registry.yarnpkg.com/lodash._baseflatten/-/lodash._baseflatten-3.1.4.tgz#0770ff80131af6e34f3b511796a7ba5214e65ff7"
@@ -4075,18 +4063,76 @@ lodash._createassigner@^3.0.0:
lodash._isiterateecall "^3.0.0"
lodash.restparam "^3.0.0"
+lodash._createwrapper@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._createwrapper/-/lodash._createwrapper-2.3.0.tgz#d1aae1102dadf440e8e06fc133a6edd7fe146075"
+ dependencies:
+ lodash._basebind "~2.3.0"
+ lodash._basecreatewrapper "~2.3.0"
+ lodash.isfunction "~2.3.0"
+
+lodash._escapehtmlchar@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._escapehtmlchar/-/lodash._escapehtmlchar-2.3.0.tgz#d03da6bd82eedf38dc0a5b503d740ecd0e894592"
+ dependencies:
+ lodash._htmlescapes "~2.3.0"
+
+lodash._escapestringchar@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._escapestringchar/-/lodash._escapestringchar-2.3.0.tgz#cce73ae60fc6da55d2bf8a0679c23ca2bab149fc"
+
lodash._getnative@^3.0.0:
version "3.9.1"
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
+lodash._htmlescapes@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._htmlescapes/-/lodash._htmlescapes-2.3.0.tgz#1ca98863cadf1fa1d82c84f35f31e40556a04f3a"
+
lodash._isiterateecall@^3.0.0:
version "3.0.9"
resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c"
+lodash._objecttypes@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._objecttypes/-/lodash._objecttypes-2.3.0.tgz#6a3ea3987dd6eeb8021b2d5c9c303549cc2bae1e"
+
+lodash._reinterpolate@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-2.3.0.tgz#03ee9d85c0e55cbd590d71608a295bdda51128ec"
+
lodash._reinterpolate@~3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
+lodash._renative@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._renative/-/lodash._renative-2.3.0.tgz#77d8edd4ced26dd5971f9e15a5f772e4e317fbd3"
+
+lodash._reunescapedhtml@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._reunescapedhtml/-/lodash._reunescapedhtml-2.3.0.tgz#db920b55ac7f3ff825939aceb9ba2c231713d24d"
+ dependencies:
+ lodash._htmlescapes "~2.3.0"
+ lodash.keys "~2.3.0"
+
+lodash._setbinddata@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._setbinddata/-/lodash._setbinddata-2.3.0.tgz#e5610490acd13277d59858d95b5f2727f1508f04"
+ dependencies:
+ lodash._renative "~2.3.0"
+ lodash.noop "~2.3.0"
+
+lodash._shimkeys@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._shimkeys/-/lodash._shimkeys-2.3.0.tgz#611f93149e3e6c721096b48769ef29537ada8ba9"
+ dependencies:
+ lodash._objecttypes "~2.3.0"
+
+lodash._slice@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash._slice/-/lodash._slice-2.3.0.tgz#147198132859972e4680ca29a5992c855669aa5c"
+
lodash.assign@^3.2.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-3.2.0.tgz#3ce9f0234b4b2223e296b8fa0ac1fee8ebca64fa"
@@ -4099,6 +4145,14 @@ lodash.assignin@^4.1.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/lodash.assignin/-/lodash.assignin-4.2.0.tgz#ba8df5fb841eb0a3e8044232b0e263a8dc6a28a2"
+lodash.bind@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.bind/-/lodash.bind-2.3.0.tgz#c2a8e18b68e5ecc152e2b168266116fea5b016cc"
+ dependencies:
+ lodash._createwrapper "~2.3.0"
+ lodash._renative "~2.3.0"
+ lodash._slice "~2.3.0"
+
lodash.clonedeep@^4.4.1:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
@@ -4109,10 +4163,25 @@ lodash.debounce@^3.1.1:
dependencies:
lodash._getnative "^3.0.0"
+lodash.defaults@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.defaults/-/lodash.defaults-2.3.0.tgz#a832b001f138f3bb9721c2819a2a7cc5ae21ed25"
+ dependencies:
+ lodash._objecttypes "~2.3.0"
+ lodash.keys "~2.3.0"
+
lodash.defaultsdeep@^4.6.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/lodash.defaultsdeep/-/lodash.defaultsdeep-4.6.0.tgz#bec1024f85b1bd96cbea405b23c14ad6443a6f81"
+lodash.escape@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-2.3.0.tgz#844c38c58f844e1362ebe96726159b62cf5f2a58"
+ dependencies:
+ lodash._escapehtmlchar "~2.3.0"
+ lodash._reunescapedhtml "~2.3.0"
+ lodash.keys "~2.3.0"
+
lodash.find@^4.5.1:
version "4.6.0"
resolved "https://registry.yarnpkg.com/lodash.find/-/lodash.find-4.6.0.tgz#cb0704d47ab71789ffa0de8b97dd926fb88b13b1"
@@ -4124,6 +4193,25 @@ lodash.flatten@^3.0.2:
lodash._baseflatten "^3.0.0"
lodash._isiterateecall "^3.0.0"
+lodash.foreach@~2.3.x:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.foreach/-/lodash.foreach-2.3.0.tgz#083404c91e846ee77245fdf9d76519c68b2af168"
+ dependencies:
+ lodash._basecreatecallback "~2.3.0"
+ lodash.forown "~2.3.0"
+
+lodash.forown@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.forown/-/lodash.forown-2.3.0.tgz#24fb4aaf800d45fc2dc60bfec3ce04c836a3ad7f"
+ dependencies:
+ lodash._basecreatecallback "~2.3.0"
+ lodash._objecttypes "~2.3.0"
+ lodash.keys "~2.3.0"
+
+lodash.identity@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.identity/-/lodash.identity-2.3.0.tgz#6b01a210c9485355c2a913b48b6711219a173ded"
+
lodash.isarguments@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a"
@@ -4132,6 +4220,16 @@ lodash.isarray@^3.0.0:
version "3.0.4"
resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
+lodash.isfunction@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.isfunction/-/lodash.isfunction-2.3.0.tgz#6b2973e47a647cf12e70d676aea13643706e5267"
+
+lodash.isobject@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.isobject/-/lodash.isobject-2.3.0.tgz#2e16d3fc583da9831968953f2d8e6d73434f6799"
+ dependencies:
+ lodash._objecttypes "~2.3.0"
+
lodash.keys@^3.0.0:
version "3.1.2"
resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a"
@@ -4140,10 +4238,22 @@ lodash.keys@^3.0.0:
lodash.isarguments "^3.0.0"
lodash.isarray "^3.0.0"
+lodash.keys@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-2.3.0.tgz#b350f4f92caa9f45a4a2ecf018454cf2f28ae253"
+ dependencies:
+ lodash._renative "~2.3.0"
+ lodash._shimkeys "~2.3.0"
+ lodash.isobject "~2.3.0"
+
lodash.merge@^4.3.0, lodash.merge@^4.4.0, lodash.merge@^4.6.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.0.tgz#69884ba144ac33fe699737a6086deffadd0f89c5"
+lodash.noop@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.noop/-/lodash.noop-2.3.0.tgz#3059d628d51bbf937cd2a0b6fc3a7f212a669c2c"
+
lodash.omit@^4.1.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.omit/-/lodash.omit-4.5.0.tgz#6eb19ae5a1ee1dd9df0b969e66ce0b7fa30b5e60"
@@ -4156,19 +4266,44 @@ lodash.some@^4.6.0:
version "4.6.0"
resolved "https://registry.yarnpkg.com/lodash.some/-/lodash.some-4.6.0.tgz#1bb9f314ef6b8baded13b549169b2a945eb68e4d"
+lodash.support@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.support/-/lodash.support-2.3.0.tgz#7eaf038af4f0d6aab776b44aa6dcfc80334c9bfd"
+ dependencies:
+ lodash._renative "~2.3.0"
+
lodash.template@^4.2.5:
version "4.4.0"
resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.4.0.tgz#e73a0385c8355591746e020b99679c690e68fba0"
dependencies:
lodash._reinterpolate "~3.0.0"
lodash.templatesettings "^4.0.0"
+lodash.template@~2.3.x:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-2.3.0.tgz#4e3e29c433b4cfea675ec835e6f12391c61fd22b"
+ dependencies:
+ lodash._escapestringchar "~2.3.0"
+ lodash._reinterpolate "~2.3.0"
+ lodash.defaults "~2.3.0"
+ lodash.escape "~2.3.0"
+ lodash.keys "~2.3.0"
+ lodash.templatesettings "~2.3.0"
+ lodash.values "~2.3.0"
+
lodash.templatesettings@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.1.0.tgz#2b4d4e95ba440d915ff08bc899e4553666713316"
dependencies:
lodash._reinterpolate "~3.0.0"
+lodash.templatesettings@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-2.3.0.tgz#303d132c342710040d5a18efaa2d572fd03f8cdc"
+ dependencies:
+ lodash._reinterpolate "~2.3.0"
+ lodash.escape "~2.3.0"
+
lodash.uniq@^4.2.0, lodash.uniq@^4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
@@ -4177,6 +4312,12 @@ lodash.uniqby@^4.7.0:
version "4.7.0"
resolved "https://registry.yarnpkg.com/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz#d99c07a669e9e6d24e1362dfe266c67616af1302"
+lodash.values@~2.3.0:
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/lodash.values/-/lodash.values-2.3.0.tgz#ca96fbe60a20b0b0ec2ba2ba5fc6a765bd14a3ba"
+ dependencies:
+ lodash.keys "~2.3.0"
+
[email protected]:
version "2.4.1"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-2.4.1.tgz#5b7723034dda4d262e5a46fb2c58d7cc22f71420"
@@ -4185,7 +4326,7 @@ lodash@^3.10.1:
version "3.10.1"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
-lodash@^4.0.0, lodash@^4.14.0, lodash@^4.16.1, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.3.0, lodash@^4.6.1:
+lodash@^4.0.0, lodash@^4.14.0, lodash@^4.16.1, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.6.1:
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
@@ -4369,27 +4510,31 @@ micromatch@^2.1.5, micromatch@^2.3.7:
parse-glob "^3.0.4"
regex-cache "^0.4.2"
-"mime-db@>= 1.27.0 < 2", mime-db@~1.27.0:
- version "1.27.0"
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1"
+"mime-db@>= 1.30.0 < 2":
+ version "1.32.0"
+ resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.32.0.tgz#485b3848b01a3cda5f968b4882c0771e58e09414"
+
+mime-db@~1.30.0:
+ version "1.30.0"
+ resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01"
-mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.15, mime-types@~2.1.7:
- version "2.1.15"
- resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed"
+mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.15, mime-types@~2.1.16, mime-types@~2.1.7:
+ version "2.1.17"
+ resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a"
dependencies:
- mime-db "~1.27.0"
+ mime-db "~1.30.0"
mime-types@~1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-1.0.2.tgz#995ae1392ab8affcbfcb2641dd054e943c0d5dce"
[email protected]:
- version "1.3.4"
- resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53"
[email protected]:
+ version "1.4.1"
+ resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6"
mime@^1.2.11, mime@^1.3.4:
- version "1.3.6"
- resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.6.tgz#591d84d3653a6b0b4a3b9df8de5aa8108e72e5e0"
+ version "1.6.0"
+ resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
mime@~1.2.11:
version "1.2.11"
@@ -4412,14 +4557,18 @@ minimatch@~0.2.11:
lru-cache "2"
sigmund "~1.0.0"
[email protected], minimist@~0.0.1:
[email protected]:
version "0.0.8"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
+minimist@~0.0.1:
+ version "0.0.10"
+ resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
+
[email protected]:
version "0.5.0"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.0.tgz#1d73076a6df986cd9344e15e71fcc05a4c9abf12"
@@ -4441,8 +4590,8 @@ mktemp@~0.4.0:
resolved "https://registry.yarnpkg.com/mktemp/-/mktemp-0.4.0.tgz#6d0515611c8a8c84e484aa2000129b98e981ff0b"
mocha@^4.0.1:
- version "4.0.1"
- resolved "https://registry.yarnpkg.com/mocha/-/mocha-4.0.1.tgz#0aee5a95cf69a4618820f5e51fa31717117daf1b"
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/mocha/-/mocha-4.1.0.tgz#7d86cfbcf35cb829e2754c32e17355ec05338794"
dependencies:
browser-stdout "1.3.0"
commander "2.11.0"
@@ -4466,8 +4615,8 @@ morgan@^1.8.1:
on-headers "~1.0.1"
mout@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/mout/-/mout-1.0.0.tgz#9bdf1d4af57d66d47cb353a6335a3281098e1501"
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/mout/-/mout-1.1.0.tgz#0b29d41e6a80fa9e2d4a5be9d602e1d9d02177f6"
[email protected]:
version "0.7.1"
@@ -4506,8 +4655,8 @@ [email protected]:
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
node-fetch@^1.3.3:
- version "1.7.1"
- resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.1.tgz#899cb3d0a3c92f952c47f1b876f4c8aeabd400d5"
+ version "1.7.3"
+ resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef"
dependencies:
encoding "^0.1.11"
is-stream "^1.0.1"
@@ -4575,7 +4724,7 @@ normalize-package-data@^2.3.2, normalize-package-data@^2.3.4:
semver "2 || 3 || 4 || 5"
validate-npm-package-license "^3.0.1"
-normalize-path@^2.0.1:
+normalize-path@^2.0.0, normalize-path@^2.0.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
dependencies:
@@ -4596,16 +4745,7 @@ npm-run-path@^2.0.0:
dependencies:
path-key "^2.0.0"
-npmlog@^4.0.0:
- version "4.0.2"
- resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.0.2.tgz#d03950e0e78ce1527ba26d2a7592e9348ac3e75f"
- dependencies:
- are-we-there-yet "~1.1.2"
- console-control-strings "~1.1.0"
- gauge "~2.7.1"
- set-blocking "~2.0.0"
-
-npmlog@^4.0.2:
+npmlog@^4.0.0, npmlog@^4.0.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
dependencies:
@@ -4790,9 +4930,9 @@ [email protected]:
dependencies:
better-assert "~1.0.0"
-parseurl@~1.3.1:
- version "1.3.1"
- resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.1.tgz#c8ab8c9223ba34888aa64a297b28853bec18da56"
+parseurl@~1.3.2:
+ version "1.3.2"
+ resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3"
passwd-user@^1.2.1:
version "1.2.1"
@@ -4810,7 +4950,7 @@ path-exists@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
-path-is-absolute@^1.0.0:
+path-is-absolute@^1.0.0, path-is-absolute@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
@@ -4896,9 +5036,9 @@ printf@^0.2.3:
version "0.2.5"
resolved "https://registry.yarnpkg.com/printf/-/printf-0.2.5.tgz#c438ca2ca33e3927671db4ab69c0e52f936a4f0f"
-private@^0.1.6, private@~0.1.5:
- version "0.1.7"
- resolved "https://registry.yarnpkg.com/private/-/private-0.1.7.tgz#68ce5e8a1ef0a23bb570cc28537b5332aba63ef1"
+private@^0.1.6, private@^0.1.7, private@~0.1.5:
+ version "0.1.8"
+ resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
process-nextick-args@~1.0.6:
version "1.0.7"
@@ -4924,12 +5064,12 @@ promise-map-series@^0.2.1:
dependencies:
rsvp "^3.0.14"
-proxy-addr@~1.1.4:
- version "1.1.4"
- resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-1.1.4.tgz#27e545f6960a44a627d9b44467e35c1b6b4ce2f3"
+proxy-addr@~2.0.2:
+ version "2.0.2"
+ resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.2.tgz#6571504f47bb988ec8180253f85dd7e14952bdec"
dependencies:
- forwarded "~0.1.0"
- ipaddr.js "1.3.0"
+ forwarded "~0.1.2"
+ ipaddr.js "1.5.2"
proxy-from-env@^1.0.0:
version "1.0.0"
@@ -4964,14 +5104,18 @@ q@~0.9.6:
version "0.9.7"
resolved "https://registry.yarnpkg.com/q/-/q-0.9.7.tgz#4de2e6cb3b29088c9e4cbc03bf9d42fb96ce2f75"
[email protected], qs@^6.4.0, qs@~6.4.0:
- version "6.4.0"
- resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233"
[email protected], qs@^6.4.0:
+ version "6.5.1"
+ resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8"
qs@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/qs/-/qs-1.0.2.tgz#50a93e2b5af6691c31bcea5dae78ee6ea1903768"
+qs@~6.4.0:
+ version "6.4.0"
+ resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233"
+
[email protected]:
version "0.2.0"
resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620"
@@ -4983,15 +5127,7 @@ quibble@^0.5.1:
lodash "^4.17.2"
resolve "^1.5.0"
-quick-temp@^0.1.0, quick-temp@^0.1.2, quick-temp@^0.1.3, quick-temp@^0.1.5:
- version "0.1.6"
- resolved "https://registry.yarnpkg.com/quick-temp/-/quick-temp-0.1.6.tgz#a6242a15cba9f9cdbd341287b5c569e318eec307"
- dependencies:
- mktemp "~0.4.0"
- rimraf "~2.2.6"
- underscore.string "~2.3.3"
-
-quick-temp@^0.1.8:
+quick-temp@^0.1.0, quick-temp@^0.1.2, quick-temp@^0.1.3, quick-temp@^0.1.5, quick-temp@^0.1.8:
version "0.1.8"
resolved "https://registry.yarnpkg.com/quick-temp/-/quick-temp-0.1.8.tgz#bab02a242ab8fb0dd758a3c9776b32f9a5d94408"
dependencies:
@@ -5022,6 +5158,15 @@ range-parser@~1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
[email protected]:
+ version "2.3.2"
+ resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89"
+ dependencies:
+ bytes "3.0.0"
+ http-errors "1.6.2"
+ iconv-lite "0.4.19"
+ unpipe "1.0.0"
+
raw-body@~1.1.0:
version "1.1.7"
resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-1.1.7.tgz#1d027c2bfa116acc6623bca8f00016572a87d425"
@@ -5030,8 +5175,8 @@ raw-body@~1.1.0:
string_decoder "0.10"
rc@^1.1.7:
- version "1.2.2"
- resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.2.tgz#d8ce9cb57e8d64d9c7badd9876c7c34cbe3c7077"
+ version "1.2.3"
+ resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.3.tgz#51575a900f8dd68381c710b4712c2154c3e2035b"
dependencies:
deep-extend "~0.4.0"
ini "~1.3.0"
@@ -5120,10 +5265,10 @@ redeyed@~1.0.0:
esprima "~3.0.0"
regenerate@^1.2.1:
- version "1.3.2"
- resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.2.tgz#d1941c67bad437e1be76433add5b385f95b19260"
+ version "1.3.3"
+ resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.3.tgz#0c336d3980553d755c39b586ae3b20aa49c82b7f"
-regenerator-runtime@^0.10.0, regenerator-runtime@^0.10.5:
+regenerator-runtime@^0.10.5:
version "0.10.5"
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658"
@@ -5140,11 +5285,10 @@ regenerator-transform@^0.10.0:
private "^0.1.6"
regex-cache@^0.4.2:
- version "0.4.3"
- resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.3.tgz#9b1a6c35d4d0dfcef5711ae651e8e9d3d7114145"
+ version "0.4.4"
+ resolved "https://registry.yarnpkg.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd"
dependencies:
is-equal-shallow "^0.1.3"
- is-primitive "^2.0.0"
regexpu-core@^2.0.0:
version "2.0.0"
@@ -5165,8 +5309,8 @@ regjsparser@^0.1.4:
jsesc "~0.5.0"
remove-trailing-separator@^1.0.1:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.2.tgz#69b062d978727ad14dc6b56ba4ab772fd8d70511"
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef"
repeat-element@^1.1.2:
version "1.1.2"
@@ -5268,13 +5412,7 @@ [email protected]:
dependencies:
path-parse "^1.0.5"
-resolve@^1.1.6, resolve@^1.3.2, resolve@^1.3.3:
- version "1.3.3"
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.3.3.tgz#655907c3469a8680dc2de3a275a8fdd69691f0e5"
- dependencies:
- path-parse "^1.0.5"
-
-resolve@^1.3.0, resolve@^1.5.0:
+resolve@^1.1.6, resolve@^1.3.0, resolve@^1.3.2, resolve@^1.3.3, resolve@^1.4.0, resolve@^1.5.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36"
dependencies:
@@ -5300,13 +5438,7 @@ right-align@^0.1.1:
dependencies:
align-text "^0.1.1"
-rimraf@2, rimraf@^2.1.4, rimraf@^2.2.8, rimraf@^2.3.2, rimraf@^2.3.4, rimraf@^2.4.1, rimraf@^2.4.3, rimraf@^2.4.4, rimraf@^2.5.3, rimraf@^2.6.1:
- version "2.6.1"
- resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d"
- dependencies:
- glob "^7.0.5"
-
-rimraf@^2.5.1, rimraf@^2.5.4:
+rimraf@2, rimraf@^2.1.4, rimraf@^2.2.8, rimraf@^2.3.2, rimraf@^2.3.4, rimraf@^2.4.1, rimraf@^2.4.3, rimraf@^2.4.4, rimraf@^2.5.1, rimraf@^2.5.3, rimraf@^2.5.4, rimraf@^2.6.1:
version "2.6.2"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"
dependencies:
@@ -5322,6 +5454,13 @@ rimraf@~2.5.2:
dependencies:
glob "^7.0.5"
+ripemd160@^2.0.0:
+ version "2.0.1"
+ resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.1.tgz#0f4584295c53a3628af7e6d79aca21ce57d1c6e7"
+ dependencies:
+ hash-base "^2.0.0"
+ inherits "^2.0.1"
+
rollup@^0.51.6:
version "0.51.8"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-0.51.8.tgz#58bd0b642885f4770b5f93cc64f14e4233c2236d"
@@ -5339,8 +5478,8 @@ [email protected]:
resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-3.0.14.tgz#9d2968cf36d878d3bb9a9a5a4b8e1ff55a76dd31"
rsvp@^3.0.14, rsvp@^3.0.16, rsvp@^3.0.17, rsvp@^3.0.18, rsvp@^3.0.21, rsvp@^3.0.6, rsvp@^3.2.1, rsvp@^3.3.3, rsvp@^3.5.0:
- version "3.6.1"
- resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-3.6.1.tgz#34f4a7ac2859f7bacc8f49789c5604f1e26ae702"
+ version "3.6.2"
+ resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-3.6.2.tgz#2e96491599a96cde1b515d5674a8f7a91452926a"
rsvp@^4.7.0:
version "4.7.0"
@@ -5416,48 +5555,48 @@ sane@^2.2.0:
optionalDependencies:
fsevents "^1.1.1"
[email protected], sax@>=0.6.0:
[email protected]:
version "1.2.1"
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.1.tgz#7b8e656190b228e81a66aea748480d828cd2d37a"
-"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.1.1, semver@^5.3.0:
- version "5.3.0"
- resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
+sax@>=0.6.0:
+ version "1.2.4"
+ resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
-semver@^5.4.1:
+"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.1.1, semver@^5.3.0, semver@^5.4.1:
version "5.4.1"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e"
semver@~5.0.1:
version "5.0.3"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.0.3.tgz#77466de589cd5d3c95f138aa78bc569a3cb5d27a"
[email protected]:
- version "0.15.3"
- resolved "https://registry.yarnpkg.com/send/-/send-0.15.3.tgz#5013f9f99023df50d1bd9892c19e3defd1d53309"
[email protected]:
+ version "0.16.1"
+ resolved "https://registry.yarnpkg.com/send/-/send-0.16.1.tgz#a70e1ca21d1382c11d0d9f6231deb281080d7ab3"
dependencies:
- debug "2.6.7"
- depd "~1.1.0"
+ debug "2.6.9"
+ depd "~1.1.1"
destroy "~1.0.4"
encodeurl "~1.0.1"
escape-html "~1.0.3"
- etag "~1.8.0"
- fresh "0.5.0"
- http-errors "~1.6.1"
- mime "1.3.4"
+ etag "~1.8.1"
+ fresh "0.5.2"
+ http-errors "~1.6.2"
+ mime "1.4.1"
ms "2.0.0"
on-finished "~2.3.0"
range-parser "~1.2.0"
statuses "~1.3.1"
[email protected], serve-static@^1.12.2:
- version "1.12.3"
- resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.12.3.tgz#9f4ba19e2f3030c547f8af99107838ec38d5b1e2"
[email protected], serve-static@^1.12.2:
+ version "1.13.1"
+ resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.13.1.tgz#4c57d53404a761d8f2e7c1e8a18a47dbf278a719"
dependencies:
encodeurl "~1.0.1"
escape-html "~1.0.3"
- parseurl "~1.3.1"
- send "0.15.3"
+ parseurl "~1.3.2"
+ send "0.16.1"
set-blocking@^2.0.0, set-blocking@~2.0.0:
version "2.0.0"
@@ -5471,6 +5610,17 @@ [email protected]:
version "1.0.3"
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04"
[email protected]:
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656"
+
+sha.js@^2.4.0, sha.js@^2.4.8:
+ version "2.4.9"
+ resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.9.tgz#98f64880474b74f4a38b8da9d3c0f2d104633e7d"
+ dependencies:
+ inherits "^2.0.1"
+ safe-buffer "^5.0.1"
+
shebang-command@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
@@ -5490,8 +5640,8 @@ shelljs@^0.7.5:
rechoir "^0.6.2"
shellwords@^0.1.0:
- version "0.1.0"
- resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.0.tgz#66afd47b6a12932d9071cbfd98a52e785cd0ba14"
+ version "0.1.1"
+ resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
sigmund@~1.0.0:
version "1.0.1"
@@ -5516,8 +5666,8 @@ simple-html-tokenizer@^0.3.0:
resolved "https://registry.yarnpkg.com/simple-html-tokenizer/-/simple-html-tokenizer-0.3.0.tgz#9b8b5559d80e331a544dd13dd59382e5d0d94411"
simple-html-tokenizer@^0.4.1:
- version "0.4.1"
- resolved "https://registry.yarnpkg.com/simple-html-tokenizer/-/simple-html-tokenizer-0.4.1.tgz#028988bb7fe8b2e6645676d82052587d440b02d3"
+ version "0.4.3"
+ resolved "https://registry.yarnpkg.com/simple-html-tokenizer/-/simple-html-tokenizer-0.4.3.tgz#9b00b766e30058b4bb377c0d4f97566a13ab1be1"
sinon@^1.17.6:
version "1.17.7"
@@ -5597,14 +5747,14 @@ sort-object-keys@^1.1.1:
resolved "https://registry.yarnpkg.com/sort-object-keys/-/sort-object-keys-1.1.2.tgz#d3a6c48dc2ac97e6bc94367696e03f6d09d37952"
sort-package-json@^1.4.0:
- version "1.7.0"
- resolved "https://registry.yarnpkg.com/sort-package-json/-/sort-package-json-1.7.0.tgz#13b362ff6400c5b4eaa9ba220f9ea7c3d6644b5f"
+ version "1.7.1"
+ resolved "https://registry.yarnpkg.com/sort-package-json/-/sort-package-json-1.7.1.tgz#f2e5fbffe8420cc1bb04485f4509f05e73b4c0f2"
dependencies:
sort-object-keys "^1.1.1"
-source-map-support@^0.4.2:
- version "0.4.15"
- resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.15.tgz#03202df65c06d2bd8c7ec2362a193056fef8d3b1"
+source-map-support@^0.4.15:
+ version "0.4.18"
+ resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f"
dependencies:
source-map "^0.5.6"
@@ -5622,14 +5772,29 @@ [email protected], source-map@^0.4.2, source-map@^0.4.4:
dependencies:
amdefine ">=0.0.4"
-source-map@^0.5.0, source-map@^0.5.6, source-map@~0.5.0, source-map@~0.5.1:
- version "0.5.6"
- resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412"
+source-map@^0.5.6, source-map@~0.5.0, source-map@~0.5.1:
+ version "0.5.7"
+ resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
-source-map@~0.6.1:
+source-map@^0.6.1, source-map@~0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
+source-map@~0.1.x:
+ version "0.1.43"
+ resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.1.43.tgz#c24bc146ca517c1471f5dacbe2571b2b7f9e3346"
+ dependencies:
+ amdefine ">=0.0.4"
+
+sourcemap-validator@^1.0.5:
+ version "1.0.6"
+ resolved "https://registry.yarnpkg.com/sourcemap-validator/-/sourcemap-validator-1.0.6.tgz#abd2f1ecdae6a3c46c2c96c5f256705b2147c9c0"
+ dependencies:
+ jsesc "~0.3.x"
+ lodash.foreach "~2.3.x"
+ lodash.template "~2.3.x"
+ source-map "~0.1.x"
+
spawn-args@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/spawn-args/-/spawn-args-0.2.0.tgz#fb7d0bd1d70fd4316bd9e3dec389e65f9d6361bb"
@@ -5677,7 +5842,11 @@ sshpk@^1.7.0:
jsbn "~0.1.0"
tweetnacl "~0.14.0"
-"statuses@>= 1.3.1 < 2", statuses@~1.3.1:
+"statuses@>= 1.3.1 < 2":
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087"
+
+statuses@~1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e"
@@ -5693,9 +5862,9 @@ string-width@^1.0.1, string-width@^1.0.2:
is-fullwidth-code-point "^1.0.0"
strip-ansi "^3.0.0"
-string-width@^2.0.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.0.tgz#030664561fc146c9423ec7d978fe2457437fe6d0"
+string-width@^2.0.0, string-width@^2.1.1:
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
dependencies:
is-fullwidth-code-point "^2.0.0"
strip-ansi "^4.0.0"
@@ -5862,13 +6031,12 @@ [email protected]:
rimraf "~2.2.6"
testdouble@^3.2.6:
- version "3.2.6"
- resolved "https://registry.yarnpkg.com/testdouble/-/testdouble-3.2.6.tgz#8fc47149c59f1becc795bf80f02b41de30ea4035"
+ version "3.3.1"
+ resolved "https://registry.yarnpkg.com/testdouble/-/testdouble-3.3.1.tgz#efa90ed6a3cca22252aebb4354e42027b218d53d"
dependencies:
es6-map "^0.1.5"
lodash "^4.17.4"
quibble "^0.5.1"
- resolve "^1.3.3"
stringify-object-es5 "^2.5.0"
testem@^1.18.0, testem@^1.18.4:
@@ -5952,13 +6120,13 @@ [email protected]:
version "0.1.4"
resolved "https://registry.yarnpkg.com/to-array/-/to-array-0.1.4.tgz#17e6c11f73dd4f3d74cda7a4ff3238e9ad9bf890"
-to-fast-properties@^1.0.1, to-fast-properties@^1.0.3:
+to-fast-properties@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47"
tough-cookie@>=0.12.0, tough-cookie@~2.3.0:
- version "2.3.2"
- resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a"
+ version "2.3.3"
+ resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561"
dependencies:
punycode "^1.4.1"
@@ -5980,13 +6148,9 @@ trim-right@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
-tryit@^1.0.1:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/tryit/-/tryit-1.0.3.tgz#393be730a9446fd1ead6da59a014308f36c289cb"
-
-tslib@^1.7.1:
- version "1.8.0"
- resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.0.tgz#dc604ebad64bcbf696d613da6c954aa0e7ea1eb6"
+tslib@^1.7.1, tslib@^1.8.1:
+ version "1.8.1"
+ resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.1.tgz#6946af2d1d651a7b1863b531d6e5afa41aa44eac"
tslint@^5.8.0:
version "5.8.0"
@@ -6005,10 +6169,10 @@ tslint@^5.8.0:
tsutils "^2.12.1"
tsutils@^2.12.1:
- version "2.12.1"
- resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.12.1.tgz#f4d95ce3391c8971e46e54c4cf0edb0a21dd5b24"
+ version "2.16.0"
+ resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.16.0.tgz#ad8e83f47bef4f7d24d173cc6cd180990c831105"
dependencies:
- tslib "^1.7.1"
+ tslib "^1.8.1"
tunnel-agent@^0.6.0:
version "0.6.0"
@@ -6053,22 +6217,31 @@ typedarray@^0.0.6:
version "0.0.6"
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
-typescript@~2.4.2:
- version "2.4.2"
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.4.2.tgz#f8395f85d459276067c988aa41837a8f82870844"
+typescript@~2.6.1:
+ version "2.6.2"
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4"
uc.micro@^1.0.0, uc.micro@^1.0.1, uc.micro@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.3.tgz#7ed50d5e0f9a9fb0a573379259f2a77458d50192"
uglify-es@^3.1.3:
- version "3.1.6"
- resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.1.6.tgz#b0f818c055a7e9538abc2286e70c743f2938311f"
+ version "3.3.5"
+ resolved "https://registry.yarnpkg.com/uglify-es/-/uglify-es-3.3.5.tgz#cf7e695da81999f85196b15e2978862f13212f88"
dependencies:
- commander "~2.11.0"
+ commander "~2.12.1"
source-map "~0.6.1"
-uglify-js@^2.6, uglify-js@~2.6.2:
+uglify-js@^2.6:
+ version "2.8.29"
+ resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd"
+ dependencies:
+ source-map "~0.5.1"
+ yargs "~3.10.0"
+ optionalDependencies:
+ uglify-to-browserify "~1.0.0"
+
+uglify-js@~2.6.2:
version "2.6.4"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.6.4.tgz#65ea2fb3059c9394692f15fed87c2b36c16b9adf"
dependencies:
@@ -6090,12 +6263,8 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.0.2.tgz#ace116ab557cd197386a4e88f4685378c8b2e4fa"
ultron@~1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.0.tgz#b07a2e6a541a815fc6a34ccd4533baec307ca864"
-
-underscore.string@~2.3.3:
- version "2.3.3"
- resolved "https://registry.yarnpkg.com/underscore.string/-/underscore.string-2.3.3.tgz#71c08bf6b428b1133f37e78fa3a21c82f7329b0d"
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c"
underscore.string@~3.3.4:
version "3.3.4"
@@ -6118,7 +6287,7 @@ universalify@^0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7"
-unpipe@~1.0.0:
[email protected], unpipe@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
@@ -6169,13 +6338,13 @@ util-deprecate@^1.0.2, util-deprecate@~1.0.1:
dependencies:
inherits "2.0.1"
[email protected]:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.0.tgz#0294fb922bb9375153541c4f7096231f287c8af8"
[email protected]:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
[email protected], uuid@^3.0.0:
- version "3.0.1"
- resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1"
[email protected], uuid@^3.0.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04"
validate-npm-package-license@^3.0.1:
version "3.0.1"
@@ -6190,15 +6359,17 @@ validate-npm-package-name@^3.0.0:
dependencies:
builtins "^1.0.3"
-vary@~1.1.1:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.1.tgz#67535ebb694c1d52257457984665323f587e8d37"
+vary@~1.1.2:
+ version "1.1.2"
+ resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
[email protected]:
- version "1.3.6"
- resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c"
[email protected]:
+ version "1.10.0"
+ resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400"
dependencies:
- extsprintf "1.0.2"
+ assert-plus "^1.0.0"
+ core-util-is "1.0.2"
+ extsprintf "^1.2.0"
[email protected]:
version "0.3.1"
@@ -6259,22 +6430,23 @@ watch@~0.18.0:
minimist "^1.2.0"
websocket-driver@>=0.5.1:
- version "0.6.5"
- resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.6.5.tgz#5cb2556ceb85f4373c6d8238aa691c8454e13a36"
+ version "0.7.0"
+ resolved "https://registry.yarnpkg.com/websocket-driver/-/websocket-driver-0.7.0.tgz#0caf9d2d755d93aee049d4bdd0d3fe2cca2a24eb"
dependencies:
+ http-parser-js ">=0.4.0"
websocket-extensions ">=0.1.1"
websocket-extensions@>=0.1.1:
- version "0.1.1"
- resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.1.tgz#76899499c184b6ef754377c2dbb0cd6cb55d29e7"
+ version "0.1.3"
+ resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29"
which-module@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
which@^1.2.12, which@^1.2.9:
- version "1.2.14"
- resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5"
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
dependencies:
isexe "^2.0.0"
@@ -6301,8 +6473,8 @@ wordwrap@~1.0.0:
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
workerpool@^2.2.1:
- version "2.2.2"
- resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-2.2.2.tgz#1cf53bacafd98ca5d808ff54cc72f3fecb5e1d56"
+ version "2.3.0"
+ resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-2.3.0.tgz#86c5cbe946b55e7dc9d12b1936c8801a6e2d744d"
dependencies:
object-assign "4.1.1"
@@ -6339,9 +6511,10 @@ [email protected]:
ultron "1.0.x"
ws@^3.0.0:
- version "3.1.0"
- resolved "https://registry.yarnpkg.com/ws/-/ws-3.1.0.tgz#8afafecdeab46d572e5397ee880739367aa2f41c"
+ version "3.3.3"
+ resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2"
dependencies:
+ async-limiter "~1.0.0"
safe-buffer "~5.1.0"
ultron "~1.1.0"
@@ -6393,17 +6566,17 @@ [email protected]:
fs-extra "^0.30.0"
lodash.merge "^4.4.0"
-yargs-parser@^8.0.0:
+yargs-parser@^8.1.0:
version "8.1.0"
resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-8.1.0.tgz#f1376a33b6629a5d063782944da732631e966950"
dependencies:
camelcase "^4.1.0"
yargs@^10.0.3:
- version "10.0.3"
- resolved "https://registry.yarnpkg.com/yargs/-/yargs-10.0.3.tgz#6542debd9080ad517ec5048fb454efe9e4d4aaae"
+ version "10.1.1"
+ resolved "https://registry.yarnpkg.com/yargs/-/yargs-10.1.1.tgz#5fe1ea306985a099b33492001fa19a1e61efe285"
dependencies:
- cliui "^3.2.0"
+ cliui "^4.0.0"
decamelize "^1.1.1"
find-up "^2.1.0"
get-caller-file "^1.0.1"
@@ -6414,7 +6587,7 @@ yargs@^10.0.3:
string-width "^2.0.0"
which-module "^2.0.0"
y18n "^3.2.1"
- yargs-parser "^8.0.0"
+ yargs-parser "^8.1.0"
yargs@~3.10.0:
version "3.10.0"
| false |
Other
|
emberjs
|
ember.js
|
bffc7e74e6461c2486df68d94724b0a5389205fc.json
|
Fix bad merge
|
packages/ember-glimmer/lib/syntax.ts
|
@@ -3,15 +3,15 @@ import { Option } from '@glimmer/util';
import { Core } from '@glimmer/wire-format';
import { ENV } from 'ember-environment';
import { OwnedTemplateMeta } from 'ember-views';
+import { EMBER_TEMPLATE_BLOCK_LET_HELPER } from 'ember/features';
import { textAreaMacro } from './syntax/-text-area';
import { inputMacro } from './syntax/input';
+import { blockLetMacro } from './syntax/let';
import { mountMacro } from './syntax/mount';
import { outletMacro } from './syntax/outlet';
import { renderMacro } from './syntax/render';
import { hashToArgs } from './syntax/utils';
-import { blockLetMacro } from './syntax/let';
import { wrapComponentClassAttribute } from './utils/bindings';
-import { EMBER_TEMPLATE_BLOCK_LET_HELPER } from 'ember/features';
function refineInlineSyntax(name: string, params: Option<Core.Params>, hash: Option<Core.Hash>, builder: OpcodeBuilder<OwnedTemplateMeta>): boolean {
// assert(`You attempted to overwrite the built-in helper "${name}" which is not allowed. Please rename the helper.`, !(builder.resolver.resolver.builtInHelpers[name] && builder.resolver.resolver.owner.hasRegistration(`helper:${name}`)));
@@ -70,14 +70,9 @@ export function populateMacros(macros: Macros) {
inlines.add('input', inputMacro);
inlines.add('textarea', textAreaMacro);
inlines.addMissing(refineInlineSyntax);
-<<<<<<< HEAD
- // blocks.add('component', blockComponentMacro);
-=======
- blocks.add('component', blockComponentMacro);
if (EMBER_TEMPLATE_BLOCK_LET_HELPER === true) {
blocks.add('let', blockLetMacro);
}
->>>>>>> origin/master
blocks.addMissing(refineBlockSyntax);
for (let i = 0; i < experimentalMacros.length; i++) {
| false |
Other
|
emberjs
|
ember.js
|
a8bb87b4a1606c83cf0b30783d2addcdf6f24955.json
|
Fix template injection tests.
|
packages/ember-application/tests/system/application_test.js
|
@@ -164,7 +164,7 @@ moduleFor('Ember.Application', class extends ApplicationTestCase {
verifyRegistration(assert, application, P`template:components/-default`);
verifyRegistration(assert, application, 'template:-outlet');
verifyInjection(assert, application, 'view:-outlet', 'template', 'template:-outlet');
- verifyInjection(assert, application, 'template', 'env', 'service:-glimmer-environment');
+ verifyInjection(assert, application, 'template', 'options', P`template-options:main`);
assert.deepEqual(application.registeredOptionsForType('helper'), { instantiate: false }, `optionsForType 'helper'`);
}
| true |
Other
|
emberjs
|
ember.js
|
a8bb87b4a1606c83cf0b30783d2addcdf6f24955.json
|
Fix template injection tests.
|
packages/ember-application/tests/system/engine_test.js
|
@@ -77,7 +77,7 @@ moduleFor('Ember.Engine', class extends TestCase {
verifyRegistration(assert, engine, P`template:components/-default`);
verifyRegistration(assert, engine, 'template:-outlet');
verifyInjection(assert, engine, 'view:-outlet', 'template', 'template:-outlet');
- verifyInjection(assert, engine, 'template', 'env', 'service:-glimmer-environment');
+ verifyInjection(assert, engine, 'template', 'options', P`template-options:main`);
assert.deepEqual(engine.registeredOptionsForType('helper'), { instantiate: false }, `optionsForType 'helper'`);
}
});
| true |
Other
|
emberjs
|
ember.js
|
f7f92863501625fc4677a5f787c8be24286ce92e.json
|
Add v3.0.0-beta.1 to CHANGELOG.md.
(cherry picked from commit ac88593e040b16e4f7d306c9620040d76e80b433)
|
CHANGELOG.md
|
@@ -1,5 +1,40 @@
# Ember Changelog
+### 3.0.0-beta.1 (January 1, 2018)
+
+- [#15901](https://github.com/emberjs/ember.js/pull/15901) [CLEANUP] Remove Ember.Handlebars.SafeString
+- [#15894](https://github.com/emberjs/ember.js/pull/15894) [CLEANUP] removed `immediateObserver`
+- [#15897](https://github.com/emberjs/ember.js/pull/15897) [CLEANUP] Remove controller wrapped param deprecation
+- [#15883](https://github.com/emberjs/ember.js/pull/15883) [CLEANUP] Remove this.resource from RouterDSL
+- [#15882](https://github.com/emberjs/ember.js/pull/15882) [CLEANUP] Remove Ember.String.fmt
+- [#15892](https://github.com/emberjs/ember.js/pull/15892) [CLEANUP] removed `Ember.required`
+- [#15223](https://github.com/emberjs/ember.js/pull/15223) Preserve current history state on app boot
+- [#15886](https://github.com/emberjs/ember.js/pull/15886) [CLEANUP] Remove arity check from initializer
+- [#15893](https://github.com/emberjs/ember.js/pull/15893) [CLEANUP] removed `providing reversed arguments to observer`
+- [#15881](https://github.com/emberjs/ember.js/pull/15881) [CLEANUP] Removed console polyfills/shims
+- [#15999](https://github.com/emberjs/ember.js/pull/15999) Update acceptance test blueprint to conform to emberjs/rfcs#268
+- [#15927](https://github.com/emberjs/ember.js/pull/15927) [BUGFIX] Extend test framework detection to `ember-qunit` and `ember-mocha`
+- [#15912](https://github.com/emberjs/ember.js/pull/15912) [CLEANUP] Remove deprecated `{Application,Engine,ApplicationInstance}.registry`
+- [#15910](https://github.com/emberjs/ember.js/pull/15910) [CLEANUP] removed `transform-input-on-to-onEvent`
+- [#15922](https://github.com/emberjs/ember.js/pull/15922) [CLEANUP] Remove legacy controller proxy behavior
+- [#15914](https://github.com/emberjs/ember.js/pull/15914) [CLEANUP] Remove ability to specify `_actions` in `Ember.Route`, `Ember.Controller`, and `Ember.Component`
+- [#15923](https://github.com/emberjs/ember.js/pull/15923) [CLEANUP] Remove didInitAttrs lifecycle method
+- [#15915](https://github.com/emberjs/ember.js/pull/15915) [CLEANUP] Remove {{render}}
+- [#15950](https://github.com/emberjs/ember.js/pull/15950) blueprints/mixin-test: Added RFC-232 variant
+- [#15951](https://github.com/emberjs/ember.js/pull/15951) blueprints/service-test: Added RFC-232 variant
+- [#15949](https://github.com/emberjs/ember.js/pull/15949) [CLEANUP canary] use `Set` for uniqBy and uniq
+- [#15947](https://github.com/emberjs/ember.js/pull/15947) blueprints/util-test: Add RFC232 variants
+- [#15943](https://github.com/emberjs/ember.js/pull/15943) blueprints/controller-test: Add RFC232 variants
+- [#15948](https://github.com/emberjs/ember.js/pull/15948) [CLEANUP] remove ArrayMixin#contains
+- [#15946](https://github.com/emberjs/ember.js/pull/15946) blueprints/initializer-test: Add RFC232 variants
+- [#15945](https://github.com/emberjs/ember.js/pull/15945) blueprints/instance-initializers-test: Add RFC232 variants
+- [#15957](https://github.com/emberjs/ember.js/pull/15957) RFC 232 route-test blueprints
+- [#15934](https://github.com/emberjs/ember.js/pull/15934) blueprints/component-test: Add RFC232 variants
+- [#16010](https://github.com/emberjs/ember.js/pull/16010) Cleanup ember-template-compiler's tests
+- [#16015](https://github.com/emberjs/ember.js/pull/16015) [CLEANUP] Convert ember-router tests to new style
+- [#16036](https://github.com/emberjs/ember.js/pull/16036) [CLEANUP] Convert ember-metal accessors tests to new style
+- [#16023](https://github.com/emberjs/ember.js/pull/16023) Make event dispatcher work without jQuery
+
### 2.18.0 (January 1, 2018)
- [95b449](https://github.com/emberjs/ember.js/commit/95b4499b3667712a202bef834268e23867fc8842) [BUGFIX] Ensure `Ember.run.cancel` while the run loop is flushing works properly.
| false |
Other
|
emberjs
|
ember.js
|
44f52006414f11a49ff5efcc5f6088093f4e3ab0.json
|
Fix textarea helper tests
|
packages/ember-glimmer/lib/syntax/-text-area.ts
|
@@ -1,8 +1,12 @@
+import {
+ LazyOpcodeBuilder,
+ TemplateMeta
+} from '@glimmer/opcode-compiler';
import { wrapComponentClassAttribute } from '../utils/bindings';
import { hashToArgs } from './utils';
-export function textAreaMacro(_name: string, params: any[], hash: any, builder: any) {
- let definition = builder.env.getComponentDefinition('-text-area', builder.meta.templateMeta);
+export function textAreaMacro(_name: string, params: any[], hash: any, builder: LazyOpcodeBuilder<TemplateMeta>) {
+ let definition = builder.resolver.lookupComponentDefinition('-text-area', builder.referrer);
wrapComponentClassAttribute(hash);
builder.component.static(definition, [params, hashToArgs(hash), null, null]);
return true;
| false |
Other
|
emberjs
|
ember.js
|
21c4c133daca61ebf8b5b42433e50b189d2d4ece.json
|
fix some more tests
|
packages/ember-metal/lib/tags.js
|
@@ -40,7 +40,7 @@ export function markObjectAsDirty(meta, propertyKey) {
let objectTag = meta.readableTag();
if (objectTag !== undefined) {
- objectTag.dirty();
+ objectTag.inner.dirty();
}
let tags = meta.readableTags();
@@ -51,7 +51,7 @@ export function markObjectAsDirty(meta, propertyKey) {
}
if (propertyKey === 'content' && meta.isProxy()) {
- objectTag.contentDidChange();
+ objectTag.inner.contentDidChange();
}
if (objectTag !== undefined || propertyTag !== undefined) {
| false |
Other
|
emberjs
|
ember.js
|
ce3ab8f23c5be2dac4bdc944c911b92342aa04f9.json
|
Remove API no longer present in QUnit 2.0
|
packages/ember/tests/helpers/link_to_test.js
|
@@ -1508,7 +1508,7 @@ function assertNav(options, callback) {
let nav = false;
function check(event) {
- QUnit.equal(event.defaultPrevented, options.prevented, `expected defaultPrevented=${options.prevented}`);
+ QUnit.assert.equal(event.defaultPrevented, options.prevented, `expected defaultPrevented=${options.prevented}`);
nav = true;
event.preventDefault();
}
@@ -1518,6 +1518,6 @@ function assertNav(options, callback) {
callback();
} finally {
document.removeEventListener('click', check);
- QUnit.ok(nav, 'Expected a link to be clicked');
+ QUnit.assert.ok(nav, 'Expected a link to be clicked');
}
}
| false |
Other
|
emberjs
|
ember.js
|
2b80a62e2893c2c937213f8fce419d647baff7c4.json
|
Fix stragglers that were not QUnit 2 compatible.
|
packages/ember-debug/tests/main_test.js
|
@@ -27,6 +27,7 @@ import {
let originalEnvValue;
let originalDeprecateHandler;
+let originalWarnHandler;
let originalWarnOptions;
let originalDeprecationOptions;
@@ -37,6 +38,7 @@ moduleFor('ember-debug', class extends TestCase {
originalEnvValue = ENV.RAISE_ON_DEPRECATION;
originalDeprecateHandler = HANDLERS.deprecate;
+ originalWarnHandler = HANDLERS.warn;
originalWarnOptions = ENV._ENABLE_WARN_OPTIONS_SUPPORT;
originalDeprecationOptions = ENV._ENABLE_DEPRECATION_OPTIONS_SUPPORT;
@@ -46,11 +48,13 @@ moduleFor('ember-debug', class extends TestCase {
teardown() {
HANDLERS.deprecate = originalDeprecateHandler;
+ HANDLERS.warn = originalWarnHandler;
ENV.RAISE_ON_DEPRECATION = originalEnvValue;
ENV._ENABLE_WARN_OPTIONS_SUPPORT = originalWarnOptions;
ENV._ENABLE_DEPRECATION_OPTIONS_SUPPORT = originalDeprecationOptions;
}
+
['@test Ember.deprecate does not throw if RAISE_ON_DEPRECATION is false'](assert) {
assert.expect(1);
| true |
Other
|
emberjs
|
ember.js
|
2b80a62e2893c2c937213f8fce419d647baff7c4.json
|
Fix stragglers that were not QUnit 2 compatible.
|
packages/ember-runtime/tests/mixins/promise_proxy_test.js
|
@@ -263,14 +263,14 @@ QUnit.test('should reset isFulfilled and isRejected when promise is reset', func
assert.equal(get(proxy, 'isFulfilled'), false, 'expects the proxy to indicate that it is not fulfilled');
});
-QUnit.test('should have content when isFulfilled is set', function() {
+QUnit.test('should have content when isFulfilled is set', function(assert) {
let deferred = EmberRSVP.defer();
let proxy = ObjectPromiseProxy.create({
promise: deferred.promise
});
- proxy.addObserver('isFulfilled', () => equal(get(proxy, 'content'), true));
+ proxy.addObserver('isFulfilled', () => assert.equal(get(proxy, 'content'), true));
run(deferred, 'resolve', true);
});
@@ -283,7 +283,7 @@ QUnit.test('should have reason when isRejected is set', function(assert) {
promise: deferred.promise
});
- proxy.addObserver('isRejected', () => equal(get(proxy, 'reason'), error));
+ proxy.addObserver('isRejected', () => assert.equal(get(proxy, 'reason'), error));
try {
run(deferred, 'reject', error);
| true |
Other
|
emberjs
|
ember.js
|
2b80a62e2893c2c937213f8fce419d647baff7c4.json
|
Fix stragglers that were not QUnit 2 compatible.
|
packages/ember/tests/routing/basic_test.js
|
@@ -2612,7 +2612,7 @@ QUnit.test('rejecting the model hooks promise with a string shows a good error',
}
});
- assert.throws(() => bootApplication(), rejectedMessage, 'expected an exception');
+ assert.throws(() => bootApplication(), new RegExp(rejectedMessage), 'expected an exception');
Logger.error = originalLoggerError;
});
| true |
Other
|
emberjs
|
ember.js
|
2b80a62e2893c2c937213f8fce419d647baff7c4.json
|
Fix stragglers that were not QUnit 2 compatible.
|
packages/internal-test-helpers/lib/ember-dev/assertion.js
|
@@ -32,7 +32,7 @@ AssertionAssert.prototype = {
let { assert } = QUnit.config.current;
if (this.env.runningProdBuild) {
- QUnit.ok(true, 'Assertions disabled in production builds.');
+ assert.ok(true, 'Assertions disabled in production builds.');
return;
}
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/array.js
|
@@ -23,12 +23,12 @@ const ObserverClass = EnumerableTestsObserverClass.extend({
},
arrayWillChange() {
- equal(this._before, null, 'should only call once');
+ QUnit.config.current.assert.equal(this._before, null, 'should only call once');
this._before = Array.prototype.slice.call(arguments);
},
arrayDidChange() {
- equal(this._after, null, 'should only call once');
+ QUnit.config.current.assert.equal(this._after, null, 'should only call once');
this._after = Array.prototype.slice.call(arguments);
}
});
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/array/includes.js
|
@@ -4,36 +4,36 @@ const suite = SuiteModuleBuilder.create();
suite.module('includes');
-suite.test('includes returns correct value if startAt is positive', function() {
+suite.test('includes returns correct value if startAt is positive', function(assert) {
let data = this.newFixture(3);
let obj = this.newObject(data);
- equal(obj.includes(data[1], 1), true, 'should return true if included');
- equal(obj.includes(data[0], 1), false, 'should return false if not included');
+ assert.equal(obj.includes(data[1], 1), true, 'should return true if included');
+ assert.equal(obj.includes(data[0], 1), false, 'should return false if not included');
});
-suite.test('includes returns correct value if startAt is negative', function() {
+suite.test('includes returns correct value if startAt is negative', function(assert) {
let data = this.newFixture(3);
let obj = this.newObject(data);
- equal(obj.includes(data[1], -2), true, 'should return true if included');
- equal(obj.includes(data[0], -2), false, 'should return false if not included');
+ assert.equal(obj.includes(data[1], -2), true, 'should return true if included');
+ assert.equal(obj.includes(data[0], -2), false, 'should return false if not included');
});
-suite.test('includes returns true if startAt + length is still negative', function() {
+suite.test('includes returns true if startAt + length is still negative', function(assert) {
let data = this.newFixture(1);
let obj = this.newObject(data);
- equal(obj.includes(data[0], -2), true, 'should return true if included');
- equal(obj.includes(this.newFixture(1), -2), false, 'should return false if not included');
+ assert.equal(obj.includes(data[0], -2), true, 'should return true if included');
+ assert.equal(obj.includes(this.newFixture(1), -2), false, 'should return false if not included');
});
-suite.test('includes returns false if startAt out of bounds', function() {
+suite.test('includes returns false if startAt out of bounds', function(assert) {
let data = this.newFixture(1);
let obj = this.newObject(data);
- equal(obj.includes(data[0], 2), false, 'should return false if startAt >= length');
- equal(obj.includes(this.newFixture(1), 2), false, 'should return false if startAt >= length');
+ assert.equal(obj.includes(data[0], 2), false, 'should return false if startAt >= length');
+ assert.equal(obj.includes(this.newFixture(1), 2), false, 'should return false if startAt >= length');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/array/indexOf.js
|
@@ -4,21 +4,21 @@ const suite = SuiteModuleBuilder.create();
suite.module('indexOf');
-suite.test('should return index of object', function() {
+suite.test('should return index of object', function(assert) {
let expected = this.newFixture(3);
let obj = this.newObject(expected);
let len = 3;
for (let idx = 0; idx < len; idx++) {
- equal(obj.indexOf(expected[idx]), idx, `obj.indexOf(${expected[idx]}) should match idx`);
+ assert.equal(obj.indexOf(expected[idx]), idx, `obj.indexOf(${expected[idx]}) should match idx`);
}
});
-suite.test('should return -1 when requesting object not in index', function() {
+suite.test('should return -1 when requesting object not in index', function(assert) {
let obj = this.newObject(this.newFixture(3));
let foo = {};
- equal(obj.indexOf(foo), -1, 'obj.indexOf(foo) should be < 0');
+ assert.equal(obj.indexOf(foo), -1, 'obj.indexOf(foo) should be < 0');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/array/lastIndexOf.js
|
@@ -5,55 +5,55 @@ const suite = SuiteModuleBuilder.create();
suite.module('lastIndexOf');
-suite.test('should return index of object\'s last occurrence', function() {
+suite.test('should return index of object\'s last occurrence', function(assert) {
let expected = this.newFixture(3);
let obj = this.newObject(expected);
let len = 3;
for (let idx = 0; idx < len; idx++) {
- equal(obj.lastIndexOf(expected[idx]), idx, `obj.lastIndexOf(${expected[idx]}) should match idx`);
+ assert.equal(obj.lastIndexOf(expected[idx]), idx, `obj.lastIndexOf(${expected[idx]}) should match idx`);
}
});
-suite.test('should return index of object\'s last occurrence even startAt search location is equal to length', function() {
+suite.test('should return index of object\'s last occurrence even startAt search location is equal to length', function(assert) {
let expected = this.newFixture(3);
let obj = this.newObject(expected);
let len = 3;
for (let idx = 0; idx < len; idx++) {
- equal(obj.lastIndexOf(expected[idx], len), idx, `obj.lastIndexOfs(${expected[idx]}) should match idx`);
+ assert.equal(obj.lastIndexOf(expected[idx], len), idx, `obj.lastIndexOfs(${expected[idx]}) should match idx`);
}
});
-suite.test('should return index of object\'s last occurrence even startAt search location is greater than length', function() {
+suite.test('should return index of object\'s last occurrence even startAt search location is greater than length', function(assert) {
let expected = this.newFixture(3);
let obj = this.newObject(expected);
let len = 3;
for (let idx = 0; idx < len; idx++) {
- equal(obj.lastIndexOf(expected[idx], len + 1), idx, `obj.lastIndexOf(${expected[idx]}) should match idx`);
+ assert.equal(obj.lastIndexOf(expected[idx], len + 1), idx, `obj.lastIndexOf(${expected[idx]}) should match idx`);
}
});
-suite.test('should return -1 when no match is found', function() {
+suite.test('should return -1 when no match is found', function(assert) {
let obj = this.newObject(this.newFixture(3));
let foo = {};
- equal(obj.lastIndexOf(foo), -1, 'obj.lastIndexOf(foo) should be -1');
+ assert.equal(obj.lastIndexOf(foo), -1, 'obj.lastIndexOf(foo) should be -1');
});
-suite.test('should return -1 when no match is found even startAt search location is equal to length', function() {
+suite.test('should return -1 when no match is found even startAt search location is equal to length', function(assert) {
let obj = this.newObject(this.newFixture(3));
let foo = {};
- equal(obj.lastIndexOf(foo, get(obj, 'length')), -1, 'obj.lastIndexOf(foo) should be -1');
+ assert.equal(obj.lastIndexOf(foo, get(obj, 'length')), -1, 'obj.lastIndexOf(foo) should be -1');
});
-suite.test('should return -1 when no match is found even startAt search location is greater than length', function() {
+suite.test('should return -1 when no match is found even startAt search location is greater than length', function(assert) {
let obj = this.newObject(this.newFixture(3));
let foo = {};
- equal(obj.lastIndexOf(foo, get(obj, 'length') + 1), -1, 'obj.lastIndexOf(foo) should be -1');
+ assert.equal(obj.lastIndexOf(foo, get(obj, 'length') + 1), -1, 'obj.lastIndexOf(foo) should be -1');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/array/objectAt.js
|
@@ -5,24 +5,24 @@ const suite = SuiteModuleBuilder.create();
suite.module('objectAt');
-suite.test('should return object at specified index', function() {
+suite.test('should return object at specified index', function(assert) {
let expected = this.newFixture(3);
let obj = this.newObject(expected);
let len = expected.length;
for (let idx = 0; idx < len; idx++) {
- equal(objectAt(obj, idx), expected[idx], `obj.objectAt(${idx}) should match`);
+ assert.equal(objectAt(obj, idx), expected[idx], `obj.objectAt(${idx}) should match`);
}
});
-suite.test('should return undefined when requesting objects beyond index', function() {
+suite.test('should return undefined when requesting objects beyond index', function(assert) {
let obj;
obj = this.newObject(this.newFixture(3));
- equal(objectAt(obj, 5), undefined, 'should return undefined for obj.objectAt(5) when len = 3');
+ assert.equal(objectAt(obj, 5), undefined, 'should return undefined for obj.objectAt(5) when len = 3');
obj = this.newObject([]);
- equal(objectAt(obj, 0), undefined, 'should return undefined for obj.objectAt(0) when len = 0');
+ assert.equal(objectAt(obj, 0), undefined, 'should return undefined for obj.objectAt(0) when len = 0');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/copyable/copy.js
|
@@ -4,10 +4,10 @@ const suite = SuiteModuleBuilder.create();
suite.module('copy');
-suite.test('should return an equivalent copy', function() {
+suite.test('should return an equivalent copy', function(assert) {
let obj = this.newObject();
let copy = obj.copy();
- ok(this.isEqual(obj, copy), 'old object and new object should be equivalent');
+ assert.ok(this.isEqual(obj, copy), 'old object and new object should be equivalent');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable.js
|
@@ -146,12 +146,12 @@ const ObserverClass = EmberObject.extend({
},
enumerableWillChange() {
- equal(this._before, null, 'should only call once');
+ QUnit.config.current.assert.equal(this._before, null, 'should only call once');
this._before = Array.prototype.slice.call(arguments);
},
enumerableDidChange() {
- equal(this._after, null, 'should only call once');
+ QUnit.config.current.assert.equal(this._after, null, 'should only call once');
this._after = Array.prototype.slice.call(arguments);
}
});
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/any.js
|
@@ -9,7 +9,7 @@ const suite = SuiteModuleBuilder.create();
suite.module('any');
-suite.test('any should should invoke callback on each item as long as you return false', function() {
+suite.test('any should should invoke callback on each item as long as you return false', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
let found = [];
@@ -19,11 +19,11 @@ suite.test('any should should invoke callback on each item as long as you return
found.push(i);
return false;
});
- equal(result, false, 'return value of obj.any');
- deepEqual(found, ary, 'items passed during any() should match');
+ assert.equal(result, false, 'return value of obj.any');
+ assert.deepEqual(found, ary, 'items passed during any() should match');
});
-suite.test('any should stop invoking when you return true', function() {
+suite.test('any should stop invoking when you return true', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
let cnt = ary.length - 2;
@@ -35,33 +35,33 @@ suite.test('any should stop invoking when you return true', function() {
found.push(i);
return --cnt <= 0;
});
- equal(result, true, 'return value of obj.any');
- equal(found.length, exp, 'should invoke proper number of times');
- deepEqual(found, ary.slice(0, -2), 'items passed during any() should match');
+ assert.equal(result, true, 'return value of obj.any');
+ assert.equal(found.length, exp, 'should invoke proper number of times');
+ assert.deepEqual(found, ary.slice(0, -2), 'items passed during any() should match');
});
-suite.test('any should return true if any object matches the callback', function() {
+suite.test('any should return true if any object matches the callback', function(assert) {
let obj = emberA([0, 1, 2]);
let result;
result = obj.any(i => !!i);
- equal(result, true, 'return value of obj.any');
+ assert.equal(result, true, 'return value of obj.any');
});
-suite.test('any should return false if no object matches the callback', function() {
+suite.test('any should return false if no object matches the callback', function(assert) {
let obj = emberA([0, null, false]);
let result;
result = obj.any(i => !!i);
- equal(result, false, 'return value of obj.any');
+ assert.equal(result, false, 'return value of obj.any');
});
-suite.test('any should produce correct results even if the matching element is undefined', function() {
+suite.test('any should produce correct results even if the matching element is undefined', function(assert) {
let obj = emberA([undefined]);
let result;
result = obj.any(() => true);
- equal(result, true, 'return value of obj.any');
+ assert.equal(result, true, 'return value of obj.any');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/compact.js
|
@@ -4,10 +4,10 @@ const suite = SuiteModuleBuilder.create();
suite.module('compact');
-suite.test('removes null and undefined values from enumerable', function() {
+suite.test('removes null and undefined values from enumerable', function(assert) {
let obj = this.newObject([null, 1, false, '', undefined, 0, null]);
let ary = obj.compact();
- deepEqual(ary, [1, false, '', 0]);
+ assert.deepEqual(ary, [1, false, '', 0]);
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/every.js
|
@@ -9,7 +9,7 @@ const suite = SuiteModuleBuilder.create();
suite.module('every');
-suite.test('every should should invoke callback on each item as long as you return true', function() {
+suite.test('every should should invoke callback on each item as long as you return true', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
let found = [];
@@ -19,11 +19,11 @@ suite.test('every should should invoke callback on each item as long as you retu
found.push(i);
return true;
});
- equal(result, true, 'return value of obj.every');
- deepEqual(found, ary, 'items passed during every() should match');
+ assert.equal(result, true, 'return value of obj.every');
+ assert.deepEqual(found, ary, 'items passed during every() should match');
});
-suite.test('every should stop invoking when you return false', function() {
+suite.test('every should stop invoking when you return false', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
let cnt = ary.length - 2;
@@ -35,9 +35,9 @@ suite.test('every should stop invoking when you return false', function() {
found.push(i);
return --cnt > 0;
});
- equal(result, false, 'return value of obj.every');
- equal(found.length, exp, 'should invoke proper number of times');
- deepEqual(found, ary.slice(0, -2), 'items passed during every() should match');
+ assert.equal(result, false, 'return value of obj.every');
+ assert.equal(found.length, exp, 'should invoke proper number of times');
+ assert.deepEqual(found, ary.slice(0, -2), 'items passed during every() should match');
});
// ..........................................................
@@ -46,45 +46,45 @@ suite.test('every should stop invoking when you return false', function() {
suite.module('isEvery');
-suite.test('should return true of every property matches', function() {
+suite.test('should return true of every property matches', function(assert) {
let obj = this.newObject([
{ foo: 'foo', bar: 'BAZ' },
EmberObject.create({ foo: 'foo', bar: 'bar' })
]);
- equal(obj.isEvery('foo', 'foo'), true, 'isEvery(foo)');
- equal(obj.isEvery('bar', 'bar'), false, 'isEvery(bar)');
+ assert.equal(obj.isEvery('foo', 'foo'), true, 'isEvery(foo)');
+ assert.equal(obj.isEvery('bar', 'bar'), false, 'isEvery(bar)');
});
-suite.test('should return true of every property is true', function() {
+suite.test('should return true of every property is true', function(assert) {
let obj = this.newObject([
{ foo: 'foo', bar: true },
EmberObject.create({ foo: 'bar', bar: false })
]);
// different values - all eval to true
- equal(obj.isEvery('foo'), true, 'isEvery(foo)');
- equal(obj.isEvery('bar'), false, 'isEvery(bar)');
+ assert.equal(obj.isEvery('foo'), true, 'isEvery(foo)');
+ assert.equal(obj.isEvery('bar'), false, 'isEvery(bar)');
});
-suite.test('should return true if every property matches null', function() {
+suite.test('should return true if every property matches null', function(assert) {
let obj = this.newObject([
{ foo: null, bar: 'BAZ' },
EmberObject.create({ foo: null, bar: null })
]);
- equal(obj.isEvery('foo', null), true, 'isEvery(\'foo\', null)');
- equal(obj.isEvery('bar', null), false, 'isEvery(\'bar\', null)');
+ assert.equal(obj.isEvery('foo', null), true, 'isEvery(\'foo\', null)');
+ assert.equal(obj.isEvery('bar', null), false, 'isEvery(\'bar\', null)');
});
-suite.test('should return true if every property is undefined', function() {
+suite.test('should return true if every property is undefined', function(assert) {
let obj = this.newObject([
{ foo: undefined, bar: 'BAZ' },
EmberObject.create({ bar: undefined })
]);
- equal(obj.isEvery('foo', undefined), true, 'isEvery(\'foo\', undefined)');
- equal(obj.isEvery('bar', undefined), false, 'isEvery(\'bar\', undefined)');
+ assert.equal(obj.isEvery('foo', undefined), true, 'isEvery(\'foo\', undefined)');
+ assert.equal(obj.isEvery('bar', undefined), false, 'isEvery(\'bar\', undefined)');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/filter.js
|
@@ -9,7 +9,7 @@ const suite = SuiteModuleBuilder.create();
suite.module('filter');
-suite.test('filter should invoke on each item', function() {
+suite.test('filter should invoke on each item', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
let cnt = ary.length - 2;
@@ -21,8 +21,8 @@ suite.test('filter should invoke on each item', function() {
found.push(i);
return --cnt >= 0;
});
- deepEqual(found, ary, 'should have invoked on each item');
- deepEqual(result, ary.slice(0, -2), 'filtered array should exclude items');
+ assert.deepEqual(found, ary, 'should have invoked on each item');
+ assert.deepEqual(result, ary.slice(0, -2), 'filtered array should exclude items');
});
// ..........................................................
@@ -31,7 +31,7 @@ suite.test('filter should invoke on each item', function() {
suite.module('filterBy');
-suite.test('should filter based on object', function() {
+suite.test('should filter based on object', function(assert) {
let obj, ary;
ary = [
@@ -41,11 +41,11 @@ suite.test('should filter based on object', function() {
obj = this.newObject(ary);
- deepEqual(obj.filterBy('foo', 'foo'), ary, 'filterBy(foo)');
- deepEqual(obj.filterBy('bar', 'bar'), [ary[1]], 'filterBy(bar)');
+ assert.deepEqual(obj.filterBy('foo', 'foo'), ary, 'filterBy(foo)');
+ assert.deepEqual(obj.filterBy('bar', 'bar'), [ary[1]], 'filterBy(bar)');
});
-suite.test('should include in result if property is true', function() {
+suite.test('should include in result if property is true', function(assert) {
let obj, ary;
ary = [
@@ -56,11 +56,11 @@ suite.test('should include in result if property is true', function() {
obj = this.newObject(ary);
// different values - all eval to true
- deepEqual(obj.filterBy('foo'), ary, 'filterBy(foo)');
- deepEqual(obj.filterBy('bar'), [ary[0]], 'filterBy(bar)');
+ assert.deepEqual(obj.filterBy('foo'), ary, 'filterBy(foo)');
+ assert.deepEqual(obj.filterBy('bar'), [ary[0]], 'filterBy(bar)');
});
-suite.test('should filter on second argument if provided', function() {
+suite.test('should filter on second argument if provided', function(assert) {
let obj, ary;
ary = [
@@ -72,10 +72,10 @@ suite.test('should filter on second argument if provided', function() {
obj = this.newObject(ary);
- deepEqual(obj.filterBy('foo', 3), [ary[0], ary[3]], 'filterBy(\'foo\', 3)\')');
+ assert.deepEqual(obj.filterBy('foo', 3), [ary[0], ary[3]], 'filterBy(\'foo\', 3)\')');
});
-suite.test('should correctly filter null second argument', function() {
+suite.test('should correctly filter null second argument', function(assert) {
let obj, ary;
ary = [
@@ -87,10 +87,10 @@ suite.test('should correctly filter null second argument', function() {
obj = this.newObject(ary);
- deepEqual(obj.filterBy('foo', null), [ary[1], ary[2]], 'filterBy(\'foo\', 3)\')');
+ assert.deepEqual(obj.filterBy('foo', null), [ary[1], ary[2]], 'filterBy(\'foo\', 3)\')');
});
-suite.test('should not return all objects on undefined second argument', function() {
+suite.test('should not return all objects on undefined second argument', function(assert) {
let obj, ary;
ary = [
@@ -100,10 +100,10 @@ suite.test('should not return all objects on undefined second argument', functio
obj = this.newObject(ary);
- deepEqual(obj.filterBy('foo', undefined), [], 'filterBy(\'foo\', 3)\')');
+ assert.deepEqual(obj.filterBy('foo', undefined), [], 'filterBy(\'foo\', 3)\')');
});
-suite.test('should correctly filter explicit undefined second argument', function() {
+suite.test('should correctly filter explicit undefined second argument', function(assert) {
let obj, ary;
ary = [
@@ -117,10 +117,10 @@ suite.test('should correctly filter explicit undefined second argument', functio
obj = this.newObject(ary);
- deepEqual(obj.filterBy('foo', undefined), ary.slice(2), 'filterBy(\'foo\', 3)\')');
+ assert.deepEqual(obj.filterBy('foo', undefined), ary.slice(2), 'filterBy(\'foo\', 3)\')');
});
-suite.test('should not match undefined properties without second argument', function() {
+suite.test('should not match undefined properties without second argument', function(assert) {
let obj, ary;
ary = [
@@ -134,7 +134,7 @@ suite.test('should not match undefined properties without second argument', func
obj = this.newObject(ary);
- deepEqual(obj.filterBy('foo'), ary.slice(0, 2), 'filterBy(\'foo\', 3)\')');
+ assert.deepEqual(obj.filterBy('foo'), ary.slice(0, 2), 'filterBy(\'foo\', 3)\')');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/find.js
|
@@ -8,7 +8,7 @@ const suite = SuiteModuleBuilder.create();
suite.module('find');
-suite.test('find should invoke callback on each item as long as you return false', function() {
+suite.test('find should invoke callback on each item as long as you return false', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
let found = [];
@@ -18,11 +18,11 @@ suite.test('find should invoke callback on each item as long as you return false
found.push(i);
return false;
});
- equal(result, undefined, 'return value of obj.find');
- deepEqual(found, ary, 'items passed during find() should match');
+ assert.equal(result, undefined, 'return value of obj.find');
+ assert.deepEqual(found, ary, 'items passed during find() should match');
});
-suite.test('every should stop invoking when you return true', function() {
+suite.test('every should stop invoking when you return true', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
let cnt = ary.length - 2;
@@ -34,9 +34,9 @@ suite.test('every should stop invoking when you return true', function() {
found.push(i);
return --cnt >= 0;
});
- equal(result, ary[exp - 1], 'return value of obj.find');
- equal(found.length, exp, 'should invoke proper number of times');
- deepEqual(found, ary.slice(0, -2), 'items passed during find() should match');
+ assert.equal(result, ary[exp - 1], 'return value of obj.find');
+ assert.equal(found.length, exp, 'should invoke proper number of times');
+ assert.deepEqual(found, ary.slice(0, -2), 'items passed during find() should match');
});
// ..........................................................
@@ -45,7 +45,7 @@ suite.test('every should stop invoking when you return true', function() {
suite.module('findBy');
-suite.test('should return first object of property matches', function() {
+suite.test('should return first object of property matches', function(assert) {
let ary, obj;
ary = [
@@ -55,11 +55,11 @@ suite.test('should return first object of property matches', function() {
obj = this.newObject(ary);
- equal(obj.findBy('foo', 'foo'), ary[0], 'findBy(foo)');
- equal(obj.findBy('bar', 'bar'), ary[1], 'findBy(bar)');
+ assert.equal(obj.findBy('foo', 'foo'), ary[0], 'findBy(foo)');
+ assert.equal(obj.findBy('bar', 'bar'), ary[1], 'findBy(bar)');
});
-suite.test('should return first object with truthy prop', function() {
+suite.test('should return first object with truthy prop', function(assert) {
let ary, obj;
ary = [
@@ -70,11 +70,11 @@ suite.test('should return first object with truthy prop', function() {
obj = this.newObject(ary);
// different values - all eval to true
- equal(obj.findBy('foo'), ary[0], 'findBy(foo)');
- equal(obj.findBy('bar'), ary[1], 'findBy(bar)');
+ assert.equal(obj.findBy('foo'), ary[0], 'findBy(foo)');
+ assert.equal(obj.findBy('bar'), ary[1], 'findBy(bar)');
});
-suite.test('should return first null property match', function() {
+suite.test('should return first null property match', function(assert) {
let ary, obj;
ary = [
@@ -84,11 +84,11 @@ suite.test('should return first null property match', function() {
obj = this.newObject(ary);
- equal(obj.findBy('foo', null), ary[0], 'findBy(\'foo\', null)');
- equal(obj.findBy('bar', null), ary[1], 'findBy(\'bar\', null)');
+ assert.equal(obj.findBy('foo', null), ary[0], 'findBy(\'foo\', null)');
+ assert.equal(obj.findBy('bar', null), ary[1], 'findBy(\'bar\', null)');
});
-suite.test('should return first undefined property match', function() {
+suite.test('should return first undefined property match', function(assert) {
let ary, obj;
ary = [
@@ -98,8 +98,8 @@ suite.test('should return first undefined property match', function() {
obj = this.newObject(ary);
- equal(obj.findBy('foo', undefined), ary[0], 'findBy(\'foo\', undefined)');
- equal(obj.findBy('bar', undefined), ary[1], 'findBy(\'bar\', undefined)');
+ assert.equal(obj.findBy('foo', undefined), ary[0], 'findBy(\'foo\', undefined)');
+ assert.equal(obj.findBy('bar', undefined), ary[1], 'findBy(\'bar\', undefined)');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/firstObject.js
|
@@ -5,22 +5,22 @@ const suite = SuiteModuleBuilder.create();
suite.module('firstObject');
-suite.test('returns first item in enumerable', function() {
+suite.test('returns first item in enumerable', function(assert) {
let obj = this.newObject();
- equal(get(obj, 'firstObject'), this.toArray(obj)[0]);
+ assert.equal(get(obj, 'firstObject'), this.toArray(obj)[0]);
});
-suite.test('returns undefined if enumerable is empty', function() {
+suite.test('returns undefined if enumerable is empty', function(assert) {
let obj = this.newObject([]);
- equal(get(obj, 'firstObject'), undefined);
+ assert.equal(get(obj, 'firstObject'), undefined);
});
-suite.test('can not be set', function() {
+suite.test('can not be set', function(assert) {
let obj = this.newObject([]);
- equal(get(obj, 'firstObject'), this.toArray(obj)[0]);
+ assert.equal(get(obj, 'firstObject'), this.toArray(obj)[0]);
- throws(() => {
+ assert.throws(() => {
set(obj, 'firstObject', 'foo!');
}, /Cannot set read-only property "firstObject" on object/);
});
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/forEach.js
|
@@ -6,19 +6,19 @@ const suite = SuiteModuleBuilder.create();
suite.module('forEach');
-suite.test('forEach should iterate over list', function() {
+suite.test('forEach should iterate over list', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
let found = [];
obj.forEach(i => found.push(i));
- deepEqual(found, ary, 'items passed during forEach should match');
+ assert.deepEqual(found, ary, 'items passed during forEach should match');
});
-suite.test('forEach should iterate over list after mutation', function() {
+suite.test('forEach should iterate over list after mutation', function(assert) {
if (get(this, 'canTestMutation')) {
- expect(0);
+ assert.expect(0);
return;
}
@@ -27,17 +27,17 @@ suite.test('forEach should iterate over list after mutation', function() {
let found = [];
obj.forEach(i => found.push(i));
- deepEqual(found, ary, 'items passed during forEach should match');
+ assert.deepEqual(found, ary, 'items passed during forEach should match');
this.mutate(obj);
ary = this.toArray(obj);
found = [];
obj.forEach(i => found.push(i));
- deepEqual(found, ary, 'items passed during forEach should match');
+ assert.deepEqual(found, ary, 'items passed during forEach should match');
});
-suite.test('2nd target parameter', function() {
+suite.test('2nd target parameter', function(assert) {
let obj = this.newObject();
let target = this;
@@ -50,20 +50,20 @@ suite.test('2nd target parameter', function() {
});
obj.forEach(() => {
- equal(guidFor(this), guidFor(target), 'should pass target as this if context');
+ assert.equal(guidFor(this), guidFor(target), 'should pass target as this if context');
}, target);
});
-suite.test('callback params', function() {
+suite.test('callback params', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
let loc = 0;
obj.forEach((item, idx, enumerable) => {
- equal(item, ary[loc], 'item param');
- equal(idx, loc, 'idx param');
- equal(guidFor(enumerable), guidFor(obj), 'enumerable param');
+ assert.equal(item, ary[loc], 'item param');
+ assert.equal(idx, loc, 'idx param');
+ assert.equal(guidFor(enumerable), guidFor(obj), 'enumerable param');
loc++;
});
});
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/includes.js
|
@@ -4,22 +4,22 @@ const suite = SuiteModuleBuilder.create();
suite.module('includes');
-suite.test('includes returns true if item is in enumerable', function() {
+suite.test('includes returns true if item is in enumerable', function(assert) {
let data = this.newFixture(1);
let obj = this.newObject([...data, NaN, undefined, null]);
- equal(obj.includes(data[0]), true, 'should return true if included');
- equal(obj.includes(NaN), true, 'should return true if NaN included');
- equal(obj.includes(undefined), true, 'should return true if undefined included');
- equal(obj.includes(null), true, 'should return true if null included');
+ assert.equal(obj.includes(data[0]), true, 'should return true if included');
+ assert.equal(obj.includes(NaN), true, 'should return true if NaN included');
+ assert.equal(obj.includes(undefined), true, 'should return true if undefined included');
+ assert.equal(obj.includes(null), true, 'should return true if null included');
});
-suite.test('includes returns false if item is not in enumerable', function() {
+suite.test('includes returns false if item is not in enumerable', function(assert) {
let data = this.newFixture(1);
let obj = this.newObject([...this.newFixture(3), null]);
- equal(obj.includes(data[0]), false, 'should return false if not included');
- equal(obj.includes(undefined), false, 'should return false if undefined not included but null is included');
+ assert.equal(obj.includes(data[0]), false, 'should return false if not included');
+ assert.equal(obj.includes(undefined), false, 'should return false if undefined not included but null is included');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/invoke.js
|
@@ -5,7 +5,7 @@ const suite = SuiteModuleBuilder.create();
suite.module('invoke');
-suite.test('invoke should call on each object that implements', function() {
+suite.test('invoke should call on each object that implements', function(assert) {
let cnt, ary, obj;
function F(amt) {
@@ -24,11 +24,11 @@ suite.test('invoke should call on each object that implements', function() {
obj = this.newObject(ary);
obj.invoke('foo');
- equal(cnt, 3, 'should have invoked 3 times');
+ assert.equal(cnt, 3, 'should have invoked 3 times');
cnt = 0;
obj.invoke('foo', 2);
- equal(cnt, 6, 'should have invoked 3 times, passing param');
+ assert.equal(cnt, 6, 'should have invoked 3 times, passing param');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/is_any.js
|
@@ -9,56 +9,56 @@ const suite = SuiteModuleBuilder.create();
suite.module('isAny');
-suite.test('should return true of any property matches', function() {
+suite.test('should return true of any property matches', function(assert) {
let obj = this.newObject([
{ foo: 'foo', bar: 'BAZ' },
EmberObject.create({ foo: 'foo', bar: 'bar' })
]);
- equal(obj.isAny('foo', 'foo'), true, 'isAny(foo)');
- equal(obj.isAny('bar', 'bar'), true, 'isAny(bar)');
- equal(obj.isAny('bar', 'BIFF'), false, 'isAny(BIFF)');
+ assert.equal(obj.isAny('foo', 'foo'), true, 'isAny(foo)');
+ assert.equal(obj.isAny('bar', 'bar'), true, 'isAny(bar)');
+ assert.equal(obj.isAny('bar', 'BIFF'), false, 'isAny(BIFF)');
});
-suite.test('should return true of any property is true', function() {
+suite.test('should return true of any property is true', function(assert) {
let obj = this.newObject([
{ foo: 'foo', bar: true },
EmberObject.create({ foo: 'bar', bar: false })
]);
// different values - all eval to true
- equal(obj.isAny('foo'), true, 'isAny(foo)');
- equal(obj.isAny('bar'), true, 'isAny(bar)');
- equal(obj.isAny('BIFF'), false, 'isAny(biff)');
+ assert.equal(obj.isAny('foo'), true, 'isAny(foo)');
+ assert.equal(obj.isAny('bar'), true, 'isAny(bar)');
+ assert.equal(obj.isAny('BIFF'), false, 'isAny(biff)');
});
-suite.test('should return true if any property matches null', function() {
+suite.test('should return true if any property matches null', function(assert) {
let obj = this.newObject([
{ foo: null, bar: 'bar' },
EmberObject.create({ foo: 'foo', bar: null })
]);
- equal(obj.isAny('foo', null), true, 'isAny(\'foo\', null)');
- equal(obj.isAny('bar', null), true, 'isAny(\'bar\', null)');
+ assert.equal(obj.isAny('foo', null), true, 'isAny(\'foo\', null)');
+ assert.equal(obj.isAny('bar', null), true, 'isAny(\'bar\', null)');
});
-suite.test('should return true if any property is undefined', function() {
+suite.test('should return true if any property is undefined', function(assert) {
let obj = this.newObject([
{ foo: undefined, bar: 'bar' },
EmberObject.create({ foo: 'foo' })
]);
- equal(obj.isAny('foo', undefined), true, 'isAny(\'foo\', undefined)');
- equal(obj.isAny('bar', undefined), true, 'isAny(\'bar\', undefined)');
+ assert.equal(obj.isAny('foo', undefined), true, 'isAny(\'foo\', undefined)');
+ assert.equal(obj.isAny('bar', undefined), true, 'isAny(\'bar\', undefined)');
});
-suite.test('should not match undefined properties without second argument', function() {
+suite.test('should not match undefined properties without second argument', function(assert) {
let obj = this.newObject([
{ foo: undefined },
EmberObject.create({ })
]);
- equal(obj.isAny('foo'), false, 'isAny(\'foo\', undefined)');
+ assert.equal(obj.isAny('foo'), false, 'isAny(\'foo\', undefined)');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/lastObject.js
|
@@ -5,26 +5,26 @@ const suite = SuiteModuleBuilder.create();
suite.module('lastObject');
-suite.test('returns last item in enumerable', function() {
+suite.test('returns last item in enumerable', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
- equal(get(obj, 'lastObject'), ary[ary.length - 1]);
+ assert.equal(get(obj, 'lastObject'), ary[ary.length - 1]);
});
-suite.test('returns undefined if enumerable is empty', function() {
+suite.test('returns undefined if enumerable is empty', function(assert) {
let obj = this.newObject([]);
- equal(get(obj, 'lastObject'), undefined);
+ assert.equal(get(obj, 'lastObject'), undefined);
});
-suite.test('can not be set', function() {
+suite.test('can not be set', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
- equal(get(obj, 'lastObject'), ary[ary.length - 1]);
+ assert.equal(get(obj, 'lastObject'), ary[ary.length - 1]);
- throws(function() {
+ assert.throws(function() {
set(obj, 'lastObject', 'foo!');
}, /Cannot set read-only property "lastObject" on object/);
});
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/map.js
|
@@ -8,19 +8,19 @@ suite.module('map');
const mapFunc = item => item ? item.toString() : null;
-suite.test('map should iterate over list', function() {
+suite.test('map should iterate over list', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj).map(mapFunc);
let found = [];
found = obj.map(mapFunc);
- deepEqual(found, ary, 'mapped arrays should match');
+ assert.deepEqual(found, ary, 'mapped arrays should match');
});
-suite.test('map should iterate over list after mutation', function() {
+suite.test('map should iterate over list after mutation', function(assert) {
if (get(this, 'canTestMutation')) {
- expect(0);
+ assert.expect(0);
return;
}
@@ -29,15 +29,15 @@ suite.test('map should iterate over list after mutation', function() {
let found;
found = obj.map(mapFunc);
- deepEqual(found, ary, 'items passed during forEach should match');
+ assert.deepEqual(found, ary, 'items passed during forEach should match');
this.mutate(obj);
ary = this.toArray(obj).map(mapFunc);
found = obj.map(mapFunc);
- deepEqual(found, ary, 'items passed during forEach should match');
+ assert.deepEqual(found, ary, 'items passed during forEach should match');
});
-suite.test('2nd target parameter', function() {
+suite.test('2nd target parameter', function(assert) {
let obj = this.newObject();
let target = this;
@@ -51,20 +51,20 @@ suite.test('2nd target parameter', function() {
});
obj.map(() => {
- equal(guidFor(this), guidFor(target), 'should pass target as this if context');
+ assert.equal(guidFor(this), guidFor(target), 'should pass target as this if context');
}, target);
});
-suite.test('callback params', function() {
+suite.test('callback params', function(assert) {
let obj = this.newObject();
let ary = this.toArray(obj);
let loc = 0;
obj.map((item, idx, enumerable) => {
- equal(item, ary[loc], 'item param');
- equal(idx, loc, 'idx param');
- equal(guidFor(enumerable), guidFor(obj), 'enumerable param');
+ assert.equal(item, ary[loc], 'item param');
+ assert.equal(idx, loc, 'idx param');
+ assert.equal(guidFor(enumerable), guidFor(obj), 'enumerable param');
loc++;
});
});
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/mapBy.js
|
@@ -4,14 +4,14 @@ const suite = SuiteModuleBuilder.create();
suite.module('mapBy');
-suite.test('get value of each property', function() {
+suite.test('get value of each property', function(assert) {
let obj = this.newObject([{ a: 1 }, { a: 2 }]);
- equal(obj.mapBy('a').join(''), '12');
+ assert.equal(obj.mapBy('a').join(''), '12');
});
-suite.test('should work also through getEach alias', function() {
+suite.test('should work also through getEach alias', function(assert) {
let obj = this.newObject([{ a: 1 }, { a: 2 }]);
- equal(obj.getEach('a').join(''), '12');
+ assert.equal(obj.getEach('a').join(''), '12');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/reduce.js
|
@@ -4,22 +4,22 @@ const suite = SuiteModuleBuilder.create();
suite.module('reduce');
-suite.test('collects a summary value from an enumeration', function() {
+suite.test('collects a summary value from an enumeration', function(assert) {
let obj = this.newObject([1, 2, 3]);
let res = obj.reduce((previousValue, item) => previousValue + item, 0);
- equal(res, 6);
+ assert.equal(res, 6);
});
-suite.test('passes index of item to callback', function() {
+suite.test('passes index of item to callback', function(assert) {
let obj = this.newObject([1, 2, 3]);
let res = obj.reduce((previousValue, item, index) => previousValue + index, 0);
- equal(res, 3);
+ assert.equal(res, 3);
});
-suite.test('passes enumerable object to callback', function() {
+suite.test('passes enumerable object to callback', function(assert) {
let obj = this.newObject([1, 2, 3]);
let res = obj.reduce((previousValue, item, index, enumerable) => enumerable, 0);
- equal(res, obj);
+ assert.equal(res, obj);
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/reject.js
|
@@ -9,24 +9,24 @@ const suite = SuiteModuleBuilder.create();
suite.module('reject');
-suite.test('should reject any item that does not meet the condition', function() {
+suite.test('should reject any item that does not meet the condition', function(assert) {
let obj = this.newObject([1, 2, 3, 4]);
let result;
result = obj.reject(i => i < 3);
- deepEqual(result, [3, 4], 'reject the correct items');
+ assert.deepEqual(result, [3, 4], 'reject the correct items');
});
-suite.test('should be the inverse of filter', function() {
+suite.test('should be the inverse of filter', function(assert) {
let obj = this.newObject([1, 2, 3, 4]);
let isEven = i => i % 2 === 0;
let filtered, rejected;
filtered = obj.filter(isEven);
rejected = obj.reject(isEven);
- deepEqual(filtered, [2, 4], 'filtered evens');
- deepEqual(rejected, [1, 3], 'rejected evens');
+ assert.deepEqual(filtered, [2, 4], 'filtered evens');
+ assert.deepEqual(rejected, [1, 3], 'rejected evens');
});
// ..........................................................
@@ -35,7 +35,7 @@ suite.test('should be the inverse of filter', function() {
suite.module('rejectBy');
-suite.test('should reject based on object', function() {
+suite.test('should reject based on object', function(assert) {
let obj, ary;
ary = [
@@ -45,11 +45,11 @@ suite.test('should reject based on object', function() {
obj = this.newObject(ary);
- deepEqual(obj.rejectBy('foo', 'foo'), [], 'rejectBy(foo)');
- deepEqual(obj.rejectBy('bar', 'bar'), [ary[0]], 'rejectBy(bar)');
+ assert.deepEqual(obj.rejectBy('foo', 'foo'), [], 'rejectBy(foo)');
+ assert.deepEqual(obj.rejectBy('bar', 'bar'), [ary[0]], 'rejectBy(bar)');
});
-suite.test('should include in result if property is false', function() {
+suite.test('should include in result if property is false', function(assert) {
let obj, ary;
ary = [
@@ -59,11 +59,11 @@ suite.test('should include in result if property is false', function() {
obj = this.newObject(ary);
- deepEqual(obj.rejectBy('foo'), ary, 'rejectBy(foo)');
- deepEqual(obj.rejectBy('bar'), [ary[1]], 'rejectBy(bar)');
+ assert.deepEqual(obj.rejectBy('foo'), ary, 'rejectBy(foo)');
+ assert.deepEqual(obj.rejectBy('bar'), [ary[1]], 'rejectBy(bar)');
});
-suite.test('should reject on second argument if provided', function() {
+suite.test('should reject on second argument if provided', function(assert) {
let obj, ary;
ary = [
@@ -75,10 +75,10 @@ suite.test('should reject on second argument if provided', function() {
obj = this.newObject(ary);
- deepEqual(obj.rejectBy('foo', 3), [ary[1], ary[2]], 'rejectBy(\'foo\', 3)\')');
+ assert.deepEqual(obj.rejectBy('foo', 3), [ary[1], ary[2]], 'rejectBy(\'foo\', 3)\')');
});
-suite.test('should correctly reject null second argument', function() {
+suite.test('should correctly reject null second argument', function(assert) {
let obj, ary;
ary = [
@@ -90,10 +90,10 @@ suite.test('should correctly reject null second argument', function() {
obj = this.newObject(ary);
- deepEqual(obj.rejectBy('foo', null), [ary[0], ary[3]], 'rejectBy(\'foo\', null)\')');
+ assert.deepEqual(obj.rejectBy('foo', null), [ary[0], ary[3]], 'rejectBy(\'foo\', null)\')');
});
-suite.test('should correctly reject undefined second argument', function() {
+suite.test('should correctly reject undefined second argument', function(assert) {
let obj, ary;
ary = [
@@ -103,10 +103,10 @@ suite.test('should correctly reject undefined second argument', function() {
obj = this.newObject(ary);
- deepEqual(obj.rejectBy('bar', undefined), [], 'rejectBy(\'bar\', undefined)\')');
+ assert.deepEqual(obj.rejectBy('bar', undefined), [], 'rejectBy(\'bar\', undefined)\')');
});
-suite.test('should correctly reject explicit undefined second argument', function() {
+suite.test('should correctly reject explicit undefined second argument', function(assert) {
let obj, ary;
ary = [
@@ -120,10 +120,10 @@ suite.test('should correctly reject explicit undefined second argument', functio
obj = this.newObject(ary);
- deepEqual(obj.rejectBy('foo', undefined), ary.slice(0, 2), 'rejectBy(\'foo\', undefined)\')');
+ assert.deepEqual(obj.rejectBy('foo', undefined), ary.slice(0, 2), 'rejectBy(\'foo\', undefined)\')');
});
-suite.test('should match undefined, null, or false properties without second argument', function() {
+suite.test('should match undefined, null, or false properties without second argument', function(assert) {
let obj, ary;
ary = [
@@ -141,7 +141,7 @@ suite.test('should match undefined, null, or false properties without second arg
obj = this.newObject(ary);
- deepEqual(obj.rejectBy('foo'), ary.slice(2), 'rejectBy(\'foo\')\')');
+ assert.deepEqual(obj.rejectBy('foo'), ary.slice(2), 'rejectBy(\'foo\')\')');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/sortBy.js
|
@@ -5,20 +5,20 @@ const suite = SuiteModuleBuilder.create();
suite.module('sortBy');
-suite.test('sort by value of property', function() {
+suite.test('sort by value of property', function(assert) {
let obj = this.newObject([{ a: 2 }, { a: 1 }]);
let sorted = obj.sortBy('a');
- equal(get(sorted[0], 'a'), 1);
- equal(get(sorted[1], 'a'), 2);
+ assert.equal(get(sorted[0], 'a'), 1);
+ assert.equal(get(sorted[1], 'a'), 2);
});
-suite.test('supports multiple propertyNames', function() {
+suite.test('supports multiple propertyNames', function(assert) {
let obj = this.newObject([{ a: 1, b: 2 }, { a: 1, b: 1 }]);
let sorted = obj.sortBy('a', 'b');
- equal(get(sorted[0], 'b'), 1);
- equal(get(sorted[1], 'b'), 2);
+ assert.equal(get(sorted[0], 'b'), 1);
+ assert.equal(get(sorted[1], 'b'), 2);
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/toArray.js
|
@@ -4,9 +4,9 @@ const suite = SuiteModuleBuilder.create();
suite.module('toArray');
-suite.test('toArray should convert to an array', function() {
+suite.test('toArray should convert to an array', function(assert) {
let obj = this.newObject();
- deepEqual(obj.toArray(), this.toArray(obj));
+ assert.deepEqual(obj.toArray(), this.toArray(obj));
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/uniq.js
|
@@ -4,7 +4,7 @@ const suite = SuiteModuleBuilder.create();
suite.module('uniq');
-suite.test('should return new instance with duplicates removed', function() {
+suite.test('should return new instance with duplicates removed', function(assert) {
let before, after, obj, ret;
after = this.newFixture(3);
@@ -13,16 +13,16 @@ suite.test('should return new instance with duplicates removed', function() {
before = obj.toArray(); // in case of set before will be different...
ret = obj.uniq();
- deepEqual(this.toArray(ret), after, 'should have removed item');
- deepEqual(this.toArray(obj), before, 'should not have changed original');
+ assert.deepEqual(this.toArray(ret), after, 'should have removed item');
+ assert.deepEqual(this.toArray(obj), before, 'should not have changed original');
});
-suite.test('should return duplicate of same content if no duplicates found', function() {
+suite.test('should return duplicate of same content if no duplicates found', function(assert) {
let item, obj, ret;
obj = this.newObject(this.newFixture(3));
ret = obj.uniq(item);
- ok(ret !== obj, 'should not be same object');
- deepEqual(this.toArray(ret), this.toArray(obj), 'should be the same content');
+ assert.ok(ret !== obj, 'should not be same object');
+ assert.deepEqual(this.toArray(ret), this.toArray(obj), 'should be the same content');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/uniqBy.js
|
@@ -4,13 +4,13 @@ const suite = SuiteModuleBuilder.create();
suite.module('uniqBy');
-suite.test('should return new instance with duplicates removed', function() {
+suite.test('should return new instance with duplicates removed', function(assert) {
let numbers = this.newObject([
{ id: 1, value: 'one' },
{ id: 2, value: 'two' },
{ id: 1, value: 'one' }
]);
- deepEqual(numbers.uniqBy('id'), [
+ assert.deepEqual(numbers.uniqBy('id'), [
{ id: 1, value: 'one' },
{ id: 2, value: 'two' }
]);
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/enumerable/without.js
|
@@ -4,37 +4,37 @@ const suite = SuiteModuleBuilder.create();
suite.module('without');
-suite.test('should return new instance with item removed', function() {
+suite.test('should return new instance with item removed', function(assert) {
let before, after, obj, ret;
before = this.newFixture(3);
after = [before[0], before[2]];
obj = this.newObject(before);
ret = obj.without(before[1]);
- deepEqual(this.toArray(ret), after, 'should have removed item');
- deepEqual(this.toArray(obj), before, 'should not have changed original');
+ assert.deepEqual(this.toArray(ret), after, 'should have removed item');
+ assert.deepEqual(this.toArray(obj), before, 'should not have changed original');
});
-suite.test('should remove NaN value', function() {
+suite.test('should remove NaN value', function(assert) {
let before, after, obj, ret;
before = [...this.newFixture(2), NaN];
after = [before[0], before[1]];
obj = this.newObject(before);
ret = obj.without(NaN);
- deepEqual(this.toArray(ret), after, 'should have removed item');
+ assert.deepEqual(this.toArray(ret), after, 'should have removed item');
});
-suite.test('should return same instance if object not found', function() {
+suite.test('should return same instance if object not found', function(assert) {
let item, obj, ret;
item = this.newFixture(1)[0];
obj = this.newObject(this.newFixture(3));
ret = obj.without(item);
- equal(ret, obj, 'should be same instance');
+ assert.equal(ret, obj, 'should be same instance');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/addObject.js
|
@@ -5,13 +5,13 @@ const suite = SuiteModuleBuilder.create();
suite.module('addObject');
-suite.test('should return receiver', function() {
+suite.test('should return receiver', function(assert) {
let before = this.newFixture(3);
let obj = this.newObject(before);
- equal(obj.addObject(before[1]), obj, 'should return receiver');
+ assert.equal(obj.addObject(before[1]), obj, 'should return receiver');
});
-suite.test('[A,B].addObject(C) => [A,B,C] + notify', function() {
+suite.test('[A,B].addObject(C) => [A,B,C] + notify', function(assert) {
let before = this.newFixture(2);
let item = this.newFixture(1)[0];
let after = [before[0], before[1], item];
@@ -22,20 +22,20 @@ suite.test('[A,B].addObject(C) => [A,B,C] + notify', function() {
obj.addObject(item);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
}
});
-suite.test('[A,B,C].addObject(A) => [A,B,C] + NO notify', function() {
+suite.test('[A,B,C].addObject(A) => [A,B,C] + NO notify', function(assert) {
let before = this.newFixture(3);
let after = before;
let item = before[0];
@@ -46,15 +46,15 @@ suite.test('[A,B,C].addObject(A) => [A,B,C] + NO notify', function() {
obj.addObject(item); // note: item in set
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.validate('[]'), false, 'should NOT have notified []');
- equal(observer.validate('@each'), false, 'should NOT have notified @each');
- equal(observer.validate('length'), false, 'should NOT have notified length');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('[]'), false, 'should NOT have notified []');
+ assert.equal(observer.validate('@each'), false, 'should NOT have notified @each');
+ assert.equal(observer.validate('length'), false, 'should NOT have notified length');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
}
});
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/clear.js
|
@@ -5,27 +5,27 @@ const suite = SuiteModuleBuilder.create();
suite.module('clear');
-suite.test('[].clear() => [] + notify', function () {
+suite.test('[].clear() => [] + notify', function (assert) {
let before = [];
let after = [];
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(obj.clear(), obj, 'return self');
+ assert.equal(obj.clear(), obj, 'return self');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.validate('[]'), false, 'should NOT have notified [] once');
- equal(observer.validate('@each'), false, 'should NOT have notified @each once');
- equal(observer.validate('length'), false, 'should NOT have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('[]'), false, 'should NOT have notified [] once');
+ assert.equal(observer.validate('@each'), false, 'should NOT have notified @each once');
+ assert.equal(observer.validate('length'), false, 'should NOT have notified length once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
});
-suite.test('[X].clear() => [] + notify', function () {
+suite.test('[X].clear() => [] + notify', function (assert) {
var obj, before, after, observer;
before = this.newFixture(1);
@@ -34,16 +34,16 @@ suite.test('[X].clear() => [] + notify', function () {
observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(obj.clear(), obj, 'return self');
+ assert.equal(obj.clear(), obj, 'return self');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/insertAt.js
|
@@ -5,7 +5,7 @@ const suite = SuiteModuleBuilder.create();
suite.module('insertAt');
-suite.test('[].insertAt(0, X) => [X] + notify', function() {
+suite.test('[].insertAt(0, X) => [X] + notify', function(assert) {
let after = this.newFixture(1);
let obj = this.newObject([]);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
@@ -14,31 +14,31 @@ suite.test('[].insertAt(0, X) => [X] + notify', function() {
obj.insertAt(0, after[0]);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
- equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
- equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
- equal(observer.timesCalledBefore('firstObject'), 1, 'should have notified firstObject will change once');
- equal(observer.timesCalledBefore('lastObject'), 1, 'should have notified lastObject will change once');
+ assert.equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
+ assert.equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
+ assert.equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
+ assert.equal(observer.timesCalledBefore('firstObject'), 1, 'should have notified firstObject will change once');
+ assert.equal(observer.timesCalledBefore('lastObject'), 1, 'should have notified lastObject will change once');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] did change once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each did change once');
- equal(observer.timesCalled('length'), 1, 'should have notified length did change once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject did change once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject did change once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] did change once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each did change once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length did change once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject did change once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject did change once');
});
-suite.test('[].insertAt(200,X) => OUT_OF_RANGE_EXCEPTION exception', function() {
+suite.test('[].insertAt(200,X) => OUT_OF_RANGE_EXCEPTION exception', function(assert) {
let obj = this.newObject([]);
let that = this;
- throws(() => obj.insertAt(200, that.newFixture(1)[0]), Error);
+ assert.throws(() => obj.insertAt(200, that.newFixture(1)[0]), Error);
});
-suite.test('[A].insertAt(0, X) => [X,A] + notify', function() {
+suite.test('[A].insertAt(0, X) => [X,A] + notify', function(assert) {
let item = this.newFixture(1)[0];
let before = this.newFixture(1);
let after = [item, before[0]];
@@ -49,24 +49,24 @@ suite.test('[A].insertAt(0, X) => [X,A] + notify', function() {
obj.insertAt(0, item);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
- equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
- equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
- equal(observer.timesCalledBefore('firstObject'), 1, 'should have notified firstObject will change once');
- equal(observer.timesCalledBefore('lastObject'), 0, 'should NOT have notified lastObject will change once');
+ assert.equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
+ assert.equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
+ assert.equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
+ assert.equal(observer.timesCalledBefore('firstObject'), 1, 'should have notified firstObject will change once');
+ assert.equal(observer.timesCalledBefore('lastObject'), 0, 'should NOT have notified lastObject will change once');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
});
-suite.test('[A].insertAt(1, X) => [A,X] + notify', function() {
+suite.test('[A].insertAt(1, X) => [A,X] + notify', function(assert) {
let item = this.newFixture(1)[0];
let before = this.newFixture(1);
let after = [before[0], item];
@@ -77,31 +77,31 @@ suite.test('[A].insertAt(1, X) => [A,X] + notify', function() {
obj.insertAt(1, item);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
- equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
- equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
- equal(observer.timesCalledBefore('firstObject'), 0, 'should NOT have notified firstObject will change once');
- equal(observer.timesCalledBefore('lastObject'), 1, 'should have notified lastObject will change once');
+ assert.equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
+ assert.equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
+ assert.equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
+ assert.equal(observer.timesCalledBefore('firstObject'), 0, 'should NOT have notified firstObject will change once');
+ assert.equal(observer.timesCalledBefore('lastObject'), 1, 'should have notified lastObject will change once');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
});
-suite.test('[A].insertAt(200,X) => OUT_OF_RANGE exception', function() {
+suite.test('[A].insertAt(200,X) => OUT_OF_RANGE exception', function(assert) {
let obj = this.newObject(this.newFixture(1));
let that = this;
- throws(() => obj.insertAt(200, that.newFixture(1)[0]), Error);
+ assert.throws(() => obj.insertAt(200, that.newFixture(1)[0]), Error);
});
-suite.test('[A,B,C].insertAt(0,X) => [X,A,B,C] + notify', function() {
+suite.test('[A,B,C].insertAt(0,X) => [X,A,B,C] + notify', function(assert) {
let item = this.newFixture(1)[0];
let before = this.newFixture(3);
let after = [item, before[0], before[1], before[2]];
@@ -112,24 +112,24 @@ suite.test('[A,B,C].insertAt(0,X) => [X,A,B,C] + notify', function() {
obj.insertAt(0, item);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
- equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
- equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
- equal(observer.timesCalledBefore('firstObject'), 1, 'should have notified firstObject will change once');
- equal(observer.timesCalledBefore('lastObject'), 0, 'should NOT have notified lastObject will change once');
+ assert.equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
+ assert.equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
+ assert.equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
+ assert.equal(observer.timesCalledBefore('firstObject'), 1, 'should have notified firstObject will change once');
+ assert.equal(observer.timesCalledBefore('lastObject'), 0, 'should NOT have notified lastObject will change once');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
});
-suite.test('[A,B,C].insertAt(1,X) => [A,X,B,C] + notify', function() {
+suite.test('[A,B,C].insertAt(1,X) => [A,X,B,C] + notify', function(assert) {
let item = this.newFixture(1)[0];
let before = this.newFixture(3);
let after = [before[0], item, before[1], before[2]];
@@ -148,26 +148,26 @@ suite.test('[A,B,C].insertAt(1,X) => [A,X,B,C] + notify', function() {
objectAtCalls.splice(0, objectAtCalls.length);
obj.insertAt(1, item);
- deepEqual(objectAtCalls, [], 'objectAt is not called when only inserting items');
+ assert.deepEqual(objectAtCalls, [], 'objectAt is not called when only inserting items');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
- equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
- equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
- equal(observer.timesCalledBefore('firstObject'), 0, 'should NOT have notified firstObject will change once');
- equal(observer.timesCalledBefore('lastObject'), 0, 'should NOT have notified lastObject will change once');
+ assert.equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
+ assert.equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
+ assert.equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
+ assert.equal(observer.timesCalledBefore('firstObject'), 0, 'should NOT have notified firstObject will change once');
+ assert.equal(observer.timesCalledBefore('lastObject'), 0, 'should NOT have notified lastObject will change once');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
});
-suite.test('[A,B,C].insertAt(3,X) => [A,B,C,X] + notify', function() {
+suite.test('[A,B,C].insertAt(3,X) => [A,B,C,X] + notify', function(assert) {
let item = this.newFixture(1)[0];
let before = this.newFixture(3);
let after = [before[0], before[1], before[2], item];
@@ -178,21 +178,21 @@ suite.test('[A,B,C].insertAt(3,X) => [A,B,C,X] + notify', function() {
obj.insertAt(3, item);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
- equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
- equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
- equal(observer.timesCalledBefore('firstObject'), 0, 'should NOT have notified firstObject will change once');
- equal(observer.timesCalledBefore('lastObject'), 1, 'should have notified lastObject will change once');
+ assert.equal(observer.timesCalledBefore('[]'), 1, 'should have notified [] will change once');
+ assert.equal(observer.timesCalledBefore('@each'), 0, 'should not have notified @each will change once');
+ assert.equal(observer.timesCalledBefore('length'), 1, 'should have notified length will change once');
+ assert.equal(observer.timesCalledBefore('firstObject'), 0, 'should NOT have notified firstObject will change once');
+ assert.equal(observer.timesCalledBefore('lastObject'), 1, 'should have notified lastObject will change once');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/popObject.js
|
@@ -5,24 +5,24 @@ const suite = SuiteModuleBuilder.create();
suite.module('popObject');
-suite.test('[].popObject() => [] + returns undefined + NO notify', function() {
+suite.test('[].popObject() => [] + returns undefined + NO notify', function(assert) {
let obj = this.newObject([]);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(obj.popObject(), undefined, 'popObject results');
+ assert.equal(obj.popObject(), undefined, 'popObject results');
- deepEqual(this.toArray(obj), [], 'post item results');
+ assert.deepEqual(this.toArray(obj), [], 'post item results');
- equal(observer.validate('[]'), false, 'should NOT have notified []');
- equal(observer.validate('@each'), false, 'should NOT have notified @each');
- equal(observer.validate('length'), false, 'should NOT have notified length');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('[]'), false, 'should NOT have notified []');
+ assert.equal(observer.validate('@each'), false, 'should NOT have notified @each');
+ assert.equal(observer.validate('length'), false, 'should NOT have notified length');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
});
-suite.test('[X].popObject() => [] + notify', function() {
+suite.test('[X].popObject() => [] + notify', function(assert) {
let before = this.newFixture(1);
let after = [];
let obj = this.newObject(before);
@@ -32,18 +32,18 @@ suite.test('[X].popObject() => [] + notify', function() {
let ret = obj.popObject();
- equal(ret, before[0], 'return object');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.equal(ret, before[0], 'return object');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
});
-suite.test('[A,B,C].popObject() => [A,B] + notify', function() {
+suite.test('[A,B,C].popObject() => [A,B] + notify', function(assert) {
let before = this.newFixture(3);
let after = [before[0], before[1]];
let obj = this.newObject(before);
@@ -53,16 +53,16 @@ suite.test('[A,B,C].popObject() => [A,B] + notify', function() {
let ret = obj.popObject();
- equal(ret, before[2], 'return object');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.equal(ret, before[2], 'return object');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/pushObject.js
|
@@ -5,14 +5,14 @@ const suite = SuiteModuleBuilder.create();
suite.module('pushObject');
-suite.test('returns pushed object', function() {
+suite.test('returns pushed object', function(assert) {
let exp = this.newFixture(1)[0];
let obj = this.newObject([]);
- equal(obj.pushObject(exp), exp, 'should return pushed object');
+ assert.equal(obj.pushObject(exp), exp, 'should return pushed object');
});
-suite.test('[].pushObject(X) => [X] + notify', function() {
+suite.test('[].pushObject(X) => [X] + notify', function(assert) {
let before = [];
let after = this.newFixture(1);
let obj = this.newObject(before);
@@ -22,17 +22,17 @@ suite.test('[].pushObject(X) => [X] + notify', function() {
obj.pushObject(after[0]);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
});
-suite.test('[A,B,C].pushObject(X) => [A,B,C,X] + notify', function() {
+suite.test('[A,B,C].pushObject(X) => [A,B,C,X] + notify', function(assert) {
let before = this.newFixture(3);
let item = this.newFixture(1)[0];
let after = [before[0], before[1], before[2], item];
@@ -43,18 +43,18 @@ suite.test('[A,B,C].pushObject(X) => [A,B,C,X] + notify', function() {
obj.pushObject(item);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
});
-suite.test('[A,B,C,C].pushObject(A) => [A,B,C,C] + notify', function() {
+suite.test('[A,B,C,C].pushObject(A) => [A,B,C,C] + notify', function(assert) {
let before = this.newFixture(3);
let item = before[2]; // note same object as current tail. should end up twice
let after = [before[0], before[1], before[2], item];
@@ -65,15 +65,15 @@ suite.test('[A,B,C,C].pushObject(A) => [A,B,C,C] + notify', function() {
obj.pushObject(item);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
- equal(observer.validate('lastObject'), true, 'should have notified lastObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('lastObject'), true, 'should have notified lastObject');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/pushObjects.js
|
@@ -4,10 +4,10 @@ const suite = SuiteModuleBuilder.create();
suite.module('pushObjects');
-suite.test('should raise exception if not Ember.Enumerable is passed to pushObjects', function() {
+suite.test('should raise exception if not Ember.Enumerable is passed to pushObjects', function(assert) {
let obj = this.newObject([]);
- throws(() => obj.pushObjects('string'));
+ assert.throws(() => obj.pushObjects('string'));
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/removeAt.js
|
@@ -6,116 +6,116 @@ const suite = SuiteModuleBuilder.create();
suite.module('removeAt');
-suite.test('removeAt([X], 0) => [] + notify', function() {
+suite.test('removeAt([X], 0) => [] + notify', function(assert) {
let before = this.newFixture(1);
let after = [];
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(removeAt(obj, 0), obj, 'return self');
+ assert.equal(removeAt(obj, 0), obj, 'return self');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
});
-suite.test('removeAt([], 200) => OUT_OF_RANGE_EXCEPTION exception', function() {
+suite.test('removeAt([], 200) => OUT_OF_RANGE_EXCEPTION exception', function(assert) {
let obj = this.newObject([]);
- throws(() => removeAt(obj, 200), Error);
+ assert.throws(() => removeAt(obj, 200), Error);
});
-suite.test('removeAt([A,B], 0) => [B] + notify', function() {
+suite.test('removeAt([A,B], 0) => [B] + notify', function(assert) {
let before = this.newFixture(2);
let after = [before[1]];
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(removeAt(obj, 0), obj, 'return self');
+ assert.equal(removeAt(obj, 0), obj, 'return self');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
});
-suite.test('removeAt([A,B], 1) => [A] + notify', function() {
+suite.test('removeAt([A,B], 1) => [A] + notify', function(assert) {
let before = this.newFixture(2);
let after = [before[0]];
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(removeAt(obj, 1), obj, 'return self');
+ assert.equal(removeAt(obj, 1), obj, 'return self');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
});
-suite.test('removeAt([A,B,C], 1) => [A,C] + notify', function() {
+suite.test('removeAt([A,B,C], 1) => [A,C] + notify', function(assert) {
let before = this.newFixture(3);
let after = [before[0], before[2]];
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(removeAt(obj, 1), obj, 'return self');
+ assert.equal(removeAt(obj, 1), obj, 'return self');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
});
-suite.test('removeAt([A,B,C,D], 1,2) => [A,D] + notify', function() {
+suite.test('removeAt([A,B,C,D], 1,2) => [A,D] + notify', function(assert) {
let before = this.newFixture(4);
let after = [before[0], before[3]];
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(removeAt(obj, 1, 2), obj, 'return self');
+ assert.equal(removeAt(obj, 1, 2), obj, 'return self');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
});
-suite.test('[A,B,C,D].removeAt(1,2) => [A,D] + notify', function() {
+suite.test('[A,B,C,D].removeAt(1,2) => [A,D] + notify', function(assert) {
var obj, before, after, observer;
before = this.newFixture(4);
@@ -124,17 +124,17 @@ suite.test('[A,B,C,D].removeAt(1,2) => [A,D] + notify', function() {
observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(obj.removeAt(1, 2), obj, 'return self');
+ assert.equal(obj.removeAt(1, 2), obj, 'return self');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/removeObject.js
|
@@ -5,14 +5,14 @@ const suite = SuiteModuleBuilder.create();
suite.module('removeObject');
-suite.test('should return receiver', function() {
+suite.test('should return receiver', function(assert) {
let before = this.newFixture(3);
let obj = this.newObject(before);
- equal(obj.removeObject(before[1]), obj, 'should return receiver');
+ assert.equal(obj.removeObject(before[1]), obj, 'should return receiver');
});
-suite.test('[A,B,C].removeObject(B) => [A,C] + notify', function() {
+suite.test('[A,B,C].removeObject(B) => [A,C] + notify', function(assert) {
let before = this.newFixture(3);
let after = [before[0], before[2]];
let obj = this.newObject(before);
@@ -22,20 +22,20 @@ suite.test('[A,B,C].removeObject(B) => [A,C] + notify', function() {
obj.removeObject(before[1]);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
}
});
-suite.test('[A,B,C].removeObject(D) => [A,B,C]', function() {
+suite.test('[A,B,C].removeObject(D) => [A,B,C]', function(assert) {
let before = this.newFixture(3);
let after = before;
let item = this.newFixture(1)[0];
@@ -46,16 +46,16 @@ suite.test('[A,B,C].removeObject(D) => [A,B,C]', function() {
obj.removeObject(item); // note: item not in set
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.validate('[]'), false, 'should NOT have notified []');
- equal(observer.validate('@each'), false, 'should NOT have notified @each');
- equal(observer.validate('length'), false, 'should NOT have notified length');
+ assert.equal(observer.validate('[]'), false, 'should NOT have notified []');
+ assert.equal(observer.validate('@each'), false, 'should NOT have notified @each');
+ assert.equal(observer.validate('length'), false, 'should NOT have notified length');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
}
});
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/replace.js
|
@@ -4,7 +4,7 @@ const suite = SuiteModuleBuilder.create();
suite.module('replace');
-suite.test('[].replace(0,0,\'X\') => [\'X\'] + notify', function() {
+suite.test('[].replace(0,0,\'X\') => [\'X\'] + notify', function(assert) {
let exp = this.newFixture(1);
let obj = this.newObject([]);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
@@ -13,16 +13,16 @@ suite.test('[].replace(0,0,\'X\') => [\'X\'] + notify', function() {
obj.replace(0, 0, exp);
- deepEqual(this.toArray(obj), exp, 'post item results');
+ assert.deepEqual(this.toArray(obj), exp, 'post item results');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
});
-suite.test('[].replace(0,0,"X") => ["X"] + avoid calling objectAt and notifying fistObject/lastObject when not in cache', function() {
+suite.test('[].replace(0,0,"X") => ["X"] + avoid calling objectAt and notifying fistObject/lastObject when not in cache', function(assert) {
var obj, exp, observer;
var called = 0;
exp = this.newFixture(1);
@@ -34,12 +34,12 @@ suite.test('[].replace(0,0,"X") => ["X"] + avoid calling objectAt and notifying
obj.replace(0, 0, exp);
- equal(called, 0, 'should NOT have called objectAt upon replace when firstObject/lastObject are not cached');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject since not cached');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject since not cached');
+ assert.equal(called, 0, 'should NOT have called objectAt upon replace when firstObject/lastObject are not cached');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject since not cached');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject since not cached');
});
-suite.test('[A,B,C,D].replace(1,2,X) => [A,X,D] + notify', function() {
+suite.test('[A,B,C,D].replace(1,2,X) => [A,X,D] + notify', function(assert) {
let before = this.newFixture(4);
let replace = this.newFixture(1);
let after = [before[0], replace[0], before[3]];
@@ -51,17 +51,17 @@ suite.test('[A,B,C,D].replace(1,2,X) => [A,X,D] + notify', function() {
obj.replace(1, 2, replace);
- deepEqual(this.toArray(obj), after, 'post item results');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
});
-suite.test('[A,B,C,D].replace(1,2,[X,Y]) => [A,X,Y,D] + notify', function() {
+suite.test('[A,B,C,D].replace(1,2,[X,Y]) => [A,X,Y,D] + notify', function(assert) {
let before = this.newFixture(4);
let replace = this.newFixture(2);
let after = [before[0], replace[0], replace[1], before[3]];
@@ -73,17 +73,17 @@ suite.test('[A,B,C,D].replace(1,2,[X,Y]) => [A,X,Y,D] + notify', function() {
obj.replace(1, 2, replace);
- deepEqual(this.toArray(obj), after, 'post item results');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.validate('length'), false, 'should NOT have notified length');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.validate('length'), false, 'should NOT have notified length');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
});
-suite.test('[A,B].replace(1,0,[X,Y]) => [A,X,Y,B] + notify', function() {
+suite.test('[A,B].replace(1,0,[X,Y]) => [A,X,Y,B] + notify', function(assert) {
let before = this.newFixture(2);
let replace = this.newFixture(2);
let after = [before[0], replace[0], replace[1], before[1]];
@@ -95,17 +95,17 @@ suite.test('[A,B].replace(1,0,[X,Y]) => [A,X,Y,B] + notify', function() {
obj.replace(1, 0, replace);
- deepEqual(this.toArray(obj), after, 'post item results');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
});
-suite.test('[A,B,C,D].replace(2,2) => [A,B] + notify', function() {
+suite.test('[A,B,C,D].replace(2,2) => [A,B] + notify', function(assert) {
let before = this.newFixture(4);
let after = [before[0], before[1]];
@@ -116,17 +116,17 @@ suite.test('[A,B,C,D].replace(2,2) => [A,B] + notify', function() {
obj.replace(2, 2);
- deepEqual(this.toArray(obj), after, 'post item results');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
});
-suite.test('[A,B,C,D].replace(-1,1) => [A,B,C] + notify', function() {
+suite.test('[A,B,C,D].replace(-1,1) => [A,B,C] + notify', function(assert) {
let before = this.newFixture(4);
let after = [before[0], before[1], before[2]];
@@ -137,38 +137,38 @@ suite.test('[A,B,C,D].replace(-1,1) => [A,B,C] + notify', function() {
obj.replace(-1, 1);
- deepEqual(this.toArray(obj), after, 'post item results');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
});
-suite.test('Adding object should notify enumerable observer', function() {
+suite.test('Adding object should notify enumerable observer', function(assert) {
let fixtures = this.newFixture(4);
let obj = this.newObject(fixtures);
let observer = this.newObserver(obj).observeEnumerable(obj);
let item = this.newFixture(1)[0];
obj.replace(2, 2, [item]);
- deepEqual(observer._before, [obj, [fixtures[2], fixtures[3]], 1], 'before');
- deepEqual(observer._after, [obj, 2, [item]], 'after');
+ assert.deepEqual(observer._before, [obj, [fixtures[2], fixtures[3]], 1], 'before');
+ assert.deepEqual(observer._after, [obj, 2, [item]], 'after');
});
-suite.test('Adding object should notify array observer', function() {
+suite.test('Adding object should notify array observer', function(assert) {
let fixtures = this.newFixture(4);
let obj = this.newObject(fixtures);
let observer = this.newObserver(obj).observeArray(obj);
let item = this.newFixture(1)[0];
obj.replace(2, 2, [item]);
- deepEqual(observer._before, [obj, 2, 2, 1], 'before');
- deepEqual(observer._after, [obj, 2, 2, 1], 'after');
+ assert.deepEqual(observer._before, [obj, 2, 2, 1], 'before');
+ assert.deepEqual(observer._after, [obj, 2, 2, 1], 'after');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/reverseObjects.js
|
@@ -5,24 +5,24 @@ const suite = SuiteModuleBuilder.create();
suite.module('reverseObjects');
-suite.test('[A,B,C].reverseObjects() => [] + notify', function () {
+suite.test('[A,B,C].reverseObjects() => [] + notify', function (assert) {
let before = this.newFixture(3);
let after = [before[2], before[1], before[0]];
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(obj.reverseObjects(), obj, 'return self');
+ assert.equal(obj.reverseObjects(), obj, 'return self');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 0, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 0, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/setObjects.js
|
@@ -5,44 +5,44 @@ const suite = SuiteModuleBuilder.create();
suite.module('setObjects');
-suite.test('[A,B,C].setObjects([]) = > [] + notify', function() {
+suite.test('[A,B,C].setObjects([]) = > [] + notify', function(assert) {
let before = this.newFixture(3);
let after = [];
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(obj.setObjects(after), obj, 'return self');
+ assert.equal(obj.setObjects(after), obj, 'return self');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
});
-suite.test('[A,B,C].setObjects([D, E, F, G]) = > [D, E, F, G] + notify', function() {
+suite.test('[A,B,C].setObjects([D, E, F, G]) = > [D, E, F, G] + notify', function(assert) {
let before = this.newFixture(3);
let after = this.newFixture(4);
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(obj.setObjects(after), obj, 'return self');
+ assert.equal(obj.setObjects(after), obj, 'return self');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/shiftObject.js
|
@@ -5,66 +5,66 @@ const suite = SuiteModuleBuilder.create();
suite.module('shiftObject');
-suite.test('[].shiftObject() => [] + returns undefined + NO notify', function() {
+suite.test('[].shiftObject() => [] + returns undefined + NO notify', function(assert) {
let before = [];
let after = [];
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(obj.shiftObject(), undefined);
+ assert.equal(obj.shiftObject(), undefined);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.validate('[]', undefined, 1), false, 'should NOT have notified [] once');
- equal(observer.validate('@each', undefined, 1), false, 'should NOT have notified @each once');
- equal(observer.validate('length', undefined, 1), false, 'should NOT have notified length once');
+ assert.equal(observer.validate('[]', undefined, 1), false, 'should NOT have notified [] once');
+ assert.equal(observer.validate('@each', undefined, 1), false, 'should NOT have notified @each once');
+ assert.equal(observer.validate('length', undefined, 1), false, 'should NOT have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
});
-suite.test('[X].shiftObject() => [] + notify', function() {
+suite.test('[X].shiftObject() => [] + notify', function(assert) {
let before = this.newFixture(1);
let after = [];
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(obj.shiftObject(), before[0], 'should return object');
+ assert.equal(obj.shiftObject(), before[0], 'should return object');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
});
-suite.test('[A,B,C].shiftObject() => [B,C] + notify', function() {
+suite.test('[A,B,C].shiftObject() => [B,C] + notify', function(assert) {
let before = this.newFixture(3);
let after = [before[1], before[2]];
let obj = this.newObject(before);
let observer = this.newObserver(obj, '[]', '@each', 'length', 'firstObject', 'lastObject');
obj.getProperties('firstObject', 'lastObject'); /* Prime the cache */
- equal(obj.shiftObject(), before[0], 'should return object');
+ assert.equal(obj.shiftObject(), before[0], 'should return object');
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject once');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/unshiftObject.js
|
@@ -5,14 +5,14 @@ const suite = SuiteModuleBuilder.create();
suite.module('unshiftObject');
-suite.test('returns unshifted object', function() {
+suite.test('returns unshifted object', function(assert) {
let obj = this.newObject([]);
let item = this.newFixture(1)[0];
- equal(obj.unshiftObject(item), item, 'should return unshifted object');
+ assert.equal(obj.unshiftObject(item), item, 'should return unshifted object');
});
-suite.test('[].unshiftObject(X) => [X] + notify', function() {
+suite.test('[].unshiftObject(X) => [X] + notify', function(assert) {
let before = [];
let item = this.newFixture(1)[0];
let after = [item];
@@ -23,17 +23,17 @@ suite.test('[].unshiftObject(X) => [X] + notify', function() {
obj.unshiftObject(item);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
});
-suite.test('[A,B,C].unshiftObject(X) => [X,A,B,C] + notify', function() {
+suite.test('[A,B,C].unshiftObject(X) => [X,A,B,C] + notify', function(assert) {
let before = this.newFixture(3);
let item = this.newFixture(1)[0];
let after = [item, before[0], before[1], before[2]];
@@ -44,18 +44,18 @@ suite.test('[A,B,C].unshiftObject(X) => [X,A,B,C] + notify', function() {
obj.unshiftObject(item);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
});
-suite.test('[A,B,C].unshiftObject(A) => [A,A,B,C] + notify', function() {
+suite.test('[A,B,C].unshiftObject(A) => [A,A,B,C] + notify', function(assert) {
let before = this.newFixture(3);
let item = before[0]; // note same object as current head. should end up twice
let after = [item, before[0], before[1], before[2]];
@@ -66,15 +66,15 @@ suite.test('[A,B,C].unshiftObject(A) => [A,A,B,C] + notify', function() {
obj.unshiftObject(item);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), true, 'should have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('firstObject'), true, 'should have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_array/unshiftObjects.js
|
@@ -5,14 +5,14 @@ const suite = SuiteModuleBuilder.create();
suite.module('unshiftObjects');
-suite.test('returns receiver', function() {
+suite.test('returns receiver', function(assert) {
let obj = this.newObject([]);
let items = this.newFixture(3);
- equal(obj.unshiftObjects(items), obj, 'should return receiver');
+ assert.equal(obj.unshiftObjects(items), obj, 'should return receiver');
});
-suite.test('[].unshiftObjects([A,B,C]) => [A,B,C] + notify', function() {
+suite.test('[].unshiftObjects([A,B,C]) => [A,B,C] + notify', function(assert) {
let before = [];
let items = this.newFixture(3);
let obj = this.newObject(before);
@@ -22,17 +22,17 @@ suite.test('[].unshiftObjects([A,B,C]) => [A,B,C] + notify', function() {
obj.unshiftObjects(items);
- deepEqual(this.toArray(obj), items, 'post item results');
- equal(get(obj, 'length'), items.length, 'length');
+ assert.deepEqual(this.toArray(obj), items, 'post item results');
+ assert.equal(get(obj, 'length'), items.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
});
-suite.test('[A,B,C].unshiftObjects([X,Y]) => [X,Y,A,B,C] + notify', function() {
+suite.test('[A,B,C].unshiftObjects([X,Y]) => [X,Y,A,B,C] + notify', function(assert) {
let before = this.newFixture(3);
let items = this.newFixture(2);
let after = items.concat(before);
@@ -43,18 +43,18 @@ suite.test('[A,B,C].unshiftObjects([X,Y]) => [X,Y,A,B,C] + notify', function() {
obj.unshiftObjects(items);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
});
-suite.test('[A,B,C].unshiftObjects([A,B]) => [A,B,A,B,C] + notify', function() {
+suite.test('[A,B,C].unshiftObjects([A,B]) => [A,B,A,B,C] + notify', function(assert) {
let before = this.newFixture(3);
let items = [before[0], before[1]]; // note same object as current head. should end up twice
let after = items.concat(before);
@@ -65,15 +65,15 @@ suite.test('[A,B,C].unshiftObjects([A,B]) => [A,B,A,B,C] + notify', function() {
obj.unshiftObjects(items);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('@each'), 0, 'should not have notified @each once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_enumerable/addObject.js
|
@@ -5,14 +5,14 @@ const suite = SuiteModuleBuilder.create();
suite.module('addObject');
-suite.test('should return receiver', function() {
+suite.test('should return receiver', function(assert) {
let before = this.newFixture(3);
let obj = this.newObject(before);
- equal(obj.addObject(before[1]), obj, 'should return receiver');
+ assert.equal(obj.addObject(before[1]), obj, 'should return receiver');
});
-suite.test('[A,B].addObject(C) => [A,B,C] + notify', function() {
+suite.test('[A,B].addObject(C) => [A,B,C] + notify', function(assert) {
let before = this.newFixture(2);
let item = this.newFixture(1)[0];
let after = [before[0], before[1], item];
@@ -24,19 +24,19 @@ suite.test('[A,B].addObject(C) => [A,B,C] + notify', function() {
obj.addObject(item);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject once');
// This gets called since MutableEnumerable is naive about changes
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject once');
}
});
-suite.test('[A,B,C].addObject(A) => [A,B,C] + NO notify', function() {
+suite.test('[A,B,C].addObject(A) => [A,B,C] + NO notify', function(assert) {
let before = this.newFixture(3);
let after = before;
let item = before[0];
@@ -45,26 +45,26 @@ suite.test('[A,B,C].addObject(A) => [A,B,C] + NO notify', function() {
obj.addObject(item); // note: item in set
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.validate('[]'), false, 'should NOT have notified []');
- equal(observer.validate('length'), false, 'should NOT have notified length');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('[]'), false, 'should NOT have notified []');
+ assert.equal(observer.validate('length'), false, 'should NOT have notified length');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
}
});
-suite.test('Adding object should notify enumerable observer', function() {
+suite.test('Adding object should notify enumerable observer', function(assert) {
let obj = this.newObject(this.newFixture(3));
let observer = this.newObserver(obj).observeEnumerable(obj);
let item = this.newFixture(1)[0];
obj.addObject(item);
- deepEqual(observer._before, [obj, null, [item]]);
- deepEqual(observer._after, [obj, null, [item]]);
+ assert.deepEqual(observer._before, [obj, null, [item]]);
+ assert.deepEqual(observer._after, [obj, null, [item]]);
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_enumerable/removeObject.js
|
@@ -6,14 +6,14 @@ const suite = SuiteModuleBuilder.create();
suite.module('removeObject');
-suite.test('should return receiver', function() {
+suite.test('should return receiver', function(assert) {
let before = this.newFixture(3);
let obj = this.newObject(before);
- equal(obj.removeObject(before[1]), obj, 'should return receiver');
+ assert.equal(obj.removeObject(before[1]), obj, 'should return receiver');
});
-suite.test('[A,B,C].removeObject(B) => [A,C] + notify', function() {
+suite.test('[A,B,C].removeObject(B) => [A,C] + notify', function(assert) {
let before = emberA(this.newFixture(3));
let after = [before[0], before[2]];
let obj = before;
@@ -23,19 +23,19 @@ suite.test('[A,B,C].removeObject(B) => [A,C] + notify', function() {
obj.removeObject(before[1]);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
}
});
-suite.test('[A,B,C].removeObject(D) => [A,B,C]', function() {
+suite.test('[A,B,C].removeObject(D) => [A,B,C]', function(assert) {
let before = emberA(this.newFixture(3));
let after = before;
let item = this.newFixture(1)[0];
@@ -46,28 +46,28 @@ suite.test('[A,B,C].removeObject(D) => [A,B,C]', function() {
obj.removeObject(item); // Note: item not in set
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.validate('[]'), false, 'should NOT have notified []');
- equal(observer.validate('length'), false, 'should NOT have notified length');
+ assert.equal(observer.validate('[]'), false, 'should NOT have notified []');
+ assert.equal(observer.validate('length'), false, 'should NOT have notified length');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
}
});
-suite.test('Removing object should notify enumerable observer', function() {
+suite.test('Removing object should notify enumerable observer', function(assert) {
let fixtures = this.newFixture(3);
let obj = this.newObject(fixtures);
let observer = this.newObserver(obj).observeEnumerable(obj);
let item = fixtures[1];
obj.removeObject(item);
- deepEqual(observer._before, [obj, [item], null]);
- deepEqual(observer._after, [obj, [item], null]);
+ assert.deepEqual(observer._before, [obj, [item], null]);
+ assert.deepEqual(observer._after, [obj, [item], null]);
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/mutable_enumerable/removeObjects.js
|
@@ -6,14 +6,14 @@ const suite = SuiteModuleBuilder.create();
suite.module('removeObjects');
-suite.test('should return receiver', function() {
+suite.test('should return receiver', function(assert) {
let before = emberA(this.newFixture(3));
let obj = before;
- equal(obj.removeObjects(before[1]), obj, 'should return receiver');
+ assert.equal(obj.removeObjects(before[1]), obj, 'should return receiver');
});
-suite.test('[A,B,C].removeObjects([B]) => [A,C] + notify', function() {
+suite.test('[A,B,C].removeObjects([B]) => [A,C] + notify', function(assert) {
let before = emberA(this.newFixture(3));
let after = [before[0], before[2]];
let obj = before;
@@ -23,19 +23,19 @@ suite.test('[A,B,C].removeObjects([B]) => [A,C] + notify', function() {
obj.removeObjects([before[1]]);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
}
});
-suite.test('[{A},{B},{C}].removeObjects([{B}]) => [{A},{C}] + notify', function() {
+suite.test('[{A},{B},{C}].removeObjects([{B}]) => [{A},{C}] + notify', function(assert) {
let before = emberA(this.newObjectsFixture(3));
let after = [before[0], before[2]];
let obj = before;
@@ -45,19 +45,19 @@ suite.test('[{A},{B},{C}].removeObjects([{B}]) => [{A},{C}] + notify', function(
obj.removeObjects([before[1]]);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
}
});
-suite.test('[A,B,C].removeObjects([A,B]) => [C] + notify', function() {
+suite.test('[A,B,C].removeObjects([A,B]) => [C] + notify', function(assert) {
let before = emberA(this.newFixture(3));
let after = [before[2]];
let obj = before;
@@ -67,19 +67,19 @@ suite.test('[A,B,C].removeObjects([A,B]) => [C] + notify', function() {
obj.removeObjects([before[0], before[1]]);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
}
});
-suite.test('[{A},{B},{C}].removeObjects([{A},{B}]) => [{C}] + notify', function() {
+suite.test('[{A},{B},{C}].removeObjects([{A},{B}]) => [{C}] + notify', function(assert) {
let before = emberA(this.newObjectsFixture(3));
let after = [before[2]];
let obj = before;
@@ -89,19 +89,19 @@ suite.test('[{A},{B},{C}].removeObjects([{A},{B}]) => [{C}] + notify', function(
obj.removeObjects([before[0], before[1]]);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
}
});
-suite.test('[A,B,C].removeObjects([A,B,C]) => [] + notify', function() {
+suite.test('[A,B,C].removeObjects([A,B,C]) => [] + notify', function(assert) {
let before = emberA(this.newFixture(3));
let after = [];
let obj = before;
@@ -111,19 +111,19 @@ suite.test('[A,B,C].removeObjects([A,B,C]) => [] + notify', function() {
obj.removeObjects([before[0], before[1], before[2]]);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject');
- equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject');
+ assert.equal(observer.timesCalled('lastObject'), 1, 'should have notified lastObject');
}
});
-suite.test('[{A},{B},{C}].removeObjects([{A},{B},{C}]) => [] + notify', function() {
+suite.test('[{A},{B},{C}].removeObjects([{A},{B},{C}]) => [] + notify', function(assert) {
let before = emberA(this.newObjectsFixture(3));
let after = [];
let obj = before;
@@ -133,19 +133,19 @@ suite.test('[{A},{B},{C}].removeObjects([{A},{B},{C}]) => [] + notify', function
obj.removeObjects(before);
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
- equal(observer.timesCalled('length'), 1, 'should have notified length once');
+ assert.equal(observer.timesCalled('[]'), 1, 'should have notified [] once');
+ assert.equal(observer.timesCalled('length'), 1, 'should have notified length once');
- equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject');
- equal(observer.validate('lastObject'), 1, 'should have notified lastObject');
+ assert.equal(observer.timesCalled('firstObject'), 1, 'should have notified firstObject');
+ assert.equal(observer.validate('lastObject'), 1, 'should have notified lastObject');
}
});
-suite.test('[A,B,C].removeObjects([D]) => [A,B,C]', function() {
+suite.test('[A,B,C].removeObjects([D]) => [A,B,C]', function(assert) {
let before = emberA(this.newFixture(3));
let after = before;
let item = this.newFixture(1)[0];
@@ -156,28 +156,28 @@ suite.test('[A,B,C].removeObjects([D]) => [A,B,C]', function() {
obj.removeObjects([item]); // Note: item not in set
- deepEqual(this.toArray(obj), after, 'post item results');
- equal(get(obj, 'length'), after.length, 'length');
+ assert.deepEqual(this.toArray(obj), after, 'post item results');
+ assert.equal(get(obj, 'length'), after.length, 'length');
if (observer.isEnabled) {
- equal(observer.validate('[]'), false, 'should NOT have notified []');
- equal(observer.validate('length'), false, 'should NOT have notified length');
+ assert.equal(observer.validate('[]'), false, 'should NOT have notified []');
+ assert.equal(observer.validate('length'), false, 'should NOT have notified length');
- equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
- equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
+ assert.equal(observer.validate('firstObject'), false, 'should NOT have notified firstObject');
+ assert.equal(observer.validate('lastObject'), false, 'should NOT have notified lastObject');
}
});
-suite.test('Removing objects should notify enumerable observer', function() {
+suite.test('Removing objects should notify enumerable observer', function(assert) {
let fixtures = this.newFixture(3);
let obj = this.newObject(fixtures);
let observer = this.newObserver(obj).observeEnumerable(obj);
let item = fixtures[1];
obj.removeObjects([item]);
- deepEqual(observer._before, [obj, [item], null]);
- deepEqual(observer._after, [obj, [item], null]);
+ assert.deepEqual(observer._before, [obj, [item], null]);
+ assert.deepEqual(observer._after, [obj, [item], null]);
});
export default suite;
| true |
Other
|
emberjs
|
ember.js
|
cceca7ee192c8f034f6ddb09dcd2c8faf9de68bd.json
|
Upgrade "suites" to be QUnit 2 compat.
|
packages/ember-runtime/tests/suites/suite.js
|
@@ -73,15 +73,15 @@ Suite.reopenClass({
let title = get(this, 'name') + ': ' + desc;
let ctx = this;
QUnit.module(title, {
- beforeEach() {
+ beforeEach(assert) {
if (setup) {
- setup.call(ctx);
+ setup.call(ctx, assert);
}
},
- afterEach() {
+ afterEach(assert) {
if (teardown) {
- teardown.call(ctx);
+ teardown.call(ctx, assert);
}
}
});
| true |
Other
|
emberjs
|
ember.js
|
e8a0dba69acd454e8e830616fef751126cdcbc22.json
|
Remove tests for QUnit 1.x adapter.
|
packages/ember-testing/tests/adapters/qunit_test.js
|
@@ -4,57 +4,6 @@ import { moduleFor, AbstractTestCase } from 'internal-test-helpers';
var adapter;
-moduleFor('ember-testing QUnitAdapter: QUnit 1.x', class extends AbstractTestCase {
- constructor() {
- super();
- adapter = new QUnitAdapter();
- }
-
- teardown() {
- run(adapter, adapter.destroy);
- }
-
- ['@test asyncStart calls stop'](assert) {
- var originalStop = QUnit.stop;
- try {
- QUnit.stop = function() {
- assert.ok(true, 'stop called');
- };
- adapter.asyncStart();
- } finally {
- QUnit.stop = originalStop;
- }
- }
-
- ['@test asyncEnd calls start'](assert) {
- var originalStart = QUnit.start;
- try {
- QUnit.start = function() {
- assert.ok(true, 'start called');
- };
- adapter.asyncEnd();
- } finally {
- QUnit.start = originalStart;
- }
- }
-
- ['@test exception causes a failing assertion'](assert) {
- var error = { err: 'hai' };
- let originalPushResult = assert.pushResult;
- try {
- assert.pushResult = function (resultInfo) {
- // Inverts the result so we can test failing assertions
- resultInfo.result = !resultInfo.result;
- resultInfo.message = `Failed: ${resultInfo.message}`;
- originalPushResult(resultInfo);
- };
- adapter.exception(error);
- } finally {
- assert.pushResult = originalPushResult;
- }
- }
-});
-
moduleFor('ember-testing QUnitAdapter: QUnit 2.x', class extends AbstractTestCase {
constructor() {
super();
| false |
Other
|
emberjs
|
ember.js
|
b5cfcf55875770c4d917854459e753c134332e5f.json
|
Update node tests to be QUnit 2 compatible.
|
tests/node/app-boot-test.js
|
@@ -9,7 +9,7 @@ QUnit.test("App boots and routes to a URL", function(assert) {
assert.ok(this.app);
});
-QUnit.test("nested {{component}}", function() {
+QUnit.test("nested {{component}}", function(assert) {
this.template('index', "{{root-component}}");
this.template('components/root-component', "\
@@ -27,22 +27,22 @@ QUnit.test("nested {{component}}", function() {
");
return this.renderToHTML('/').then(function(html) {
- assertHTMLMatches(html, '<body><div id="EMBER_ID" class="ember-view"><div id="EMBER_ID" class="ember-view"><h1>Hello World</h1><div><div id="EMBER_ID" class="ember-view"><p>The files are *inside* the computer?!</p></div></div></div></div></body>');
+ assertHTMLMatches(assert, html, '<body><div id="EMBER_ID" class="ember-view"><div id="EMBER_ID" class="ember-view"><h1>Hello World</h1><div><div id="EMBER_ID" class="ember-view"><p>The files are *inside* the computer?!</p></div></div></div></div></body>');
});
});
-QUnit.test("{{link-to}}", function() {
+QUnit.test("{{link-to}}", function(assert) {
this.template('application', "<h1>{{#link-to 'photos'}}Go to photos{{/link-to}}</h1>");
this.routes(function() {
this.route('photos');
});
return this.renderToHTML('/').then(function(html) {
- assertHTMLMatches(html, '<body><div id="EMBER_ID" class="ember-view"><h1><a id="EMBER_ID" href="/photos" class="ember-view">Go to photos</a><\/h1></div></body>');
+ assertHTMLMatches(assert, html, '<body><div id="EMBER_ID" class="ember-view"><h1><a id="EMBER_ID" href="/photos" class="ember-view">Go to photos</a><\/h1></div></body>');
});
});
-QUnit.test("non-escaped content", function() {
+QUnit.test("non-escaped content", function(assert) {
this.routes(function() {
this.route('photos');
});
@@ -53,11 +53,11 @@ QUnit.test("non-escaped content", function() {
});
return this.renderToHTML('/').then(function(html) {
- assertHTMLMatches(html, '<body><div id="EMBER_ID" class="ember-view"><h1><b>Hello world</b></h1></div></body>');
+ assertHTMLMatches(assert, html, '<body><div id="EMBER_ID" class="ember-view"><h1><b>Hello world</b></h1></div></body>');
});
});
-QUnit.test("outlets", function() {
+QUnit.test("outlets", function(assert) {
this.routes(function() {
this.route('photos');
});
@@ -68,11 +68,11 @@ QUnit.test("outlets", function() {
var promises = [];
promises.push(this.renderToHTML('/').then(function(html) {
- assertHTMLMatches(html, '<body><div id="EMBER_ID" class="ember-view"><p><span>index</span></p></div></body>');
+ assertHTMLMatches(assert, html, '<body><div id="EMBER_ID" class="ember-view"><p><span>index</span></p></div></body>');
}));
promises.push(this.renderToHTML('/photos').then(function(html) {
- assertHTMLMatches(html, '<body><div id="EMBER_ID" class="ember-view"><p><em>photos</em></p></div></body>');
+ assertHTMLMatches(assert, html, '<body><div id="EMBER_ID" class="ember-view"><p><em>photos</em></p></div></body>');
}));
return this.all(promises);
@@ -111,6 +111,6 @@ QUnit.test("Should not attempt to render element modifiers GH#14220", function(a
return this.renderToHTML('/')
.then(function(html) {
- assertHTMLMatches(html, '<body><div id="EMBER_ID" class="ember-view"><div></div></div></body>');
+ assertHTMLMatches(assert, html, '<body><div id="EMBER_ID" class="ember-view"><div></div></div></body>');
});
});
| true |
Other
|
emberjs
|
ember.js
|
b5cfcf55875770c4d917854459e753c134332e5f.json
|
Update node tests to be QUnit 2 compatible.
|
tests/node/helpers/assert-html-matches.js
|
@@ -11,10 +11,15 @@ var htmlDiffer = new HtmlDiffer(diffOptions);
* ignore whitespace and certain attributes values, such as IDs, which Ember
* auto-generates. Attribute ordering is also ignored.
*/
-function assertHTMLMatches(actual, expected, message) {
+function assertHTMLMatches(assert, actual, expected, message) {
var isEqual = htmlDiffer.isEqual(actual, expected);
- QUnit.push(isEqual, actual, expected, message);
+ assert.pushResult({
+ result: isEqual,
+ actual,
+ expected,
+ message
+ });
}
module.exports = assertHTMLMatches;
| true |
Other
|
emberjs
|
ember.js
|
b5cfcf55875770c4d917854459e753c134332e5f.json
|
Update node tests to be QUnit 2 compatible.
|
tests/node/template-compiler-test.js
|
@@ -9,11 +9,11 @@ var test = QUnit.test;
var templateCompiler;
module('ember-template-compiler.js', {
- setup: function() {
+ beforeEach: function() {
templateCompiler = require(templateCompilerPath);
},
- teardown: function() {
+ afterEach: function() {
// clear the previously cached version of this module
delete require.cache[templateCompilerPath + '.js'];
}
| true |
Other
|
emberjs
|
ember.js
|
e071537003b2e12655cadd0765ea3616b0312304.json
|
Remove QUnit monkey patches.
|
tests/index.html
|
@@ -128,21 +128,6 @@
window.EmberDev = window.EmberDev || {};
EmberDev.runningProdBuild = !!QUnit.urlParams.prod;
- // hack qunit to not suck for Ember objects
- var originalTypeof = QUnit.jsDump.typeOf;
-
- QUnit.jsDump.typeOf = function(obj) {
- if (Ember && Ember.Object && Ember.Object.detectInstance(obj)) {
- return "emberObject";
- }
-
- return originalTypeof.call(this, obj);
- };
-
- QUnit.jsDump.parsers.emberObject = function(obj) {
- return obj.toString();
- };
-
var EmberDevTestHelperAssert = window.Ember.__loader.require('internal-test-helpers/ember-dev/index')['default'];
var setupQUnit = window.Ember.__loader.require('internal-test-helpers/ember-dev/setup-qunit')['default'];
var debugModule = window.Ember.__loader.require('ember-debug');
| false |
Other
|
emberjs
|
ember.js
|
e4f08b41f2b45f4970cbbe822d5a7079d7498bb8.json
|
Remove usages of asyncTest.
|
packages/ember/tests/routing/basic_test.js
|
@@ -405,42 +405,6 @@ QUnit.test('The loading state doesn\'t get entered for promises that resolve on
assert.equal(jQuery('p', '#qunit-fixture').text(), '1', 'The app is now in the specials state');
});
-/*
-asyncTest("The Special page returning an error fires the error hook on SpecialRoute", function(assert) {
- Router.map(function() {
- this.route("home", { path: "/" });
- this.route("special", { path: "/specials/:menu_item_id" });
- });
-
- let menuItem;
-
- App.MenuItem = Ember.Object.extend();
- App.MenuItem.reopenClass({
- find: function(id) {
- menuItem = App.MenuItem.create({ id: id });
- run.later(function() { menuItem.resolve(menuItem); }, 1);
- return menuItem;
- }
- });
-
- App.SpecialRoute = Route.extend({
- setup: function() {
- throw 'Setup error';
- },
- actions: {
- error: function(reason) {
- equal(reason, 'Setup error');
- QUnit.start();
- }
- }
- });
-
- bootApplication();
-
- handleURLRejectsWith(assert, '/specials/1', 'Setup error');
-});
-*/
-
QUnit.test('The Special page returning an error invokes SpecialRoute\'s error handler', function(assert) {
Router.map(function() {
this.route('home', { path: '/' });
@@ -523,8 +487,9 @@ QUnit.test('ApplicationRoute\'s default error handler can be overridden', functi
run(() => resolve(menuItem));
});
-QUnit.asyncTest('Moving from one page to another triggers the correct callbacks', function(assert) {
+QUnit.test('Moving from one page to another triggers the correct callbacks', function(assert) {
assert.expect(3);
+ let done = assert.async();
Router.map(function() {
this.route('home', { path: '/' });
@@ -563,12 +528,13 @@ QUnit.asyncTest('Moving from one page to another triggers the correct callbacks'
return router.transitionTo('special', promiseContext);
}).then(function() {
assert.deepEqual(router.location.path, '/specials/1');
- QUnit.start();
+ done();
});
});
});
-QUnit.asyncTest('Nested callbacks are not exited when moving to siblings', function(assert) {
+QUnit.test('Nested callbacks are not exited when moving to siblings', function(assert) {
+ let done = assert.async();
Router.map(function() {
this.route('root', { path: '/' }, function() {
this.route('special', { path: '/specials/:menu_item_id', resetNamespace: true });
@@ -671,12 +637,14 @@ QUnit.asyncTest('Nested callbacks are not exited when moving to siblings', funct
assert.deepEqual(router.location.path, '/specials/1');
assert.equal(currentPath, 'root.special');
- QUnit.start();
+ done();
});
});
});
-QUnit.asyncTest('Events are triggered on the controller if a matching action name is implemented', function(assert) {
+QUnit.test('Events are triggered on the controller if a matching action name is implemented', function(assert) {
+ let done = assert.async();
+
Router.map(function() {
this.route('home', { path: '/' });
});
@@ -705,7 +673,7 @@ QUnit.asyncTest('Events are triggered on the controller if a matching action nam
showStuff(context) {
assert.ok(stateIsNotCalled, 'an event on the state is not triggered');
assert.deepEqual(context, { name: 'Tom Dale' }, 'an event with context is passed');
- QUnit.start();
+ done();
}
}
});
@@ -717,7 +685,8 @@ QUnit.asyncTest('Events are triggered on the controller if a matching action nam
jQuery('#qunit-fixture a').click();
});
-QUnit.asyncTest('Events are triggered on the current state when defined in `actions` object', function(assert) {
+QUnit.test('Events are triggered on the current state when defined in `actions` object', function(assert) {
+ let done = assert.async();
Router.map(function() {
this.route('home', { path: '/' });
});
@@ -734,7 +703,7 @@ QUnit.asyncTest('Events are triggered on the current state when defined in `acti
assert.ok(this instanceof App.HomeRoute, 'the handler is an App.HomeRoute');
// Using Ember.copy removes any private Ember vars which older IE would be confused by
assert.deepEqual(copy(obj, true), { name: 'Tom Dale' }, 'the context is correct');
- QUnit.start();
+ done();
}
}
});
@@ -748,7 +717,9 @@ QUnit.asyncTest('Events are triggered on the current state when defined in `acti
jQuery('#qunit-fixture a').click();
});
-QUnit.asyncTest('Events defined in `actions` object are triggered on the current state when routes are nested', function(assert) {
+QUnit.test('Events defined in `actions` object are triggered on the current state when routes are nested', function(assert) {
+ let done = assert.async();
+
Router.map(function() {
this.route('root', { path: '/' }, function() {
this.route('index', { path: '/' });
@@ -763,7 +734,7 @@ QUnit.asyncTest('Events defined in `actions` object are triggered on the current
assert.ok(this instanceof App.RootRoute, 'the handler is an App.HomeRoute');
// Using Ember.copy removes any private Ember vars which older IE would be confused by
assert.deepEqual(copy(obj, true), { name: 'Tom Dale' }, 'the context is correct');
- QUnit.start();
+ done();
}
}
});
@@ -821,7 +792,9 @@ QUnit.test('Events can be handled by inherited event handlers', function(assert)
router.send('baz');
});
-QUnit.asyncTest('Actions are not triggered on the controller if a matching action name is implemented as a method', function(assert) {
+QUnit.test('Actions are not triggered on the controller if a matching action name is implemented as a method', function(assert) {
+ let done = assert.async();
+
Router.map(function() {
this.route('home', { path: '/' });
});
@@ -838,7 +811,7 @@ QUnit.asyncTest('Actions are not triggered on the controller if a matching actio
showStuff(context) {
assert.ok(stateIsNotCalled, 'an event on the state is not triggered');
assert.deepEqual(context, { name: 'Tom Dale' }, 'an event with context is passed');
- QUnit.start();
+ done();
}
}
});
@@ -861,7 +834,8 @@ QUnit.asyncTest('Actions are not triggered on the controller if a matching actio
jQuery('#qunit-fixture a').click();
});
-QUnit.asyncTest('actions can be triggered with multiple arguments', function(assert) {
+QUnit.test('actions can be triggered with multiple arguments', function(assert) {
+ let done = assert.async();
Router.map(function() {
this.route('root', { path: '/' }, function() {
this.route('index', { path: '/' });
@@ -878,7 +852,7 @@ QUnit.asyncTest('actions can be triggered with multiple arguments', function(ass
// Using Ember.copy removes any private Ember vars which older IE would be confused by
assert.deepEqual(copy(obj1, true), { name: 'Tilde' }, 'the first context is correct');
assert.deepEqual(copy(obj2, true), { name: 'Tom Dale' }, 'the second context is correct');
- QUnit.start();
+ done();
}
}
});
| false |
Other
|
emberjs
|
ember.js
|
69b95f515642b10110076ebdd37ab6a04a69d32c.json
|
Use primitive reference for static class names
Using just a string is not enough because operations.setAttribute
expects a reference, not a primitive
|
packages/ember-glimmer/lib/utils/bindings.ts
|
@@ -173,8 +173,7 @@ export const ClassNameBinding = {
let isStatic = prop === '';
if (isStatic) {
- operations.setAttribute('class', truthy, true, null);
- // operations.addStaticAttribute(element, 'class', truthy);
+ operations.setAttribute('class', PrimitiveReference.create(truthy), true, null);
} else {
let isPath = prop.indexOf('.') > -1;
let parts = isPath ? prop.split('.') : [];
| false |
Other
|
emberjs
|
ember.js
|
1327a9661a1343c283f5e543e1f48e0afcc1ed76.json
|
Add codeclimate config
|
.codeclimate.yml
|
@@ -0,0 +1,33 @@
+version: "2"
+checks:
+ argument-count:
+ config:
+ threshold: 4
+ complex-logic:
+ config:
+ threshold: 4
+ file-lines:
+ enabled: false
+ method-complexity:
+ config:
+ threshold: 5
+ method-count:
+ enabled: false
+ method-lines:
+ config:
+ threshold: 25
+ nested-control-flow:
+ config:
+ threshold: 4
+ return-statements:
+ config:
+ threshold: 4
+ similar-code:
+ enabled: true
+ identical-code:
+ config:
+ threshold: # language-specific defaults. an override will affect all languages.
+exclude_patterns:
+ - "blueprints/**"
+ - "**/tests/**"
+ - "**/node-tests/**"
| false |
Other
|
emberjs
|
ember.js
|
f5b1875ce909a6122f6cd3cb2b6abd9760e02372.json
|
Give credit to BrowserStack in Readme
|
README.md
|
@@ -23,3 +23,9 @@ Ember.js also provides access to the most advanced features of JavaScript, HTML
# Contribution
See [CONTRIBUTING.md](https://github.com/emberjs/ember.js/blob/master/CONTRIBUTING.md)
+
+---
+
+Cross-browser testing provided by:
+
+<a href="http://browserstack.com"><img height="70" src="https://p3.zdusercontent.com/attachment/1015988/PWfFdN71Aung2evRkIVQuKJpE?token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2In0..aUrNFb8clSXsFwgw5BUTcg.IJr5piuCen7PmSSBHSrOnqM9K5YZfxX3lvbp-5LCqoKOi4CjjgdA419iqjofs0nLtm26FMURvZ8JRTuKB4iHer6lGu5f8dXHtIkYAHjP5fXDWkl044Yg2mSdrhF6uPy62GdlBYoYxwvgkNrac8nN_In8GY-qOC7bYmlZyJT7tsTZUTYbNMQiXS86YA5LgdCEWzWreMvc3C6cvZtVXIrcVgpkroIhvsTQPm4vQA-Uq6iCbTPA4oX5cpEtMtrlg4jYBnnAE4BTw5UwU_dY83ep5g.7wpc1IKv0rSRGsvqCG_q3g" alt="BrowserStack"></a>
| false |
Other
|
emberjs
|
ember.js
|
e8d57fa726dc79cf1868e94a84808ee34db3716d.json
|
Add browserstack credentials
|
.travis.yml
|
@@ -44,6 +44,8 @@ branches:
env:
global:
+ - BROWSERSTACK_USERNAME=emberjscoreteam1
+ - BROWSERSTACK_ACCESS_KEY=YsPxXKcahx9XszyHS2Gr
- DISABLE_SOURCE_MAPS=true
- BROCCOLI_ENV=production
- S3_BUCKET_NAME=builds.emberjs.com
| false |
Other
|
emberjs
|
ember.js
|
63e19eb79ddb6c6fe9df9c1c7e43caf1629c32d8.json
|
Update getTag to actually get a useful tag
|
packages/ember-glimmer/lib/component-managers/curly.ts
|
@@ -8,6 +8,7 @@ import {
} from '@glimmer/interfaces';
import { ParsedLayout, TemplateOptions, WrappedBuilder } from '@glimmer/opcode-compiler';
import {
+ combine,
combineTagged,
Tag,
VersionedPathReference,
@@ -436,8 +437,9 @@ export default class CurlyComponentManager extends AbstractManager<ComponentStat
}
}
- getTag({ component }: ComponentStateBucket): Tag {
- return component[DIRTY_TAG];
+ getTag({ args, component }: ComponentStateBucket): Tag {
+ return args ? combine([args.tag, component[DIRTY_TAG]]) :
+ component[DIRTY_TAG];
}
didCreate({ component, environment }: ComponentStateBucket): void {
| false |
Other
|
emberjs
|
ember.js
|
9c329597ab21f032b95c80e2a5033fe6cb4284fc.json
|
Use latest testem
- Update passing of custom reporter to testem to reflect changes in
https://github.com/testem/testem/pull/1148
|
package.json
|
@@ -122,7 +122,7 @@
"serve-static": "^1.12.2",
"simple-dom": "^0.3.0",
"simple-html-tokenizer": "^0.4.1",
- "testem": "1.15.0",
+ "testem": "^1.18.4",
"tslint": "^5.8.0"
},
"ember-addon": {
| true |
Other
|
emberjs
|
ember.js
|
9c329597ab21f032b95c80e2a5033fe6cb4284fc.json
|
Use latest testem
- Update passing of custom reporter to testem to reflect changes in
https://github.com/testem/testem/pull/1148
|
testem.travis-browsers.js
|
@@ -33,5 +33,5 @@ module.exports = {
launch_in_ci: [
'Firefox',
],
- reporter: new FailureOnlyReporter()
+ reporter: FailureOnlyReporter
};
| true |
Other
|
emberjs
|
ember.js
|
9c329597ab21f032b95c80e2a5033fe6cb4284fc.json
|
Use latest testem
- Update passing of custom reporter to testem to reflect changes in
https://github.com/testem/testem/pull/1148
|
yarn.lock
|
@@ -1902,7 +1902,7 @@ crc@^3.4.4:
version "3.4.4"
resolved "https://registry.yarnpkg.com/crc/-/crc-3.4.4.tgz#9da1e980e3bd44fc5c93bf5ab3da3378d85e466b"
-cross-spawn@^5.0.0:
+cross-spawn@^5.0.0, cross-spawn@^5.1.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
dependencies:
@@ -4217,6 +4217,10 @@ lodash.uniq@^4.2.0, lodash.uniq@^4.5.0, lodash.uniq@~4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
+lodash.uniqby@^4.7.0:
+ version "4.7.0"
+ resolved "https://registry.yarnpkg.com/lodash.uniqby/-/lodash.uniqby-4.7.0.tgz#d99c07a669e9e6d24e1362dfe266c67616af1302"
+
lodash.without@~4.4.0:
version "4.4.0"
resolved "https://registry.yarnpkg.com/lodash.without/-/lodash.without-4.4.0.tgz#3cd4574a00b67bae373a94b748772640507b7aac"
@@ -6036,7 +6040,38 @@ testdouble@^3.2.6:
resolve "^1.3.3"
stringify-object-es5 "^2.5.0"
[email protected], testem@^1.8.1:
+testem@^1.18.4:
+ version "1.18.4"
+ resolved "https://registry.yarnpkg.com/testem/-/testem-1.18.4.tgz#e45fed922bec2f54a616c43f11922598ac97eb41"
+ dependencies:
+ backbone "^1.1.2"
+ bluebird "^3.4.6"
+ charm "^1.0.0"
+ commander "^2.6.0"
+ consolidate "^0.14.0"
+ cross-spawn "^5.1.0"
+ express "^4.10.7"
+ fireworm "^0.7.0"
+ glob "^7.0.4"
+ http-proxy "^1.13.1"
+ js-yaml "^3.2.5"
+ lodash.assignin "^4.1.0"
+ lodash.clonedeep "^4.4.1"
+ lodash.find "^4.5.1"
+ lodash.uniqby "^4.7.0"
+ mkdirp "^0.5.1"
+ mustache "^2.2.1"
+ node-notifier "^5.0.1"
+ npmlog "^4.0.0"
+ printf "^0.2.3"
+ rimraf "^2.4.4"
+ socket.io "1.6.0"
+ spawn-args "^0.2.0"
+ styled_string "0.0.1"
+ tap-parser "^5.1.0"
+ xmldom "^0.1.19"
+
+testem@^1.8.1:
version "1.15.0"
resolved "https://registry.yarnpkg.com/testem/-/testem-1.15.0.tgz#2e3a9e7ac29f16a20f718eb0c4b12e7a44900675"
dependencies:
| true |
Other
|
emberjs
|
ember.js
|
2702d8156624ae7506cd5077ca26ad7222e46415.json
|
Allow prerelease tags to trigger CI builds.
[ci skip]
|
.travis.yml
|
@@ -36,7 +36,7 @@ branches:
- beta
- stable
# npm version tags
- - /^v\d+\.\d+\.\d+$/
+ - /^v\d+\.\d+\.\d+/
env:
global:
| false |
Other
|
emberjs
|
ember.js
|
cf41205ad8c4820d6984ef45adac4f89b748467d.json
|
Prepare CHANGELOG for 2.18.0.
(cherry picked from commit e2ae732967fe841654f9ed43928efcfba6a9882b)
[ci skip]
|
CHANGELOG.md
|
@@ -1,25 +1,16 @@
# Ember Changelog
-### 2.18.0-beta.5 (December 27, 2017)
-- [#15952](https://github.com/emberjs/ember.js/pull/15952) [BUGFIX] fix regression of clicking link-to with disabled=true
+### 2.18.0 (January 1, 2018)
-### 2.18.0-beta.4 (December 19, 2017)
+- [95b449](https://github.com/emberjs/ember.js/commit/95b4499b3667712a202bef834268e23867fc8842) [BUGFIX] Ensure `Ember.run.cancel` while the run loop is flushing works properly.
+- [#15952](https://github.com/emberjs/ember.js/pull/15952) [BUGFIX] fix regression of clicking link-to with disabled=true
- [#15982](https://github.com/emberjs/ember.js/pull/15982) [BUGFIX] Fix issue with unchaining ChainNodes (again)
-
-### 2.18.0-beta.3 (December 12, 2017)
-
- [#15924](https://github.com/emberjs/ember.js/pull/15924) / [#15940](https://github.com/emberjs/ember.js/pull/15940) [BUGFIX] Assert that `classNameBinding` items are non-empty strings
- [#15927](https://github.com/emberjs/ember.js/pull/15927) [BUGFIX] Extend test framework detection to `ember-qunit` and `ember-mocha`
- [#15935](https://github.com/emberjs/ember.js/pull/15935) [BUGFIX] Fix framework detection in blueprints to work with prerelease versions of ember-cli-mocha
-
-### 2.18.0-beta.2 (December 4, 2017)
-
- [#15902](https://github.com/emberjs/ember.js/pull/15902) [BUGFIX] Fix link-to throwing in integration tests
- [#15905](https://github.com/emberjs/ember.js/pull/15905) [BUGFIX] Improve error message when calling `inject()`.
- [#15919](https://github.com/emberjs/ember.js/pull/15919) [BUGFIX] Upgrade Backburner.js to v1.3.3, fixing an issue canceling tasks scheduled by scheduleOnce.
-
-### 2.18.0-beta.1 (November 29, 2017)
-
- [#14590](https://github.com/emberjs/ember.js/pull/14590) [DEPRECATION] Deprecate using `targetObject`.
- [#15754](https://github.com/emberjs/ember.js/pull/15754) [CLEANUP] Remove `router.router` deprecation.
| false |
Other
|
emberjs
|
ember.js
|
eccb77d292980dd71ee02631d66b00a342c66588.json
|
Publish tarballs to S3 for channel builds.
For a single commit to master, would result in the following tarballs:
```
http://builds.emberjs.com/canary.tgz
http://builds.emberjs.com/canary/daily/20180101.tgz
http://builds.emberjs.com/canary/shas/SOMESHAHERE.tgz
```
|
config/s3ProjectConfig.js
|
@@ -1,5 +1,9 @@
+'use strict';
+
+const semver = require('semver');
+
function fileMap(revision, tag, date) {
- return {
+ let filesToPublish = {
"ember.debug.js": fileObject("ember.debug", ".js", "text/javascript", revision, tag, date),
"ember-testing.js": fileObject("ember-testing", ".js", "text/javascript", revision, tag, date),
"ember-tests.js": fileObject("ember-tests", ".js", "text/javascript", revision, tag, date),
@@ -14,6 +18,37 @@ function fileMap(revision, tag, date) {
"composer.json": fileObject("composer", ".json", "application/json", revision, tag, date),
"package.json": fileObject("package", ".json", "application/json", revision, tag, date),
};
+
+ let version = require('../package').version;
+ // semver.parse(...).version drops the `+build-info-metadata` stuff
+ let sanitizedVersion = semver.parse(version).version;
+ filesToPublish[`../ember-source-${sanitizedVersion}.tgz`] = {
+ contentType: 'application/x-gzip',
+ destinations: {
+ 'alpha': [
+ `alpha.tgz`,
+ `alpha/daily/${date}.tgz`,
+ `alpha/shas/${revision}.tgz`,
+ ],
+ 'canary': [
+ `canary.tgz`,
+ `canary/daily/${date}.tgz`,
+ `canary/shas/${revision}.tgz`,
+ ],
+ 'beta': [
+ `beta.tgz`,
+ `beta/daily/${date}.tgz`,
+ `beta/shas/${revision}.tgz`,
+ ],
+ 'release': [
+ `release.tgz`,
+ `release/daily/${date}.tgz`,
+ `release/shas/${revision}.tgz`,
+ ],
+ }
+ };
+
+ return filesToPublish;
}
function fileObject(baseName, extension, contentType, currentRevision, tag, date) {
| false |
Other
|
emberjs
|
ember.js
|
7f97511a034dccf140a39127bd6a93bf8ceb0a7b.json
|
Remove this.resource from RouterDSL
|
packages/ember-routing/lib/index.d.ts
|
@@ -71,7 +71,6 @@ export class RouterDSL {
constructor(name: string, options: any);
route(name: string, options: any, callback: ()=>any): void;
push(url: string, name: string, callback: ()=>any, serialize: ()=>any): void;
- resource(name: string, options: any, callback: ()=>any): void;
genearte(): (match: any) => void;
mount(_name: string, options: any): void;
}
| true |
Other
|
emberjs
|
ember.js
|
7f97511a034dccf140a39127bd6a93bf8ceb0a7b.json
|
Remove this.resource from RouterDSL
|
packages/ember-routing/lib/system/dsl.js
|
@@ -1,5 +1,5 @@
import { assign } from 'ember-utils';
-import { assert, deprecate } from 'ember-debug';
+import { assert } from 'ember-debug';
let uuid = 0;
@@ -66,17 +66,6 @@ class DSL {
this.matches.push(url, name, callback);
}
- resource(name, options = {}, callback) {
- if (arguments.length === 2 && typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- options.resetNamespace = true;
- deprecate('this.resource() is deprecated. Use this.route(\'name\', { resetNamespace: true }, function () {}) instead.', false, { id: 'ember-routing.router-resource', until: '3.0.0' });
- this.route(name, options, callback);
- }
-
generate() {
let dslMatches = this.matches;
| true |
Other
|
emberjs
|
ember.js
|
7f97511a034dccf140a39127bd6a93bf8ceb0a7b.json
|
Remove this.resource from RouterDSL
|
packages/ember-routing/tests/system/dsl_test.js
|
@@ -15,10 +15,9 @@ moduleFor('Ember Router DSL', class extends AbstractTestCase {
}
['@test should fail when using a reserved route name'](assert) {
- expectDeprecation('this.resource() is deprecated. Use this.route(\'name\', { resetNamespace: true }, function () {}) instead.');
let reservedNames = ['array', 'basic', 'object', 'application'];
- assert.expect((reservedNames.length * 2) + 1);
+ assert.expect(reservedNames.length);
reservedNames.forEach(reservedName => {
expectAssertion(() => {
@@ -31,37 +30,7 @@ moduleFor('Ember Router DSL', class extends AbstractTestCase {
let router = Router.create();
router._initRouterJs();
}, '\'' + reservedName + '\' cannot be used as a route name.');
-
- expectAssertion(() => {
- Router = EmberRouter.extend();
-
- Router.map(function() {
- this.resource(reservedName);
- });
-
- let router = Router.create();
- router._initRouterJs();
- }, `'${reservedName}' cannot be used as a route name.`);
- });
- }
-
- ['@test should reset namespace if nested with resource'](assert) {
- expectDeprecation('this.resource() is deprecated. Use this.route(\'name\', { resetNamespace: true }, function () {}) instead.');
-
- Router = Router.map(function() {
- this.resource('bleep', function() {
- this.resource('bloop', function() {
- this.resource('blork');
- });
- });
});
-
- let router = Router.create();
- router._initRouterJs();
-
- assert.ok(router._routerMicrolib.recognizer.names['bleep'], 'nested resources do not contain parent name');
- assert.ok(router._routerMicrolib.recognizer.names['bloop'], 'nested resources do not contain parent name');
- assert.ok(router._routerMicrolib.recognizer.names['blork'], 'nested resources do not contain parent name');
}
['@test should retain resource namespace if nested with routes'](assert) {
| true |
Other
|
emberjs
|
ember.js
|
efb900ae302f9bdecb7ebdfbe13f84c3882cb704.json
|
Add *.tgz to .gitignore
|
.gitignore
|
@@ -40,3 +40,5 @@ bower_components/
npm-debug.log
.ember-cli
DEBUG/
+*.tgz
+*.tar.gz
| false |
Other
|
emberjs
|
ember.js
|
b94109a244270d65bd865032117c421fc1e71227.json
|
Fix version number generation.
Will no longer include `-null`.
|
broccoli/version.js
|
@@ -11,7 +11,8 @@ module.exports.VERSION = (() => {
let packageVersion = require('../package.json').version;
let sha = info.sha || '';
- let prefix = `${packageVersion}-${(process.env.BUILD_TYPE || info.branch)}`;
+ let suffix = process.env.BUILD_TYPE || info.branch;
+ let metadata = sha.slice(0, 8);
- return `${prefix}+${sha.slice(0, 8)}`;
+ return `${packageVersion}${suffix ? '-' + suffix : ''}+${metadata}`;
})();
| false |
Other
|
emberjs
|
ember.js
|
b9a40bb59e0684134a7370ac0ec8455de3f6327e.json
|
Apply some feedback
|
packages/ember-testing/tests/ext/rsvp_test.js
|
@@ -18,11 +18,9 @@ moduleFor('ember-testing RSVP', class extends AbstractTestCase {
setAdapter({
asyncStart() {
asyncStarted++;
- QUnit.stop();
},
asyncEnd() {
asyncEnded++;
- QUnit.start();
}
});
}
@@ -35,6 +33,7 @@ moduleFor('ember-testing RSVP', class extends AbstractTestCase {
}
['@test given `Ember.testing = true`, correctly informs the test suite about async steps'](assert) {
+ let done = assert.async();
assert.expect(19);
assert.ok(!run.currentRunLoop, 'expect no run-loop');
@@ -44,9 +43,7 @@ moduleFor('ember-testing RSVP', class extends AbstractTestCase {
assert.equal(asyncStarted, 0);
assert.equal(asyncEnded, 0);
- let user = RSVP.Promise.resolve({
- name: 'tomster'
- });
+ let user = RSVP.Promise.resolve({ name: 'tomster' });
assert.equal(asyncStarted, 0);
assert.equal(asyncEnded, 0);
@@ -66,16 +63,11 @@ moduleFor('ember-testing RSVP', class extends AbstractTestCase {
assert.equal(asyncEnded, 1);
return new RSVP.Promise(function(resolve) {
- QUnit.stop(); // raw async, we must inform the test framework manually
setTimeout(function() {
- QUnit.start(); // raw async, we must inform the test framework manually
-
assert.equal(asyncStarted, 1);
assert.equal(asyncEnded, 1);
- resolve({
- name: 'async tomster'
- });
+ resolve({ name: 'async tomster' });
assert.equal(asyncStarted, 2);
assert.equal(asyncEnded, 1);
@@ -85,9 +77,9 @@ moduleFor('ember-testing RSVP', class extends AbstractTestCase {
assert.equal(user.name, 'async tomster');
assert.equal(asyncStarted, 2);
assert.equal(asyncEnded, 2);
+ done();
});
}
-
});
| false |
Other
|
emberjs
|
ember.js
|
a54a5e30c8b129ffa2fd0f094456d67a20ddf4c0.json
|
Add 2.18.0-beta.5 to CHANGELOG
[ci skip]
(cherry picked from commit ca040bdd5b420661b812fa9c36ded1229cf01b11)
|
CHANGELOG.md
|
@@ -1,5 +1,8 @@
# Ember Changelog
+### 2.18.0-beta.5 (December 27, 2017)
+- [#15952](https://github.com/emberjs/ember.js/pull/15952) [BUGFIX] fix regression of clicking link-to with disabled=true
+
### 2.18.0-beta.4 (December 19, 2017)
- [#15982](https://github.com/emberjs/ember.js/pull/15982) [BUGFIX] Fix issue with unchaining ChainNodes (again)
| false |
Other
|
emberjs
|
ember.js
|
49e672759bfcd89e92c98a6d61bb6a17dd593b82.json
|
Fix stray `#` in change to getElementById
|
packages/internal-test-helpers/lib/test-cases/abstract.js
|
@@ -49,7 +49,7 @@ export default class AbstractTestCase {
}
setupFixture(innerHTML) {
- let fixture = document.getElementById('#qunit-fixture');
+ let fixture = document.getElementById('qunit-fixture');
fixture.innerHTML = innerHTML;
}
| false |
Other
|
emberjs
|
ember.js
|
f71bbd07cacd406d3ac12db7d170be791b3a5c50.json
|
Run tests without jQuery (package by package).
Adds support for running tests per-package without jQuery so that jQuery
requirements do not creep into the rest of the framework.
|
bin/run-tests.js
|
@@ -184,9 +184,15 @@ function generateEachPackageTests() {
testFunctions.push(function() {
return run('package=' + packageName);
});
+ if (packages[packageName].requiresJQuery === false) {
+ testFunctions.push(function() {
+ return run('package=' + packageName + '&jquery=none');
+ });
+ }
testFunctions.push(function() {
return run('package=' + packageName + '&enableoptionalfeatures=true');
});
+
});
}
| true |
Other
|
emberjs
|
ember.js
|
f71bbd07cacd406d3ac12db7d170be791b3a5c50.json
|
Run tests without jQuery (package by package).
Adds support for running tests per-package without jQuery so that jQuery
requirements do not creep into the rest of the framework.
|
lib/packages.js
|
@@ -1,14 +1,14 @@
module.exports = function() {
var packages = {
- 'container': { trees: null, requirements: ['ember-utils'], isTypeScript: true, vendorRequirements: ['@glimmer/di'] },
- 'ember-environment': { trees: null, requirements: [], skipTests: true },
- 'ember-utils': { trees: null, requirements: [] },
- 'ember-console': { trees: null, requirements: [], skipTests: true },
- 'ember-metal': { trees: null, requirements: ['ember-environment', 'ember-utils'], vendorRequirements: ['backburner'] },
- 'ember-debug': { trees: null, requirements: [] },
- 'ember-runtime': { trees: null, vendorRequirements: ['rsvp'], requirements: ['container', 'ember-environment', 'ember-console', 'ember-metal'] },
+ 'container': { trees: null, requirements: ['ember-utils'], isTypeScript: true, vendorRequirements: ['@glimmer/di'], requiresJQuery: false },
+ 'ember-environment': { trees: null, requirements: [], skipTests: true, requiresJQuery: false },
+ 'ember-utils': { trees: null, requirements: [], requiresJQuery: false },
+ 'ember-console': { trees: null, requirements: [], skipTests: true, requiresJQuery: false },
+ 'ember-metal': { trees: null, requirements: ['ember-environment', 'ember-utils'], vendorRequirements: ['backburner'], requiresJQuery: false },
+ 'ember-debug': { trees: null, requirements: [], requiresJQuery: false },
+ 'ember-runtime': { trees: null, vendorRequirements: ['rsvp'], requirements: ['container', 'ember-environment', 'ember-console', 'ember-metal'], requiresJQuery: false },
'ember-views': { trees: null, requirements: ['ember-runtime'], skipTests: true },
- 'ember-extension-support': { trees: null, requirements: ['ember-application'] },
+ 'ember-extension-support': { trees: null, requirements: ['ember-application'], requiresJQuery: false },
'ember-testing': { trees: null, requirements: ['ember-application', 'ember-routing'], testing: true },
'ember-template-compiler': {
trees: null,
@@ -27,10 +27,10 @@ module.exports = function() {
]
},
'ember-routing': { trees: null, vendorRequirements: ['router', 'route-recognizer'],
- requirements: ['ember-runtime', 'ember-views'] },
- 'ember-application': { trees: null, vendorRequirements: ['dag-map'], requirements: ['ember-routing'] },
+ requirements: ['ember-runtime', 'ember-views'], requiresJQuery: false },
+ 'ember-application': { trees: null, vendorRequirements: ['dag-map'], requirements: ['ember-routing'], requiresJQuery: false },
'ember': { trees: null, requirements: ['ember-application'] },
- 'internal-test-helpers': { trees: null },
+ 'internal-test-helpers': { trees: null, requiresJQuery: false },
'ember-glimmer': {
trees: null,
@@ -43,7 +43,7 @@ module.exports = function() {
'@glimmer/wire-format',
'@glimmer/node'
],
- testingVendorRequirements: []
+ testingVendorRequirements: [],
}
};
| true |
Other
|
emberjs
|
ember.js
|
ef04a33961d48de1065ee6a306d01917b44f9cd9.json
|
Remove jQuery usage in ember-application tests.
|
packages/ember-application/tests/system/application_test.js
|
@@ -35,14 +35,13 @@ import {
} from 'internal-test-helpers';
moduleFor('Ember.Application, autobooting multiple apps', class extends ApplicationTestCase {
- constructor() {
- jQuery('#qunit-fixture').html(`
+ get fixture() {
+ return `
<div id="one">
<div id="one-child">HI</div>
</div>
<div id="two">HI</div>
- `);
- super();
+ `;
}
get applicationOptions() {
@@ -213,7 +212,6 @@ moduleFor('Ember.Application, default resolver with autoboot', class extends Def
[`@test Minimal Application initialized with just an application template`]() {
this.setupFixture('<script type="text/x-handlebars">Hello World</script>');
-
this.runTask(() => this.createApplication());
this.assertInnerHTML('Hello World');
}
@@ -236,14 +234,14 @@ moduleFor('Ember.Application, autobooting', class extends AutobootApplicationTes
super.teardown();
}
- [`@test initialized application goes to initial route`](assert) {
+ [`@test initialized application goes to initial route`]() {
this.runTask(() => {
this.createApplication();
this.addTemplate('application', '{{outlet}}');
this.addTemplate('index', '<h1>Hi from index</h1>');
});
- assert.equal(this.$('h1').text(), 'Hi from index');
+ this.assertText('Hi from index');
}
[`@test ready hook is called before routing begins`](assert) {
@@ -290,18 +288,18 @@ moduleFor('Ember.Application, autobooting', class extends AutobootApplicationTes
// need to make some assertions about the created router
let router = this.application.__deprecatedInstance__.lookup('router:main');
assert.equal(router instanceof Router, true, 'Router was set from initialize call');
- assert.equal(this.$('h1').text(), 'Hello!');
+ this.assertText('Hello!');
}
- [`@test Application Controller backs the appplication template`](assert) {
+ [`@test Application Controller backs the appplication template`]() {
this.runTask(() => {
this.createApplication();
this.addTemplate('application', '<h1>{{greeting}}</h1>');
this.add('controller:application', Controller.extend({
greeting: 'Hello!'
}));
});
- assert.equal(this.$('h1').text(), 'Hello!');
+ this.assertText('Hello!');
}
[`@test enable log of libraries with an ENV var`](assert) {
@@ -321,8 +319,12 @@ moduleFor('Ember.Application, autobooting', class extends AutobootApplicationTes
this.runTask(() => this.createApplication());
assert.equal(messages[1], 'Ember : ' + VERSION);
- assert.equal(messages[2], 'jQuery : ' + jQuery().jquery);
- assert.equal(messages[3], 'my-lib : ' + '2.0.0a');
+ if (jQuery) {
+ assert.equal(messages[2], 'jQuery : ' + jQuery().jquery);
+ assert.equal(messages[3], 'my-lib : ' + '2.0.0a');
+ } else {
+ assert.equal(messages[2], 'my-lib : ' + '2.0.0a');
+ }
libraries.deRegister('my-lib');
}
| true |
Other
|
emberjs
|
ember.js
|
ef04a33961d48de1065ee6a306d01917b44f9cd9.json
|
Remove jQuery usage in ember-application tests.
|
packages/ember-application/tests/system/bootstrap-test.js
|
@@ -23,6 +23,6 @@ moduleFor('Ember.Application with default resolver and autoboot', class extends
['@test templates in script tags are extracted at application creation'](assert) {
this.runTask(() => this.createApplication());
- assert.equal(this.$('#app').text(), 'Hello World!');
+ assert.equal(document.getElementById('app').textContent, 'Hello World!');
}
});
| true |
Other
|
emberjs
|
ember.js
|
ef04a33961d48de1065ee6a306d01917b44f9cd9.json
|
Remove jQuery usage in ember-application tests.
|
packages/ember-application/tests/system/dependency_injection/custom_resolver_test.js
|
@@ -26,9 +26,8 @@ moduleFor('Ember.Application with extended default resolver and autoboot', class
});
}
- [`@test a resolver can be supplied to application`](assert) {
+ [`@test a resolver can be supplied to application`]() {
this.runTask(() => this.createApplication());
- assert.equal(this.$('h1').text(), 'Fallback');
+ this.assertText('Fallback');
}
-
});
| true |
Other
|
emberjs
|
ember.js
|
ef04a33961d48de1065ee6a306d01917b44f9cd9.json
|
Remove jQuery usage in ember-application tests.
|
packages/ember-application/tests/system/initializers_test.js
|
@@ -1,15 +1,12 @@
import { assign } from 'ember-utils';
import { moduleFor, AutobootApplicationTestCase } from 'internal-test-helpers';
import { Application } from 'ember-application';
-import { jQuery } from 'ember-views';
moduleFor('Ember.Application initializers', class extends AutobootApplicationTestCase {
- constructor() {
- jQuery('#qunit-fixture').html(`
- <div id="one">ONE</div>
+ get fixture() {
+ return `<div id="one">ONE</div>
<div id="two">TWO</div>
- `);
- super();
+ `;
}
get applicationOptions() {
| true |
Other
|
emberjs
|
ember.js
|
ef04a33961d48de1065ee6a306d01917b44f9cd9.json
|
Remove jQuery usage in ember-application tests.
|
packages/ember-application/tests/system/instance_initializers_test.js
|
@@ -1,15 +1,12 @@
import { assign } from 'ember-utils';
import { moduleFor, AutobootApplicationTestCase } from 'internal-test-helpers';
import { Application, ApplicationInstance } from 'ember-application';
-import { jQuery } from 'ember-views';
moduleFor('Ember.Application instance initializers', class extends AutobootApplicationTestCase {
- constructor() {
- jQuery('#qunit-fixture').html(`
- <div id="one">ONE</div>
+ get fixture() {
+ return `<div id="one">ONE</div>
<div id="two">TWO</div>
- `);
- super();
+ `;
}
get applicationOptions() {
| true |
Other
|
emberjs
|
ember.js
|
ef04a33961d48de1065ee6a306d01917b44f9cd9.json
|
Remove jQuery usage in ember-application tests.
|
packages/ember-application/tests/system/visit_test.js
|
@@ -12,7 +12,6 @@ import Engine from '../../system/engine';
import { Route } from 'ember-routing';
import { Component, helper } from 'ember-glimmer';
import { compile } from 'ember-template-compiler';
-import { jQuery } from 'ember-views';
function expectAsyncError() {
RSVP.off('error');
@@ -29,6 +28,13 @@ moduleFor('Ember.Application - visit()', class extends ApplicationTestCase {
return super.createApplication(options, Application.extend());
}
+ assertEmptyFixture(message) {
+ this.assert.strictEqual(
+ document.getElementById('qunit-fixture').children.length, 0,
+ `there are no elements in the fixture element ${message ? message : ''}`
+ );
+ }
+
// This tests whether the application is "autobooted" by registering an
// instance initializer and asserting it never gets run. Since this is
// inherently testing that async behavior *doesn't* happen, we set a
@@ -274,18 +280,15 @@ moduleFor('Ember.Application - visit()', class extends ApplicationTestCase {
[`@test visit() returns a promise that resolves when the view has rendered`](assert) {
this.addTemplate('application', `<h1>Hello world</h1>`);
- assert.strictEqual(
- this.$().children().length, 0,
- 'there are no elements in the fixture element'
- );
+ this.assertEmptyFixture();
return this.visit('/').then(instance => {
assert.ok(
instance instanceof ApplicationInstance,
'promise is resolved with an ApplicationInstance'
);
assert.equal(
- this.$('h1').text(), 'Hello world',
+ this.element.textContent, 'Hello world',
'the application was rendered once the promise resolves'
);
});
@@ -296,20 +299,15 @@ moduleFor('Ember.Application - visit()', class extends ApplicationTestCase {
this.addTemplate('application', '<h1>Hello world</h1>');
- assert.strictEqual(
- this.$().children().length, 0,
- 'there are no elements in the fixture element'
- );
+ this.assertEmptyFixture();
return this.visit('/', { shouldRender: false }).then(instance => {
assert.ok(
instance instanceof ApplicationInstance,
'promise is resolved with an ApplicationInstance'
);
- assert.strictEqual(
- this.$().children().length, 0,
- 'there are still no elements in the fixture element after visit'
- );
+
+ this.assertEmptyFixture('after visit');
});
}
@@ -318,18 +316,15 @@ moduleFor('Ember.Application - visit()', class extends ApplicationTestCase {
this.addTemplate('application', '<h1>Hello world</h1>');
- assert.strictEqual(
- this.$('#qunit-fixture').children().length, 0,
- 'there are no elements in the fixture element'
- );
+ this.assertEmptyFixture();
return this.visit('/', { shouldRender: true }).then(instance => {
assert.ok(
instance instanceof ApplicationInstance,
'promise is resolved with an ApplicationInstance'
);
assert.strictEqual(
- this.$().children().length, 1,
+ document.querySelector('#qunit-fixture').children.length, 1,
'there is 1 element in the fixture element after visit'
);
});
@@ -352,20 +347,15 @@ moduleFor('Ember.Application - visit()', class extends ApplicationTestCase {
let BlogMap = function() {};
this.add('route-map:blog', BlogMap);
- assert.strictEqual(
- this.$('#qunit-fixture').children().length, 0,
- 'there are no elements in the fixture element'
- );
+ this.assertEmptyFixture();
return this.visit('/blog', { shouldRender: false }).then(instance => {
assert.ok(
instance instanceof ApplicationInstance,
'promise is resolved with an ApplicationInstance'
);
- assert.strictEqual(
- this.$().children().length, 0,
- 'there are still no elements in the fixture element after visit'
- );
+
+ this.assertEmptyFixture('after visit');
});
}
@@ -398,18 +388,15 @@ moduleFor('Ember.Application - visit()', class extends ApplicationTestCase {
let BlogMap = function() {};
this.add('route-map:blog', BlogMap);
- assert.strictEqual(
- this.$('#qunit-fixture').children().length, 0,
- 'there are no elements in the fixture element'
- );
+ this.assertEmptyFixture();
return this.visit('/blog', { isInteractive: false }).then(instance => {
assert.ok(
instance instanceof ApplicationInstance,
'promise is resolved with an ApplicationInstance'
);
assert.strictEqual(
- this.$().find('p').text(), 'Dis cache money',
+ this.element.querySelector('p').textContent, 'Dis cache money',
'Engine component is resolved'
);
});
@@ -439,14 +426,11 @@ moduleFor('Ember.Application - visit()', class extends ApplicationTestCase {
let BlogMap = function() {};
this.add('route-map:blog', BlogMap);
- assert.strictEqual(
- this.$().children().length, 0,
- 'there are no elements in the fixture element'
- );
+ this.assertEmptyFixture();
return this.visit('/blog', { shouldRender: true }).then(() => {
assert.strictEqual(
- this.$().find('p').text(), 'Dis cache money',
+ this.element.querySelector('p').textContent, 'Dis cache money',
'Engine component is resolved'
);
});
@@ -475,14 +459,11 @@ moduleFor('Ember.Application - visit()', class extends ApplicationTestCase {
let BlogMap = function() {};
this.add('route-map:blog', BlogMap);
- assert.strictEqual(
- this.$().children().length, 0,
- 'there are no elements in the fixture element'
- );
+ this.assertEmptyFixture();
return this.visit('/blog', { shouldRender: true }).then(() => {
assert.strictEqual(
- this.$().text(), 'turnt up',
+ this.element.textContent, 'turnt up',
'Engine component is resolved'
);
});
@@ -576,18 +557,21 @@ moduleFor('Ember.Application - visit()', class extends ApplicationTestCase {
}
}));
- let $foo = jQuery('<div />').appendTo('#qunit-fixture');
- let $bar = jQuery('<div />').appendTo('#qunit-fixture');
+ let fixtureElement = document.querySelector('#qunit-fixture');
+ let foo = document.createElement('div');
+ let bar = document.createElement('div');
+ fixtureElement.appendChild(foo);
+ fixtureElement.appendChild(bar);
let data = encodeURIComponent(JSON.stringify({ name: 'Godfrey' }));
let instances = [];
return RSVP.all([
this.runTask(() => {
- return this.application.visit(`/x-foo?data=${data}`, { rootElement: $foo[0] });
+ return this.application.visit(`/x-foo?data=${data}`, { rootElement: foo });
}),
this.runTask(() => {
- return this.application.visit('/x-bar', { rootElement: $bar[0] });
+ return this.application.visit('/x-bar', { rootElement: bar });
})
]).then(_instances => {
instances = _instances;
@@ -598,28 +582,28 @@ moduleFor('Ember.Application - visit()', class extends ApplicationTestCase {
assert.ok(xBarInitCalled);
assert.ok(xBarDidInsertElementCalled);
- assert.equal($foo.find('h1').text(), 'X-Foo');
- assert.equal($foo.find('p').text(), 'Hello Godfrey, I have been clicked 0 times (0 times combined)!');
- assert.ok($foo.text().indexOf('X-Bar') === -1);
+ assert.equal(foo.querySelector('h1').textContent, 'X-Foo');
+ assert.equal(foo.querySelector('p').textContent, 'Hello Godfrey, I have been clicked 0 times (0 times combined)!');
+ assert.ok(foo.textContent.indexOf('X-Bar') === -1);
- assert.equal($bar.find('h1').text(), 'X-Bar');
- assert.equal($bar.find('button').text(), 'Join 0 others in clicking me!');
- assert.ok($bar.text().indexOf('X-Foo') === -1);
+ assert.equal(bar.querySelector('h1').textContent, 'X-Bar');
+ assert.equal(bar.querySelector('button').textContent, 'Join 0 others in clicking me!');
+ assert.ok(bar.textContent.indexOf('X-Foo') === -1);
this.runTask(() => {
- $foo.find('x-foo').click();
+ this.click(foo.querySelector('x-foo'));
});
- assert.equal($foo.find('p').text(), 'Hello Godfrey, I have been clicked 1 times (1 times combined)!');
- assert.equal($bar.find('button').text(), 'Join 1 others in clicking me!');
+ assert.equal(foo.querySelector('p').textContent, 'Hello Godfrey, I have been clicked 1 times (1 times combined)!');
+ assert.equal(bar.querySelector('button').textContent, 'Join 1 others in clicking me!');
this.runTask(() => {
- $bar.find('button').click();
- $bar.find('button').click();
+ this.click(bar.querySelector('button'));
+ this.click(bar.querySelector('button'));
});
- assert.equal($foo.find('p').text(), 'Hello Godfrey, I have been clicked 1 times (3 times combined)!');
- assert.equal($bar.find('button').text(), 'Join 3 others in clicking me!');
+ assert.equal(foo.querySelector('p').textContent, 'Hello Godfrey, I have been clicked 1 times (3 times combined)!');
+ assert.equal(bar.querySelector('button').textContent, 'Join 3 others in clicking me!');
}).finally(() => {
this.runTask(() => {
| true |
Other
|
emberjs
|
ember.js
|
ef04a33961d48de1065ee6a306d01917b44f9cd9.json
|
Remove jQuery usage in ember-application tests.
|
packages/ember-glimmer/tests/integration/application/engine-test.js
|
@@ -311,7 +311,10 @@ moduleFor('Application test: engine rendering', class extends ApplicationTest {
this.setupAppAndRoutableEngine(hooks);
return this.visit('/blog', { shouldRender: false }).then(() => {
- this.assertText('');
+ assert.strictEqual(
+ document.getElementById('qunit-fixture').children.length, 0,
+ `there are no elements in the qunit-fixture element`
+ );
this.assert.deepEqual(hooks, [
'application - application',
| true |
Other
|
emberjs
|
ember.js
|
b78514e8ad6aab85e6d1ed66bb7ce0d9c18cfb31.json
|
Remove jQuery usage in abstract test cases.
|
packages/ember/tests/helpers/link_to_test.js
|
@@ -654,7 +654,7 @@ moduleFor('The {{link-to}} helper - nested routes and link-to arguments', class
<ul>
{{#each model as |person|}}
<li>
- {{#link-to 'item' person}}
+ {{#link-to 'item' person id=person.id}}
{{person.name}}
{{/link-to}}
</li>
@@ -689,7 +689,7 @@ moduleFor('The {{link-to}} helper - nested routes and link-to arguments', class
assert.equal(this.$('h3:contains(List)').length, 1, 'The home template was rendered');
assert.equal(normalizeUrl(this.$('#home-link').attr('href')), '/', 'The home link points back at /');
- this.click('li a:contains(Yehuda)');
+ this.click('#yehuda');
assert.equal(this.$('h3:contains(Item)').length, 1, 'The item template was rendered');
assert.equal(this.$('p').text(), 'Yehuda Katz', 'The name is correct');
@@ -701,7 +701,7 @@ moduleFor('The {{link-to}} helper - nested routes and link-to arguments', class
assert.equal(normalizeUrl(this.$('li a:contains(Tom)').attr('href')), '/item/tom');
assert.equal(normalizeUrl(this.$('li a:contains(Erik)').attr('href')), '/item/erik');
- this.click('li a:contains(Erik)');
+ this.click('#erik');
assert.equal(this.$('h3:contains(Item)').length, 1, 'The item template was rendered');
assert.equal(this.$('p').text(), 'Erik Brynroflsson', 'The name is correct');
@@ -1138,7 +1138,7 @@ moduleFor('The {{link-to}} helper - nested routes and link-to arguments', class
<ul>
{{#each model as |person|}}
<li>
- {{link-to person.name 'item' person}}
+ {{link-to person.name 'item' person id=person.id}}
</li>
{{/each}}
</ul>
@@ -1151,7 +1151,7 @@ moduleFor('The {{link-to}} helper - nested routes and link-to arguments', class
this.visit('/');
- this.click('li a:contains(Yehuda)');
+ this.click('#yehuda');
assert.equal(this.$('h3:contains(Item)').length, 1, 'The item template was rendered');
assert.equal(this.$('p').text(), 'Yehuda Katz', 'The name is correct');
@@ -1470,7 +1470,7 @@ moduleFor('The {{link-to}} helper - loading states and warnings', class extends
assertLinkStatus(staticLink);
expectWarning(()=> {
- this.click(contextLink);
+ this.click(contextLink[0]);
}, warningMessage);
// Set the destinationRoute (context is still null).
@@ -1496,14 +1496,14 @@ moduleFor('The {{link-to}} helper - loading states and warnings', class extends
assertLinkStatus(contextLink);
expectWarning(()=> {
- this.click(staticLink);
+ this.click(staticLink[0]);
}, warningMessage);
this.runTask(() => controller.set('secondRoute', 'about'));
assertLinkStatus(staticLink, '/about');
// Click the now-active link
- this.click(staticLink);
+ this.click(staticLink[0]);
}
});
| true |
Other
|
emberjs
|
ember.js
|
b78514e8ad6aab85e6d1ed66bb7ce0d9c18cfb31.json
|
Remove jQuery usage in abstract test cases.
|
packages/internal-test-helpers/lib/test-cases/abstract-application.js
|
@@ -1,5 +1,4 @@
import { compile } from 'ember-template-compiler';
-import { jQuery } from 'ember-views';
import { EMBER_GLIMMER_REMOVE_APPLICATION_TEMPLATE_WRAPPER } from 'ember/features';
import AbstractTestCase from './abstract';
import { runDestroy } from '../run';
@@ -10,9 +9,9 @@ export default class AbstractApplicationTestCase extends AbstractTestCase {
if (this._element) {
return this._element;
} else if (EMBER_GLIMMER_REMOVE_APPLICATION_TEMPLATE_WRAPPER) {
- return this._element = jQuery('#qunit-fixture')[0];
+ return this._element = document.querySelector('#qunit-fixture');
} else {
- return this._element = jQuery('#qunit-fixture > div.ember-view')[0];
+ return this._element = document.querySelector('#qunit-fixture > div.ember-view');
}
}
| true |
Other
|
emberjs
|
ember.js
|
b78514e8ad6aab85e6d1ed66bb7ce0d9c18cfb31.json
|
Remove jQuery usage in abstract test cases.
|
packages/internal-test-helpers/lib/test-cases/abstract-rendering.js
|
@@ -1,6 +1,6 @@
import { assign } from 'ember-utils';
import { compile } from 'ember-template-compiler';
-import { jQuery, EventDispatcher } from 'ember-views';
+import { EventDispatcher } from 'ember-views';
import { helper, Helper, Component, _resetRenderers} from 'ember-glimmer';
import AbstractTestCase from './abstract';
@@ -21,7 +21,7 @@ export default class AbstractRenderingTestCase extends AbstractTestCase {
});
this.renderer = this.owner.lookup('renderer:-dom');
- this.element = jQuery('#qunit-fixture')[0];
+ this.element = document.querySelector('#qunit-fixture');
this.component = null;
owner.register('event_dispatcher:main', EventDispatcher);
| true |
Other
|
emberjs
|
ember.js
|
b78514e8ad6aab85e6d1ed66bb7ce0d9c18cfb31.json
|
Remove jQuery usage in abstract test cases.
|
packages/internal-test-helpers/lib/test-cases/abstract.js
|
@@ -88,11 +88,17 @@ export default class AbstractTestCase {
}
click(selector) {
- return this.$(selector).click();
+ let element;
+ if (typeof selector === 'string') {
+ element = this.element.querySelector(selector);
+ } else {
+ element = selector;
+ }
+ return element.click();
}
textValue() {
- return this.$().text();
+ return this.element.textContent;
}
takeSnapshot() {
| true |
Other
|
emberjs
|
ember.js
|
aaafab2bc9ee88ed2141b12b40c6930817f7d068.json
|
Remove eager jQuery destructuring.
|
packages/ember-template-compiler/tests/system/bootstrap-test.js
|
@@ -16,8 +16,6 @@ import {
AbstractTestCase
} from 'internal-test-helpers';
-const { trim } = jQuery;
-
let component, fixture;
function checkTemplate(templateName, assert) {
@@ -84,7 +82,7 @@ moduleFor('ember-templates: bootstrap', class extends AbstractTestCase {
assert.ok(template, 'template with name funkyTemplate available');
// This won't even work with Ember templates
- assert.equal(trim(template({ name: 'Tobias' })), 'Tobias');
+ assert.equal(template({ name: 'Tobias' }).trim(), 'Tobias');
}
['@test duplicated default application templates should throw exception'](assert) {
| true |
Other
|
emberjs
|
ember.js
|
aaafab2bc9ee88ed2141b12b40c6930817f7d068.json
|
Remove eager jQuery destructuring.
|
packages/ember/tests/routing/basic_test.js
|
@@ -32,8 +32,6 @@ import { compile } from 'ember-template-compiler';
import { Application, Engine } from 'ember-application';
import { Transition } from 'router';
-let trim = jQuery.trim;
-
let Router, App, router, registry, container, originalLoggerError, originalRenderSupport;
function bootApplication() {
@@ -3020,13 +3018,13 @@ QUnit.test('Tolerates stacked renders', function() {
}
});
bootApplication();
- equal(trim(jQuery('#qunit-fixture').text()), 'hi');
+ equal(jQuery('#qunit-fixture').text().trim(), 'hi');
run(router, 'send', 'openLayer');
- equal(trim(jQuery('#qunit-fixture').text()), 'hilayer');
+ equal(jQuery('#qunit-fixture').text().trim(), 'hilayer');
run(router, 'send', 'openLayer');
- equal(trim(jQuery('#qunit-fixture').text()), 'hilayer');
+ equal(jQuery('#qunit-fixture').text().trim(), 'hilayer');
run(router, 'send', 'close');
- equal(trim(jQuery('#qunit-fixture').text()), 'hi');
+ equal(jQuery('#qunit-fixture').text().trim(), 'hi');
});
QUnit.test('Renders child into parent with non-default template name', function() {
@@ -3081,11 +3079,11 @@ QUnit.test('Allows any route to disconnectOutlet another route\'s templates', fu
}
});
bootApplication();
- equal(trim(jQuery('#qunit-fixture').text()), 'hi');
+ equal(jQuery('#qunit-fixture').text().trim(), 'hi');
run(router, 'send', 'openLayer');
- equal(trim(jQuery('#qunit-fixture').text()), 'hilayer');
+ equal(jQuery('#qunit-fixture').text().trim(), 'hilayer');
run(router, 'send', 'close');
- equal(trim(jQuery('#qunit-fixture').text()), 'hi');
+ equal(jQuery('#qunit-fixture').text().trim(), 'hi');
});
QUnit.test('Can this.render({into:...}) the render helper', function() {
| true |
Other
|
emberjs
|
ember.js
|
4ac08b87abc67c8b2f9f8705e46a924b40f3c21b.json
|
Tell eslint to ignore Typescript files.
Prior to this in-editor `eslint`ing will trigger annoying
warnings/errors about "invalid eslint config" for typescript files.
Since we are using tslint for these files anyways, this just makes
eslint properly ignore them...
|
.eslintignore
|
@@ -1,3 +1,4 @@
blueprints/*/*files/**/*.js
dist/
tmp/
+**/*.ts
| false |
Other
|
emberjs
|
ember.js
|
621eecaec3ed7e3e6470ef9ed596cf801238e0db.json
|
Use resolver for input component lookup
|
packages/ember-glimmer/lib/syntax/input.ts
|
@@ -1,13 +1,17 @@
/**
@module ember
*/
+import {
+ LazyOpcodeBuilder,
+ TemplateMeta
+} from '@glimmer/opcode-compiler';
import { assert } from 'ember-debug';
import { wrapComponentClassAttribute } from '../utils/bindings';
import { dynamicComponentMacro } from './dynamic-component';
import { hashToArgs } from './utils';
-function buildSyntax(type: string, params: any[], hash: any, builder: any) {
- let definition = builder.env.getComponentDefinition(type, builder.meta.templateMeta);
+function buildSyntax(type: string, params: any[], hash: any, builder: LazyOpcodeBuilder<TemplateMeta>) {
+ let definition = builder.resolver.lookupComponentDefinition(type, builder.referrer);
builder.component.static(definition, [params, hashToArgs(hash), null, null]);
return true;
}
| false |
Other
|
emberjs
|
ember.js
|
3aace9b6fee8da49c1e7672647fd42ef0309c0e8.json
|
Use inner tag for dirtying
|
packages/ember-glimmer/lib/component.ts
|
@@ -594,7 +594,7 @@ const Component = CoreView.extend(
},
rerender() {
- this[DIRTY_TAG].dirty();
+ this[DIRTY_TAG].inner.dirty();
this._super();
},
| true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.