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
|
d904e7042d6e02725aec3ede207efcb980512ab6.json
|
tests/glimmer: Remove unnecessary import aliases
|
packages/@ember/-internals/glimmer/tests/utils/test-case.js
|
@@ -1,6 +1,6 @@
export {
- AbstractTestCase as TestCase,
- ApplicationTestCase as ApplicationTest,
- RenderingTestCase as RenderingTest,
+ AbstractTestCase,
+ ApplicationTestCase,
+ RenderingTestCase,
moduleFor,
} from 'internal-test-helpers';
| true |
Other
|
emberjs
|
ember.js
|
b27e6cb67c546fc4fb9929420a764e7775367492.json
|
internal-test-helpers: Remove unused `HooksCompat` class
|
packages/internal-test-helpers/lib/ember-dev/hooks-compat.ts
|
@@ -1,44 +0,0 @@
-export type HookFunction = (assert: Assert) => any;
-
-/**
- * This class can be used to make `setupTest(hooks)` style functions
- * compatible with the non-nested QUnit API.
- */
-export default class HooksCompat {
- _before: HookFunction[] = [];
- _beforeEach: HookFunction[] = [];
- _afterEach: HookFunction[] = [];
- _after: HookFunction[] = [];
-
- before(fn: HookFunction) {
- this._before.push(fn);
- }
-
- beforeEach(fn: HookFunction) {
- this._beforeEach.push(fn);
- }
-
- afterEach(fn: HookFunction) {
- this._afterEach.push(fn);
- }
-
- after(fn: HookFunction) {
- this._after.push(fn);
- }
-
- runBefore(assert: Assert) {
- this._before.forEach(fn => fn(assert));
- }
-
- runBeforeEach(assert: Assert) {
- this._beforeEach.forEach(fn => fn(assert));
- }
-
- runAfterEach(assert: Assert) {
- this._afterEach.forEach(fn => fn(assert));
- }
-
- runAfter(assert: Assert) {
- this._after.forEach(fn => fn(assert));
- }
-}
| false |
Other
|
emberjs
|
ember.js
|
ba01da35cb5ebb3623f48a3457fb743f9a7f464f.json
|
internal-test-helpers: Simplify `setupQUnit()` function
|
packages/internal-test-helpers/lib/ember-dev/setup-qunit.ts
|
@@ -3,7 +3,6 @@ import { getDebugFunction, setDebugFunction } from '@ember/debug';
import { setupAssertionHelpers } from './assertion';
import { setupContainersCheck } from './containers';
import { setupDeprecationHelpers } from './deprecation';
-import HooksCompat from './hooks-compat';
import { setupNamespacesCheck } from './namespaces';
import { setupRunLoopCheck } from './run-loop';
import { DebugEnv } from './utils';
@@ -27,41 +26,11 @@ export default function setupQUnit({ runningProdBuild }: { runningProdBuild: boo
let originalModule = QUnit.module;
- QUnit.module = function(name: string, _options: any) {
- if (typeof _options === 'function') {
- let callback = _options;
+ QUnit.module = function(name: string, callback: any) {
+ return originalModule(name, function(hooks) {
+ setupAssert(hooks);
- return originalModule(name, function(hooks) {
- setupAssert(hooks);
-
- callback(hooks);
- });
- }
-
- let options = _options || {};
- let originalSetup = options.setup || options.beforeEach || function() {};
- let originalTeardown = options.teardown || options.afterEach || function() {};
-
- delete options.setup;
- delete options.teardown;
-
- let hooks = new HooksCompat();
- setupAssert(hooks);
-
- options.beforeEach = function() {
- hooks.runBeforeEach(QUnit.config.current.assert);
-
- return originalSetup.apply(this, arguments);
- };
-
- options.afterEach = function() {
- let result = originalTeardown.apply(this, arguments);
-
- hooks.runAfterEach(QUnit.config.current.assert);
-
- return result;
- };
-
- return originalModule(name, options);
+ callback(hooks);
+ });
};
}
| false |
Other
|
emberjs
|
ember.js
|
0d8e395974a7db430c9dbe74ebac8792d1bd67be.json
|
internal-test-helpers: Use nested module API
|
packages/internal-test-helpers/lib/module-for.js
|
@@ -4,16 +4,16 @@ import getAllPropertyNames from './get-all-property-names';
import { all } from 'rsvp';
export default function moduleFor(description, TestClass, ...mixins) {
- QUnit.module(description, {
- beforeEach: function(assert) {
+ QUnit.module(description, function(hooks) {
+ hooks.beforeEach(function(assert) {
let instance = new TestClass(assert);
this.instance = instance;
if (instance.beforeEach) {
return instance.beforeEach(assert);
}
- },
+ });
- afterEach: function() {
+ hooks.afterEach(function() {
let promises = [];
let instance = this.instance;
this.instance = null;
@@ -25,15 +25,15 @@ export default function moduleFor(description, TestClass, ...mixins) {
}
return all(promises);
- },
- });
+ });
- if (mixins.length > 0) {
- applyMixins(TestClass, ...mixins);
- }
+ if (mixins.length > 0) {
+ applyMixins(TestClass, ...mixins);
+ }
- let properties = getAllPropertyNames(TestClass);
- properties.forEach(generateTest);
+ let properties = getAllPropertyNames(TestClass);
+ properties.forEach(generateTest);
+ });
function shouldTest(features) {
return features.every(feature => {
| false |
Other
|
emberjs
|
ember.js
|
b8c70bd977247fcf0ebaa5df4c76ce4646442cc9.json
|
internal-test-helpers: Remove obsolete promise filtering
|
packages/internal-test-helpers/lib/module-for.js
|
@@ -24,19 +24,7 @@ export default function moduleFor(description, TestClass, ...mixins) {
promises.push(instance.afterEach());
}
- // this seems odd, but actually saves significant time
- // in the test suite
- //
- // returning a promise from a QUnit test always adds a 13ms
- // delay to the test, this filtering prevents returning a
- // promise when it is not needed
- //
- // Remove after we can update to QUnit that includes
- // https://github.com/qunitjs/qunit/pull/1246
- let filteredPromises = promises.filter(Boolean);
- if (filteredPromises.length > 0) {
- return all(filteredPromises);
- }
+ return all(promises);
},
});
| false |
Other
|
emberjs
|
ember.js
|
00049b9863f5558a99e663432a27e4d4ffb43d14.json
|
tests/node: Use nested module API
|
tests/node/template-compiler-test.js
|
@@ -8,42 +8,42 @@ var test = QUnit.test;
var templateCompiler;
-module('ember-template-compiler.js', {
- beforeEach: function() {
+module('ember-template-compiler.js', function(hooks) {
+ hooks.beforeEach(function() {
templateCompiler = require(templateCompilerPath);
- },
+ });
- afterEach: function() {
+ hooks.afterEach(function() {
// clear the previously cached version of this module
delete require.cache[templateCompilerPath + '.js'];
- },
-});
-
-test('can be required', function(assert) {
- assert.strictEqual(
- typeof templateCompiler.precompile,
- 'function',
- 'precompile function is present'
- );
- assert.strictEqual(typeof templateCompiler.compile, 'function', 'compile function is present');
-});
-
-test('can access _Ember.ENV (private API used by ember-cli-htmlbars)', function(assert) {
- assert.equal(typeof templateCompiler._Ember.ENV, 'object', '_Ember.ENV is present');
- assert.notEqual(typeof templateCompiler._Ember.ENV, null, '_Ember.ENV is not null');
-});
-
-test('can access _Ember.FEATURES (private API used by ember-cli-htmlbars)', function(assert) {
- assert.equal(typeof templateCompiler._Ember.FEATURES, 'object', '_Ember.FEATURES is present');
- assert.notEqual(typeof templateCompiler._Ember.FEATURES, null, '_Ember.FEATURES is not null');
-});
-
-test('can access _Ember.VERSION (private API used by ember-cli-htmlbars)', function(assert) {
- assert.equal(typeof templateCompiler._Ember.VERSION, 'string', '_Ember.VERSION is present');
-});
-
-test('can generate a template with a server side generated `id`', function(assert) {
- var TemplateJSON = JSON.parse(templateCompiler.precompile('<div>simple text</div>'));
-
- assert.ok(TemplateJSON.id, 'an `id` was generated');
+ });
+
+ test('can be required', function(assert) {
+ assert.strictEqual(
+ typeof templateCompiler.precompile,
+ 'function',
+ 'precompile function is present'
+ );
+ assert.strictEqual(typeof templateCompiler.compile, 'function', 'compile function is present');
+ });
+
+ test('can access _Ember.ENV (private API used by ember-cli-htmlbars)', function(assert) {
+ assert.equal(typeof templateCompiler._Ember.ENV, 'object', '_Ember.ENV is present');
+ assert.notEqual(typeof templateCompiler._Ember.ENV, null, '_Ember.ENV is not null');
+ });
+
+ test('can access _Ember.FEATURES (private API used by ember-cli-htmlbars)', function(assert) {
+ assert.equal(typeof templateCompiler._Ember.FEATURES, 'object', '_Ember.FEATURES is present');
+ assert.notEqual(typeof templateCompiler._Ember.FEATURES, null, '_Ember.FEATURES is not null');
+ });
+
+ test('can access _Ember.VERSION (private API used by ember-cli-htmlbars)', function(assert) {
+ assert.equal(typeof templateCompiler._Ember.VERSION, 'string', '_Ember.VERSION is present');
+ });
+
+ test('can generate a template with a server side generated `id`', function(assert) {
+ var TemplateJSON = JSON.parse(templateCompiler.precompile('<div>simple text</div>'));
+
+ assert.ok(TemplateJSON.id, 'an `id` was generated');
+ });
});
| false |
Other
|
emberjs
|
ember.js
|
cf2ae90919218d505ae983a7727b284b56e98951.json
|
add buildRouteInfoMetadata docs
|
packages/@ember/-internals/routing/lib/system/route-info.ts
|
@@ -65,6 +65,14 @@
@public
*/
+/**
+ Will contain the result `Route#buildRouteInfoMetadata`
+ for the corresponding Route.
+ @property {Any} metadata
+ @category ember-routing-build-routeinfo-metadata
+ @public
+*/
+
/**
A reference to the parent route's RouteInfo.
This can be used to traverse upward to the topmost
| true |
Other
|
emberjs
|
ember.js
|
cf2ae90919218d505ae983a7727b284b56e98951.json
|
add buildRouteInfoMetadata docs
|
packages/@ember/-internals/routing/lib/system/route.ts
|
@@ -2559,6 +2559,41 @@ if (EMBER_ROUTING_ROUTER_SERVICE && ROUTER_EVENTS) {
if (EMBER_ROUTING_BUILD_ROUTEINFO_METADATA) {
Route.reopen({
+ /**
+ Allows you to produce custom metadata for the route.
+ The return value of this method will be attatched to
+ its corresponding RouteInfoWithAttributes obejct.
+
+ Example
+
+ ```app/routes/posts/index.js
+ import Route from '@ember/routing/route';
+
+ export default Route.extend({
+ buildRouteInfoMetadata() {
+ return { title: 'Posts Page' }
+ }
+ });
+ ```
+ ```app/routes/application.js
+ import Route from '@ember/routing/route';
+ import { inject as service } from '@ember/service';
+
+ export default Route.extend({
+ router: service('router'),
+ init() {
+ this._super(...arguments);
+ this.router.on('routeDidChange', transition => {
+ document.title = transition.to.metadata.title;
+ // would update document's title to "Posts Page"
+ });
+ }
+ });
+ ```
+
+ @return any
+ @category ember-routing-build-routeinfo-metadata
+ */
buildRouteInfoMetadata() {},
});
}
| true |
Other
|
emberjs
|
ember.js
|
cf2ae90919218d505ae983a7727b284b56e98951.json
|
add buildRouteInfoMetadata docs
|
tests/docs/expected.js
|
@@ -347,6 +347,7 @@ module.exports = {
'merge',
'mergedProperties',
'meta',
+ 'metadata',
'metaForProperty',
'method',
'min',
| true |
Other
|
emberjs
|
ember.js
|
9efdb71ca63b38743e5a0a347173d9bfe2dd4c92.json
|
yarn.lock: Unify duplicate dependencies
|
yarn.lock
|
@@ -754,15 +754,7 @@ abbrev@1:
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
-accepts@~1.3.4:
- version "1.3.4"
- resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.4.tgz#86246758c7dd6d21a6474ff084a4740ec05eb21f"
- integrity sha1-hiRnWMfdbSGmR0/whKR0DsBesh8=
- dependencies:
- mime-types "~2.1.16"
- negotiator "0.6.1"
-
-accepts@~1.3.5:
+accepts@~1.3.4, accepts@~1.3.5:
version "1.3.5"
resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2"
integrity sha1-63d99gEXI6OxTopywIBcjoZ0a9I=
@@ -822,15 +814,6 @@ ajv@^6.5.3, ajv@^6.6.1:
json-schema-traverse "^0.4.1"
uri-js "^4.2.2"
-align-text@^0.1.1, align-text@^0.1.3:
- version "0.1.4"
- resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117"
- integrity sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=
- dependencies:
- kind-of "^3.0.2"
- longest "^1.0.1"
- repeat-string "^1.5.2"
-
amd-name-resolver@^1.2.0, amd-name-resolver@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/amd-name-resolver/-/amd-name-resolver-1.2.1.tgz#cea40abff394268307df647ce340c83eda6e9cfc"
@@ -879,14 +862,7 @@ ansi-styles@^2.0.1, ansi-styles@^2.2.1:
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=
-ansi-styles@^3.0.0, ansi-styles@^3.1.0:
- version "3.2.0"
- resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88"
- integrity sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==
- dependencies:
- color-convert "^1.9.0"
-
-ansi-styles@^3.2.0, ansi-styles@^3.2.1:
+ansi-styles@^3.0.0, ansi-styles@^3.2.0, ansi-styles@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==
@@ -1063,19 +1039,12 @@ async-promise-queue@^1.0.3, async-promise-queue@^1.0.4:
async "^2.4.1"
debug "^2.6.8"
-async@^1.4.0, async@^1.5.2:
+async@^1.5.2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=
-async@^2.4.1:
- version "2.6.0"
- resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4"
- integrity sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==
- dependencies:
- lodash "^4.14.0"
-
-async@^2.5.0:
+async@^2.4.1, async@^2.5.0:
version "2.6.1"
resolved "https://registry.yarnpkg.com/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610"
integrity sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==
@@ -1400,22 +1369,6 @@ bluebird@^3.1.1, bluebird@^3.4.6:
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.1.tgz#d9551f9de98f1fcda1e683d17ee91a0602ee2eb9"
integrity sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==
[email protected]:
- version "1.18.2"
- resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454"
- integrity sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=
- 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"
-
[email protected]:
version "1.18.3"
resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.3.tgz#5b292198ffdd553b3a0f20ded0592b956955c8b4"
@@ -1482,23 +1435,6 @@ braces@^1.8.2:
preserve "^0.2.0"
repeat-element "^1.1.2"
-braces@^2.3.0:
- version "2.3.0"
- resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.0.tgz#a46941cb5fb492156b3d6a656e06c35364e3e66e"
- integrity sha512-P4O8UQRdGiMLWSizsApmXVQDBS6KCt7dSexgLKBmH5Hr1CZq7vsnscFh8oR1sP1ab1Zj0uCHCEzZeV6SfUf3rA==
- dependencies:
- arr-flatten "^1.1.0"
- array-unique "^0.3.2"
- define-property "^1.0.0"
- extend-shallow "^2.0.1"
- fill-range "^4.0.0"
- isobject "^3.0.1"
- repeat-element "^1.1.2"
- snapdragon "^0.8.1"
- snapdragon-node "^2.0.1"
- split-string "^3.0.2"
- to-regex "^3.0.1"
-
braces@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.1.tgz#7086c913b4e5a08dbe37ac0ee6a2500c4ba691bb"
@@ -1641,19 +1577,7 @@ broccoli-config-replace@^1.1.2:
debug "^2.2.0"
fs-extra "^0.24.0"
-broccoli-debug@^0.6.4:
- version "0.6.4"
- resolved "https://registry.yarnpkg.com/broccoli-debug/-/broccoli-debug-0.6.4.tgz#986eb3d2005e00e3bb91f9d0a10ab137210cd150"
- integrity sha512-CixMUndBqTljCc26i6ubhBrGbAWXpWBsGJFce6ZOr76Tul2Ev1xxM0tmf7OjSzdYhkr5BrPd/CNbR9VMPi+NBg==
- dependencies:
- broccoli-plugin "^1.2.1"
- fs-tree-diff "^0.5.2"
- heimdalljs "^0.2.1"
- heimdalljs-logger "^0.1.7"
- symlink-or-copy "^1.1.8"
- tree-sync "^1.2.2"
-
-broccoli-debug@^0.6.5:
+broccoli-debug@^0.6.4, broccoli-debug@^0.6.5:
version "0.6.5"
resolved "https://registry.yarnpkg.com/broccoli-debug/-/broccoli-debug-0.6.5.tgz#164a5cdafd8936e525e702bf8f91f39d758e2e78"
integrity sha512-RIVjHvNar9EMCLDW/FggxFRXqpjhncM/3qq87bn/y+/zR9tqEkHvTqbyOc4QnB97NO2m6342w4wGkemkaeOuWg==
@@ -1755,15 +1679,7 @@ broccoli-merge-trees@^2.0.0:
broccoli-plugin "^1.3.0"
merge-trees "^1.0.1"
-broccoli-merge-trees@^3.0.0:
- version "3.0.1"
- resolved "https://registry.yarnpkg.com/broccoli-merge-trees/-/broccoli-merge-trees-3.0.1.tgz#545dfe9f695cec43372b3ee7e63c7203713ea554"
- integrity sha512-EFPBLbCoyCLdjJx0lxn+acWXK/GAZesXokS4OsF7HuB+WdnV76HVJPdfwp9TaXaUkrtb7eU+ymh9tY9wOGQjMQ==
- dependencies:
- broccoli-plugin "^1.3.0"
- merge-trees "^2.0.0"
-
-broccoli-merge-trees@^3.0.1, broccoli-merge-trees@^3.0.2:
+broccoli-merge-trees@^3.0.0, broccoli-merge-trees@^3.0.1, broccoli-merge-trees@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/broccoli-merge-trees/-/broccoli-merge-trees-3.0.2.tgz#f33b451994225522b5c9bcf27d59decfd8ba537d"
integrity sha512-ZyPAwrOdlCddduFbsMyyFzJUrvW6b04pMvDiAQZrCwghlvgowJDY+EfoXn+eR1RRA5nmGHJ+B68T63VnpRiT1A==
@@ -1851,17 +1767,7 @@ [email protected]:
rimraf "^2.3.4"
symlink-or-copy "^1.0.1"
-broccoli-plugin@^1.0.0, broccoli-plugin@^1.1.0, broccoli-plugin@^1.2.0, broccoli-plugin@^1.2.1, broccoli-plugin@^1.3.0:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/broccoli-plugin/-/broccoli-plugin-1.3.0.tgz#bee704a8e42da08cb58e513aaa436efb7f0ef1ee"
- integrity sha1-vucEqOQtoIy1jlE6qkNu+38O8e4=
- dependencies:
- promise-map-series "^0.2.1"
- quick-temp "^0.1.3"
- rimraf "^2.3.4"
- symlink-or-copy "^1.1.8"
-
-broccoli-plugin@^1.3.1:
+broccoli-plugin@^1.0.0, broccoli-plugin@^1.1.0, broccoli-plugin@^1.2.0, broccoli-plugin@^1.2.1, broccoli-plugin@^1.3.0, broccoli-plugin@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/broccoli-plugin/-/broccoli-plugin-1.3.1.tgz#a26315732fb99ed2d9fb58f12a1e14e986b4fabd"
integrity sha512-DW8XASZkmorp+q7J4EeDEZz+LoyKLAd2XZULXyD9l4m9/hAKV3vjHmB1kiUshcWAYMgTP1m2i4NnqCE/23h6AQ==
@@ -2142,11 +2048,6 @@ camelcase-keys@^4.0.0:
map-obj "^2.0.0"
quick-lru "^1.0.0"
-camelcase@^1.0.2:
- version "1.2.1"
- resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39"
- integrity sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=
-
camelcase@^2.0.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f"
@@ -2184,14 +2085,6 @@ cardinal@^1.0.0:
ansicolors "~0.2.1"
redeyed "~1.0.0"
-center-align@^0.1.1:
- version "0.1.3"
- resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad"
- integrity sha1-qg0yYptu6XIgBBHL1EYckHvCt60=
- dependencies:
- align-text "^0.1.3"
- lazy-cache "^1.0.3"
-
chai-as-promised@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/chai-as-promised/-/chai-as-promised-6.0.0.tgz#1a02a433a6f24dafac63b9c96fa1684db1aa8da6"
@@ -2256,25 +2149,7 @@ chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
strip-ansi "^3.0.0"
supports-color "^2.0.0"
-chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0:
- version "2.3.0"
- resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba"
- integrity sha512-Az5zJR2CBujap2rqXGaJKaPHyJ0IrUimvYNX+ncCy8PJP4ltOGTrHUIo097ZaL2zMeKYpiCdqDvS6zdrTFok3Q==
- dependencies:
- ansi-styles "^3.1.0"
- escape-string-regexp "^1.0.5"
- supports-color "^4.0.0"
-
-chalk@^2.3.1:
- version "2.3.2"
- resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.2.tgz#250dc96b07491bfd601e648d66ddf5f60c7a5c65"
- integrity sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==
- dependencies:
- ansi-styles "^3.2.1"
- escape-string-regexp "^1.0.5"
- supports-color "^5.3.0"
-
-chalk@^2.4.1:
+chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.4.1:
version "2.4.1"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e"
integrity sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==
@@ -2392,15 +2267,6 @@ cli-width@^2.0.0:
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=
-cliui@^2.1.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1"
- integrity sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=
- dependencies:
- center-align "^0.1.1"
- right-align "^0.1.1"
- wordwrap "0.0.2"
-
cliui@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.0.0.tgz#743d4650e05f36d1ed2575b59638d87322bfbbcc"
@@ -2422,12 +2288,7 @@ clone@^1.0.2:
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4=
-clone@^2.0.0:
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.1.tgz#d217d1e961118e3ac9a4b8bba3285553bf647cdb"
- integrity sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=
-
-clone@^2.1.2:
+clone@^2.0.0, clone@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f"
integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=
@@ -2481,7 +2342,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563"
integrity sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==
[email protected], commander@^2.6.0:
[email protected]:
version "2.12.2"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.12.2.tgz#0f5946c427ed9ec0d91a46bb9def53e54650e555"
integrity sha512-BFnaq5ZOGcDN7FlrtBT4xxkgIToalIIxwjxLWVJ8bGTpe1LroqMiqQXdA7ygc7CRvaYS+9zfPGFnJqFSayx+AA==
@@ -2493,12 +2354,7 @@ [email protected]:
dependencies:
graceful-readlink ">= 1.0.0"
-commander@^2.12.1:
- version "2.13.0"
- resolved "https://registry.yarnpkg.com/commander/-/commander-2.13.0.tgz#6964bca67685df7c1f1430c584f07d7597885b9c"
- integrity sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==
-
-commander@^2.15.1:
+commander@^2.12.1, commander@^2.15.1, commander@^2.6.0:
version "2.19.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a"
integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==
@@ -2630,18 +2486,13 @@ continuable-cache@^0.3.1:
resolved "https://registry.yarnpkg.com/continuable-cache/-/continuable-cache-0.3.1.tgz#bd727a7faed77e71ff3985ac93351a912733ad0f"
integrity sha1-vXJ6f67XfnH/OYWskzUakSczrQ8=
-convert-source-map@^1.1.0:
+convert-source-map@^1.1.0, convert-source-map@^1.5.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20"
integrity sha512-eFu7XigvxdZ1ETfbgPBohgyQ/Z++C0eEhTor0qRwBw9unw+L0/6V8wkSuGgzdThkiS5lSpdptOQPD8Ak40a+7A==
dependencies:
safe-buffer "~5.1.1"
-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"
- integrity sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=
-
[email protected]:
version "1.0.6"
resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c"
@@ -2657,12 +2508,7 @@ copy-descriptor@^0.1.0:
resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=
-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"
- integrity sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4=
-
-core-js@^2.5.7:
+core-js@^2.4.0, core-js@^2.5.0, core-js@^2.5.7:
version "2.6.0"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.0.tgz#1e30793e9ee5782b307e37ffa22da0eacddd84d4"
integrity sha512-kLRC6ncVpuEW/1kwrOXYX6KQASCVtrh1gQr/UiaVgFlf9WE5Vp+lNe5+h3LuMr5PAucWnnEXwH0nQHRH/gpGtw==
@@ -2793,7 +2639,7 @@ decamelize-keys@^1.0.0:
decamelize "^1.1.0"
map-obj "^1.0.0"
-decamelize@^1.0.0, decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2:
+decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2:
version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=
@@ -2829,11 +2675,6 @@ deep-extend@^0.6.0:
resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==
-deep-extend@~0.4.0:
- version "0.4.2"
- resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f"
- integrity sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=
-
deep-is@~0.1.3:
version "0.1.3"
resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
@@ -2898,11 +2739,6 @@ delegates@^1.0.0:
resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"
integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=
[email protected], depd@~1.1.1:
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359"
- integrity sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=
-
depd@~1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
@@ -2945,12 +2781,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/diff/-/diff-3.3.1.tgz#aa8567a6eed03c531fc89d3f711cd0e5259dec75"
integrity sha512-MKPHZDMB0o6yHyDryUOScqZibp914ksXwAMYMTHj6KO8UeKsRYNJD3oNCKjTqZon+V488P7N/HzXF8t7ZR95ww==
-diff@^3.2.0:
- version "3.4.0"
- resolved "https://registry.yarnpkg.com/diff/-/diff-3.4.0.tgz#b1d85507daf3964828de54b37d0d73ba67dda56c"
- integrity sha512-QpVuMTEoJMF7cKzi6bvWhRulU1fZqZnvyVQgNhPaxxuTYwyjn/j1v9falseQ/uXWwPnO56RBfwtg4h/EQXmucA==
-
-diff@^3.5.0:
+diff@^3.2.0, diff@^3.5.0:
version "3.5.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==
@@ -3133,15 +2964,7 @@ ember-cli-string-utils@^1.1.0:
resolved "https://registry.yarnpkg.com/ember-cli-string-utils/-/ember-cli-string-utils-1.1.0.tgz#39b677fc2805f55173735376fcef278eaa4452a1"
integrity sha1-ObZ3/CgF9VFzc1N2/O8njqpEUqE=
-ember-cli-version-checker@^2.1.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/ember-cli-version-checker/-/ember-cli-version-checker-2.1.0.tgz#fc79a56032f3717cf844ada7cbdec1a06fedb604"
- integrity sha512-ssiNyVTp+PphroFum8guHX9py4xU1PCxkRYgb25NxumgjpKTPjhkgTfpRRKXlIQe+/wVMmhf+Uv6w9vSLZKWKQ==
- dependencies:
- resolve "^1.3.3"
- semver "^5.3.0"
-
-ember-cli-version-checker@^2.1.2:
+ember-cli-version-checker@^2.1.0, ember-cli-version-checker@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/ember-cli-version-checker/-/ember-cli-version-checker-2.1.2.tgz#305ce102390c66e4e0f1432dea9dc5c7c19fed98"
integrity sha512-sjkHGr4IGXnO3EUcY21380Xo9Qf6bC8HWH4D62bVnrQop/8uha5XgMQRoAflMCeH6suMrezQL287JUoYc2smEw==
@@ -3274,12 +3097,7 @@ ember-router-generator@^1.2.3:
dependencies:
recast "^0.11.3"
-encodeurl@~1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.1.tgz#79e3d58655346909fe6f0f45a5de68103b294d20"
- integrity sha1-eePVhlU0aQn+bw9Fpd5oEDspTSA=
-
-encodeurl@~1.0.2:
+encodeurl@~1.0.1, encodeurl@~1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=
@@ -3341,14 +3159,7 @@ entities@~1.1.1:
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0"
integrity sha1-blwtClYhtdra7O+AuQ7ftc13cvA=
-error-ex@^1.2.0:
- version "1.3.1"
- resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc"
- integrity sha1-+FWobOYa3E6GIcPNoh56dhLDqNw=
- dependencies:
- is-arrayish "^0.2.1"
-
-error-ex@^1.3.1:
+error-ex@^1.2.0, error-ex@^1.3.1:
version "1.3.2"
resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"
integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==
@@ -3651,11 +3462,6 @@ event-emitter@~0.3.5:
d "1"
es5-ext "~0.10.14"
[email protected]:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-1.2.0.tgz#1c86991d816ad1e504750e73874224ecf3bec508"
- integrity sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=
-
eventemitter3@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.0.tgz#090b4d6cdbd645ed10bf750d4b5407942d7ba163"
@@ -3790,43 +3596,7 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2:
dependencies:
homedir-polyfill "^1.0.1"
-express@^4.10.7, express@^4.13.1, express@^4.16.2:
- version "4.16.2"
- resolved "https://registry.yarnpkg.com/express/-/express-4.16.2.tgz#e35c6dfe2d64b7dca0a5cd4f21781be3299e076c"
- integrity sha1-41xt/i1kt9ygpc1PIXgb4ymeB2w=
- dependencies:
- accepts "~1.3.4"
- array-flatten "1.1.1"
- body-parser "1.18.2"
- content-disposition "0.5.2"
- content-type "~1.0.4"
- cookie "0.3.1"
- cookie-signature "1.0.6"
- debug "2.6.9"
- depd "~1.1.1"
- encodeurl "~1.0.1"
- escape-html "~1.0.3"
- 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.2"
- path-to-regexp "0.1.7"
- proxy-addr "~2.0.2"
- qs "6.5.1"
- range-parser "~1.2.0"
- 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.1"
- vary "~1.1.2"
-
-express@^4.16.3:
+express@^4.10.7, express@^4.13.1, express@^4.16.2, express@^4.16.3:
version "4.16.4"
resolved "https://registry.yarnpkg.com/express/-/express-4.16.4.tgz#fddef61926109e24c515ea97fd2f1bdbf62df12e"
integrity sha512-j12Uuyb4FMrd/qQAm6uCHAkPtO8FDTRJZBDd5D2KOL2eLaz1yUNdUB/NOIyq0iU4q4cFarsUCrnFDPBcnksuOg==
@@ -3907,20 +3677,6 @@ extglob@^0.3.1:
dependencies:
is-extglob "^1.0.0"
-extglob@^2.0.2:
- version "2.0.3"
- resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.3.tgz#55e019d0c95bf873949c737b7e5172dba84ebb29"
- integrity sha512-AyptZexgu7qppEPq59DtN/XJGZDrLcVxSHai+4hdgMMS9EpF4GBvygcWWApno8lL9qSjVpYt7Raao28qzJX1ww==
- dependencies:
- array-unique "^0.3.2"
- define-property "^1.0.0"
- expand-brackets "^2.1.4"
- extend-shallow "^2.0.1"
- fragment-cache "^0.2.1"
- regex-not "^1.0.0"
- snapdragon "^0.8.1"
- to-regex "^3.0.1"
-
extglob@^2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543"
@@ -4053,7 +3809,7 @@ fill-range@^4.0.0:
repeat-string "^1.6.1"
to-regex-range "^2.1.0"
[email protected], finalhandler@^1.0.2:
[email protected]:
version "1.1.0"
resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.0.tgz#ce0b6855b45853e791b2fcc680046d88253dd7f5"
integrity sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=
@@ -4066,7 +3822,7 @@ [email protected], finalhandler@^1.0.2:
statuses "~1.3.1"
unpipe "~1.0.0"
[email protected]:
[email protected], finalhandler@^1.0.2:
version "1.1.1"
resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.1.tgz#eebf4ed840079c83f4249038c9d703008301b105"
integrity sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==
@@ -4559,7 +4315,7 @@ growly@^1.3.0:
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=
-handlebars@^4.0.11:
+handlebars@^4.0.11, handlebars@^4.0.4, handlebars@^4.0.6:
version "4.0.12"
resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.12.tgz#2c15c8a96d46da5e266700518ba8cb8d919d5bc5"
integrity sha512-RhmTekP+FZL+XNhwS1Wf+bTTZpdLougwt5pcgA1tuz6Jcx0fpH/7z0qd71RKnZHBCxIRBHfBOnio4gViPemNzA==
@@ -4570,17 +4326,6 @@ handlebars@^4.0.11:
optionalDependencies:
uglify-js "^3.1.4"
-handlebars@^4.0.4, handlebars@^4.0.6:
- version "4.0.11"
- resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.11.tgz#630a35dfe0294bc281edae6ffc5d329fc7982dcc"
- integrity sha1-Ywo13+ApS8KB7a5v/F0yn8eYLcw=
- dependencies:
- async "^1.4.0"
- optimist "^0.6.1"
- source-map "^0.4.4"
- optionalDependencies:
- uglify-js "^2.6"
-
has-ansi@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-1.0.3.tgz#c0b5b1615d9e382b0ff67169d967b425e48ca538"
@@ -4738,14 +4483,7 @@ [email protected]:
dependencies:
rsvp "~3.2.1"
-heimdalljs@^0.2.0, heimdalljs@^0.2.1, heimdalljs@^0.2.3:
- version "0.2.5"
- resolved "https://registry.yarnpkg.com/heimdalljs/-/heimdalljs-0.2.5.tgz#6aa54308eee793b642cff9cf94781445f37730ac"
- integrity sha1-aqVDCO7nk7ZCz/nPlHgURfN3MKw=
- dependencies:
- rsvp "~3.2.1"
-
-heimdalljs@^0.2.5:
+heimdalljs@^0.2.0, heimdalljs@^0.2.1, heimdalljs@^0.2.3, heimdalljs@^0.2.5:
version "0.2.6"
resolved "https://registry.yarnpkg.com/heimdalljs/-/heimdalljs-0.2.6.tgz#b0eebabc412813aeb9542f9cc622cb58dbdcd9fe"
integrity sha512-o9bd30+5vLBvBtzCPwwGqpry2+n0Hi6H1+qwt6y+0kwRHGGF8TFIhJPmnuM0xO97zaKrDZMwO/V56fAnn8m/tA==
@@ -4772,12 +4510,7 @@ homedir-polyfill@^1.0.1:
dependencies:
parse-passwd "^1.0.0"
-hosted-git-info@^2.1.4:
- version "2.5.0"
- resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c"
- integrity sha512-pNgbURSuab90KbTqvRPsseaTxOJCZBD0a7t+haSN33piP9cCM4l0CqdzAif2hUqm716UovKB2ROmiabGAKVXyg==
-
-hosted-git-info@^2.6.0:
+hosted-git-info@^2.1.4, hosted-git-info@^2.6.0:
version "2.7.1"
resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.7.1.tgz#97f236977bd6e125408930ff6de3eec6281ec047"
integrity sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==
@@ -4800,17 +4533,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2"
integrity sha512-5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==
[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"
- integrity sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=
- dependencies:
- depd "1.1.1"
- inherits "2.0.3"
- setprototypeof "1.0.3"
- statuses ">= 1.3.1 < 2"
-
[email protected], http-errors@~1.6.3:
[email protected], http-errors@~1.6.2, http-errors@~1.6.3:
version "1.6.3"
resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d"
integrity sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=
@@ -4825,15 +4548,7 @@ http-parser-js@>=0.4.0:
resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.4.9.tgz#ea1a04fb64adff0242e9974f297dd4c3cad271e1"
integrity sha1-6hoE+2St/wJC6ZdPKX3Uw8rSceE=
-http-proxy@^1.13.1:
- version "1.16.2"
- resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.16.2.tgz#06dff292952bf64dbe8471fa9df73066d4f37742"
- integrity sha1-Bt/ykpUr9k2+hHH6nfcwZtTzd0I=
- dependencies:
- eventemitter3 "1.x.x"
- requires-port "1.x.x"
-
-http-proxy@^1.17.0:
+http-proxy@^1.13.1, http-proxy@^1.17.0:
version "1.17.0"
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.17.0.tgz#7ad38494658f84605e2f6db4436df410f4e5be9a"
integrity sha512-Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==
@@ -4868,19 +4583,14 @@ https-proxy-agent@^2.1.0:
agent-base "^4.1.0"
debug "^3.1.0"
[email protected], iconv-lite@^0.4.13:
- version "0.4.19"
- resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b"
- integrity sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==
-
[email protected]:
version "0.4.23"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.23.tgz#297871f63be507adcfbfca715d0cd0eed84e9a63"
integrity sha512-neyTUVFtahjf0mB3dZT77u+8O0QB89jFdnBkd5P1JgYPbPaia3gXXOVL2fq8VyU2gMMD7SaN7QukTB/pmXYvDA==
dependencies:
safer-buffer ">= 2.1.2 < 3"
-iconv-lite@^0.4.24, iconv-lite@^0.4.4:
+iconv-lite@^0.4.13, iconv-lite@^0.4.24, iconv-lite@^0.4.4:
version "0.4.24"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
@@ -5029,11 +4739,6 @@ invert-kv@^1.0.0:
resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6"
integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY=
[email protected]:
- version "1.5.2"
- resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.5.2.tgz#d4b505bde9946987ccf0fc58d9010ff9607e3fa0"
- integrity sha1-1LUFvemUaYfM8PxY2QEP+WB+P6A=
-
[email protected]:
version "1.8.0"
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.8.0.tgz#eaa33d6ddd7ace8f7f6fe0c9ca0440e706738b1e"
@@ -5218,13 +4923,6 @@ is-object@^1.0.1:
resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.1.tgz#8952688c5ec2ffd6b03ecc85e769e02903083470"
integrity sha1-iVJojF7C/9awPsyF52ngKQMINHA=
-is-odd@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/is-odd/-/is-odd-1.0.0.tgz#3b8a932eb028b3775c39bb09e91767accdb69088"
- integrity sha1-O4qTLrAos3dcObsJ6RdnrM22kIg=
- dependencies:
- is-number "^3.0.0"
-
is-odd@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/is-odd/-/is-odd-2.0.0.tgz#7646624671fd7ea558ccd9a2795182f2958f1b24"
@@ -5336,12 +5034,7 @@ is-utf8@^0.2.0:
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=
-is-windows@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.1.tgz#310db70f742d259a16a369202b51af84233310d9"
- integrity sha1-MQ23D3QtJZoWo2kgK1GvhCMzENk=
-
-is-windows@^1.0.2:
+is-windows@^1.0.1, is-windows@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==
@@ -5432,22 +5125,14 @@ js-tokens@^4.0.0:
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
-js-yaml@^3.12.0:
+js-yaml@^3.12.0, js-yaml@^3.2.5, js-yaml@^3.2.7, js-yaml@^3.7.0:
version "3.12.0"
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.0.tgz#eaed656ec8344f10f527c6bfa1b6e2244de167d1"
integrity sha512-PIt2cnwmPfL4hKNwqeiuz4bKfnzHTBv6HyVgjahA6mPLwPDzjDWrplJBMjHUFxku/N3FlmrbyPclad+I+4mJ3A==
dependencies:
argparse "^1.0.7"
esprima "^4.0.0"
-js-yaml@^3.2.5, js-yaml@^3.2.7, js-yaml@^3.7.0:
- version "3.10.0"
- resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc"
- integrity sha512-O2v52ffjLa9VeM43J4XocZE//WT9N0IiwDa3KSHH7Tu8CtH+1qM8SIZvnsTh6v+4yFy5KUY3BHUVwjpfAWsjIA==
- dependencies:
- argparse "^1.0.7"
- esprima "^4.0.0"
-
jsesc@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b"
@@ -5552,7 +5237,7 @@ kind-of@^4.0.0:
dependencies:
is-buffer "^1.1.5"
-kind-of@^5.0.0, kind-of@^5.0.2:
+kind-of@^5.0.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d"
integrity sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==
@@ -5569,11 +5254,6 @@ klaw@^1.0.0:
optionalDependencies:
graceful-fs "^4.1.9"
-lazy-cache@^1.0.3:
- version "1.0.4"
- resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e"
- integrity sha1-odePw6UEdMuAhF07O24dpJpEbo4=
-
lazy-cache@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-2.0.2.tgz#b9190a4f913354694840859f8a8f7084d8822264"
@@ -5983,16 +5663,11 @@ lodash.keys@~2.3.0:
lodash._shimkeys "~2.3.0"
lodash.isobject "~2.3.0"
-lodash.merge@^4.3.1:
+lodash.merge@^4.3.1, lodash.merge@^4.6.0:
version "4.6.1"
resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.1.tgz#adc25d9cb99b9391c59624f379fbba60d7111d54"
integrity sha512-AOYza4+Hf5z1/0Hztxpm2/xiPZgi/cjMqdnKTUWTBSKchJlxXXuUSxCCl8rJlf4g6yww/j6mA8nC8Hw/EZWxKQ==
-lodash.merge@^4.6.0:
- version "4.6.0"
- resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.0.tgz#69884ba144ac33fe699737a6086deffadd0f89c5"
- integrity sha1-aYhLoUSsM/5plzemCG3v+t0PicU=
-
lodash.noop@~2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/lodash.noop/-/lodash.noop-2.3.0.tgz#3059d628d51bbf937cd2a0b6fc3a7f212a669c2c"
@@ -6078,12 +5753,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/lodash/-/lodash-2.4.1.tgz#5b7723034dda4d262e5a46fb2c58d7cc22f71420"
integrity sha1-W3cjA03aTSYuWkb7LFjXzCL3FCA=
-lodash@^4.0.0, lodash@^4.14.0, lodash@^4.16.1, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.3.0:
- version "4.17.4"
- resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
- integrity sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=
-
-lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.5:
+lodash@^4.0.0, lodash@^4.16.1, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0:
version "4.17.11"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==
@@ -6100,11 +5770,6 @@ [email protected]:
resolved "https://registry.yarnpkg.com/lolex/-/lolex-1.3.2.tgz#7c3da62ffcb30f0f5a80a2566ca24e45d8a01f31"
integrity sha1-fD2mL/yzDw9agKJWbKJORdigHzE=
-longest@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
- integrity sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=
-
loose-envify@^1.0.0:
version "1.3.1"
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848"
@@ -6203,18 +5868,7 @@ markdown-it@^4.3.0:
mdurl "~1.0.0"
uc.micro "^1.0.0"
-markdown-it@^8.3.1:
- version "8.4.0"
- resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-8.4.0.tgz#e2400881bf171f7018ed1bd9da441dac8af6306d"
- integrity sha512-tNuOCCfunY5v5uhcO2AUMArvKAyKMygX8tfup/JrgnsDqcCATQsAExBq7o5Ml9iMmO82bk6jYNLj6khcrl0JGA==
- dependencies:
- argparse "^1.0.7"
- entities "~1.1.1"
- linkify-it "^2.0.0"
- mdurl "^1.0.1"
- uc.micro "^1.0.3"
-
-markdown-it@^8.4.2:
+markdown-it@^8.3.1, markdown-it@^8.4.2:
version "8.4.2"
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-8.4.2.tgz#386f98998dc15a37722aa7722084f4020bdd9b54"
integrity sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ==
@@ -6358,26 +6012,7 @@ micromatch@^2.3.11:
parse-glob "^3.0.4"
regex-cache "^0.4.2"
-micromatch@^3.0.4:
- version "3.1.5"
- resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.5.tgz#d05e168c206472dfbca985bfef4f57797b4cd4ba"
- integrity sha512-ykttrLPQrz1PUJcXjwsTUjGoPJ64StIGNE2lGVD1c9CuguJ+L7/navsE8IcDNndOoCMvYV0qc/exfVbMHkUhvA==
- dependencies:
- arr-diff "^4.0.0"
- array-unique "^0.3.2"
- braces "^2.3.0"
- define-property "^1.0.0"
- extend-shallow "^2.0.1"
- extglob "^2.0.2"
- fragment-cache "^0.2.1"
- kind-of "^6.0.0"
- nanomatch "^1.2.5"
- object.pick "^1.3.0"
- regex-not "^1.0.0"
- snapdragon "^0.8.1"
- to-regex "^3.0.1"
-
-micromatch@^3.1.4:
+micromatch@^3.0.4, micromatch@^3.1.4:
version "3.1.10"
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
integrity sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==
@@ -6401,24 +6036,7 @@ micromatch@^3.1.4:
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.37.0.tgz#0b6a0ce6fdbe9576e25f1f2d2fde8830dc0ad0d8"
integrity sha512-R3C4db6bgQhlIhPU48fUtdVmKnflq+hRdad7IyKhtFj06VPNVdk2RhiYL3UjQIlso8L+YxAtFkobT0VK+S/ybg==
-mime-db@~1.30.0:
- version "1.30.0"
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01"
- integrity sha1-dMZD2i3Z1qRTmZY0ZbJtXKfXHwE=
-
-mime-db@~1.33.0:
- version "1.33.0"
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db"
- integrity sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ==
-
-mime-types@^2.1.18:
- version "2.1.18"
- resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8"
- integrity sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ==
- dependencies:
- mime-db "~1.33.0"
-
-mime-types@^2.1.19, mime-types@~2.1.18:
+mime-types@^2.1.18, mime-types@^2.1.19, mime-types@~2.1.18:
version "2.1.21"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.21.tgz#28995aa1ecb770742fe6ae7e58f9181c744b3f96"
integrity sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==
@@ -6430,13 +6048,6 @@ mime-types@~1.0.1:
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-1.0.2.tgz#995ae1392ab8affcbfcb2641dd054e943c0d5dce"
integrity sha1-mVrhOSq4r/y/yyZB3QVOlDwNXc4=
-mime-types@~2.1.15, mime-types@~2.1.16:
- version "2.1.17"
- resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a"
- integrity sha1-Cdejk/A+mVp5+K+Fe3Cp4KsWVXo=
- dependencies:
- mime-db "~1.30.0"
-
[email protected]:
version "1.4.1"
resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6"
@@ -6604,23 +6215,6 @@ nan@^2.9.2:
resolved "https://registry.yarnpkg.com/nan/-/nan-2.11.1.tgz#90e22bccb8ca57ea4cd37cc83d3819b52eea6766"
integrity sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA==
-nanomatch@^1.2.5:
- version "1.2.7"
- resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.7.tgz#53cd4aa109ff68b7f869591fdc9d10daeeea3e79"
- integrity sha512-/5ldsnyurvEw7wNpxLFgjVvBLMta43niEYOy0CJ4ntcYSbx6bugRUTQeFb4BR/WanEL1o3aQgHuVLHQaB6tOqg==
- dependencies:
- arr-diff "^4.0.0"
- array-unique "^0.3.2"
- define-property "^1.0.0"
- extend-shallow "^2.0.1"
- fragment-cache "^0.2.1"
- is-odd "^1.0.0"
- kind-of "^5.0.2"
- object.pick "^1.3.0"
- regex-not "^1.0.0"
- snapdragon "^0.8.1"
- to-regex "^3.0.1"
-
nanomatch@^1.2.9:
version "1.2.9"
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.9.tgz#879f7150cb2dab7a471259066c104eee6e0fa7c2"
@@ -6945,15 +6539,7 @@ os-tmpdir@^1.0.0, os-tmpdir@^1.0.1, os-tmpdir@~1.0.1, os-tmpdir@~1.0.2:
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=
-osenv@^0.1.0, osenv@^0.1.3, osenv@^0.1.4:
- version "0.1.4"
- resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644"
- integrity sha1-Qv5tWVPfBsgGS+bxdsPQWqqjRkQ=
- dependencies:
- os-homedir "^1.0.0"
- os-tmpdir "^1.0.0"
-
-osenv@^0.1.5:
+osenv@^0.1.0, osenv@^0.1.3, osenv@^0.1.4, osenv@^0.1.5:
version "0.1.5"
resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410"
integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==
@@ -7277,11 +6863,6 @@ private@^0.1.6, private@^0.1.7, private@~0.1.5:
resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
integrity sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==
-process-nextick-args@~1.0.6:
- version "1.0.7"
- resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
- integrity sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=
-
process-nextick-args@~2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa"
@@ -7315,14 +6896,6 @@ promise.prototype.finally@^3.1.0:
es-abstract "^1.9.0"
function-bind "^1.1.1"
-proxy-addr@~2.0.2:
- version "2.0.2"
- resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.2.tgz#6571504f47bb988ec8180253f85dd7e14952bdec"
- integrity sha1-ZXFQT0e7mI7IGAJT+F3X4UlSvew=
- dependencies:
- forwarded "~0.1.2"
- ipaddr.js "1.5.2"
-
proxy-addr@~2.0.4:
version "2.0.4"
resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.4.tgz#ecfc733bf22ff8c6f407fa275327b9ab67e48b93"
@@ -7383,12 +6956,7 @@ q@~0.9.6:
resolved "https://registry.yarnpkg.com/q/-/q-0.9.7.tgz#4de2e6cb3b29088c9e4cbc03bf9d42fb96ce2f75"
integrity sha1-TeLmyzspCIyeTLwDv51C+5bOL3U=
[email protected], qs@^6.4.0:
- version "6.5.1"
- resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8"
- integrity sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==
-
[email protected]:
[email protected], qs@^6.4.0:
version "6.5.2"
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==
@@ -7460,16 +7028,6 @@ range-parser@~1.2.0:
resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
integrity sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=
[email protected]:
- version "2.3.2"
- resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89"
- integrity sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=
- dependencies:
- bytes "3.0.0"
- http-errors "1.6.2"
- iconv-lite "0.4.19"
- unpipe "1.0.0"
-
[email protected]:
version "2.3.3"
resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.3.tgz#1b324ece6b5706e153855bc1148c65bb7f6ea0c3"
@@ -7488,17 +7046,7 @@ raw-body@~1.1.0:
bytes "1"
string_decoder "0.10"
-rc@^1.0.1, rc@^1.1.6:
- version "1.2.2"
- resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.2.tgz#d8ce9cb57e8d64d9c7badd9876c7c34cbe3c7077"
- integrity sha1-2M6ctX6NZNnHut2YdsfDTL48cHc=
- dependencies:
- deep-extend "~0.4.0"
- ini "~1.3.0"
- minimist "^1.2.0"
- strip-json-comments "~2.0.1"
-
-rc@^1.2.7:
+rc@^1.0.1, rc@^1.1.6, rc@^1.2.7:
version "1.2.8"
resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
@@ -7559,7 +7107,7 @@ read-pkg@^3.0.0:
normalize-package-data "^2.3.2"
path-type "^3.0.0"
-readable-stream@^2.0.0:
+readable-stream@^2.0.0, readable-stream@^2.0.6, readable-stream@^2.2.2:
version "2.3.6"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==
@@ -7572,19 +7120,6 @@ readable-stream@^2.0.0:
string_decoder "~1.1.1"
util-deprecate "~1.0.1"
-readable-stream@^2.0.6, readable-stream@^2.2.2:
- version "2.3.3"
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c"
- integrity sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==
- dependencies:
- core-util-is "~1.0.0"
- inherits "~2.0.3"
- isarray "~1.0.0"
- process-nextick-args "~1.0.6"
- safe-buffer "~5.1.1"
- string_decoder "~1.0.3"
- util-deprecate "~1.0.1"
-
readable-stream@~1.0.2:
version "1.0.34"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
@@ -7659,14 +7194,7 @@ regex-cache@^0.4.2:
dependencies:
is-equal-shallow "^0.1.3"
-regex-not@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.0.tgz#42f83e39771622df826b02af176525d6a5f157f9"
- integrity sha1-Qvg+OXcWIt+CawKvF2Ul1qXxV/k=
- dependencies:
- extend-shallow "^2.0.1"
-
-regex-not@^1.0.2:
+regex-not@^1.0.0, regex-not@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c"
integrity sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==
@@ -7788,7 +7316,7 @@ requireindex@~1.1.0:
resolved "https://registry.yarnpkg.com/requireindex/-/requireindex-1.1.0.tgz#e5404b81557ef75db6e49c5a72004893fe03e162"
integrity sha1-5UBLgVV+91225JxacgBIk/4D4WI=
[email protected], requires-port@^1.0.0:
+requires-port@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=
@@ -7824,21 +7352,14 @@ resolve-url@^0.2.1:
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
[email protected], resolve@^1.3.2, resolve@^1.3.3, resolve@^1.4.0, resolve@^1.5.0:
[email protected]:
version "1.5.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36"
integrity sha512-hgoSGrc3pjzAPHNBg+KnFcK2HwlHTs/YrAGUr6qgTVUZmXv1UEXXl0bZNBKMA9fud6lRYFdPGz0xXxycPzmmiw==
dependencies:
path-parse "^1.0.5"
-resolve@^1.6.0:
- version "1.6.0"
- resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.6.0.tgz#0fbd21278b27b4004481c395349e7aba60a9ff5c"
- integrity sha512-mw7JQNu5ExIkcw4LPih0owX/TZXjD/ZUF/ZQ/pDnkw3ZKhDcZZw5klmBlj6gVMwjQ3Pz5Jgu7F3d0jcDVuEWdw==
- dependencies:
- path-parse "^1.0.5"
-
-resolve@^1.8.1:
+resolve@^1.3.2, resolve@^1.3.3, resolve@^1.4.0, resolve@^1.5.0, resolve@^1.6.0, resolve@^1.8.1:
version "1.8.1"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.8.1.tgz#82f1ec19a423ac1fbd080b0bab06ba36e84a7a26"
integrity sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==
@@ -7873,13 +7394,6 @@ ret@~0.1.10:
resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
integrity sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==
-right-align@^0.1.1:
- version "0.1.3"
- resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef"
- integrity sha1-YTObci/mo1FWiSENJOFMlhSGE+8=
- dependencies:
- align-text "^0.1.1"
-
rimraf@^2.1.4, rimraf@^2.2.8, rimraf@^2.3.4, rimraf@^2.4.1, rimraf@^2.4.3, rimraf@^2.4.4, rimraf@^2.5.3, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"
@@ -7983,12 +7497,12 @@ rxjs@^6.1.0:
dependencies:
tslib "^1.9.0"
[email protected], safe-buffer@^5.0.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
[email protected]:
version "5.1.1"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
integrity sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==
[email protected], safe-buffer@^5.1.1, safe-buffer@^5.1.2:
[email protected], safe-buffer@^5.0.1, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
version "5.1.2"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
@@ -8061,45 +7575,21 @@ sax@>=0.6.0, sax@^1.2.4:
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
-"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1:
- version "5.4.1"
- resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e"
- integrity sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==
+"semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1:
+ version "5.6.0"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
+ integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
[email protected], semver@^5.5.0:
[email protected]:
version "5.5.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab"
integrity sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==
-semver@^5.5.1:
- version "5.6.0"
- resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
- integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==
-
semver@~5.0.1:
version "5.0.3"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.0.3.tgz#77466de589cd5d3c95f138aa78bc569a3cb5d27a"
integrity sha1-d0Zt5YnNXTyV8TiqeLxWmjy10no=
[email protected]:
- version "0.16.1"
- resolved "https://registry.yarnpkg.com/send/-/send-0.16.1.tgz#a70e1ca21d1382c11d0d9f6231deb281080d7ab3"
- integrity sha512-ElCLJdJIKPk6ux/Hocwhk7NFHpI3pVm/IZOYWqUmoxcgeyM+MpxHHKhb8QmlJDX1pU6WrgaHBkVNm73Sv7uc2A==
- dependencies:
- debug "2.6.9"
- depd "~1.1.1"
- destroy "~1.0.4"
- encodeurl "~1.0.1"
- escape-html "~1.0.3"
- 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]:
version "0.16.2"
resolved "https://registry.yarnpkg.com/send/-/send-0.16.2.tgz#6ecca1e0f8c156d141597559848df64730a6bbc1"
@@ -8119,16 +7609,6 @@ [email protected]:
range-parser "~1.2.0"
statuses "~1.4.0"
[email protected]:
- version "1.13.1"
- resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.13.1.tgz#4c57d53404a761d8f2e7c1e8a18a47dbf278a719"
- integrity sha512-hSMUZrsPa/I09VYFJwa627JJkNs0NrfL1Uzuup+GqHfToR2KcsXFymXSV90hoyw3M+msjFuQly+YzIH/q0MGlQ==
- dependencies:
- encodeurl "~1.0.1"
- escape-html "~1.0.3"
- parseurl "~1.3.2"
- send "0.16.1"
-
[email protected], serve-static@^1.13.2:
version "1.13.2"
resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.13.2.tgz#095e8472fd5b46237db50ce486a43f4b86c6cec1"
@@ -8171,11 +7651,6 @@ set-value@^2.0.0:
is-plain-object "^2.0.3"
split-string "^3.0.1"
[email protected]:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04"
- integrity sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=
-
[email protected]:
version "1.1.0"
resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656"
@@ -8396,14 +7871,14 @@ source-map-url@^0.4.0:
resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"
integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=
[email protected], source-map@^0.4.2, source-map@^0.4.4:
[email protected], source-map@^0.4.2:
version "0.4.4"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b"
integrity sha1-66T12pwNyZneaAMti092FzZSA2s=
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:
+source-map@^0.5.0, source-map@^0.5.6, source-map@~0.5.0:
version "0.5.7"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
@@ -8490,11 +7965,6 @@ static-extend@^0.1.1:
define-property "^0.2.5"
object-copy "^0.1.0"
-"statuses@>= 1.3.1 < 2", statuses@~1.4.0:
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087"
- integrity sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==
-
"statuses@>= 1.4.0 < 2":
version "1.5.0"
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
@@ -8505,6 +7975,11 @@ statuses@~1.3.1:
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e"
integrity sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=
+statuses@~1.4.0:
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087"
+ integrity sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==
+
strict-uri-encode@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
@@ -8537,13 +8012,6 @@ [email protected], string_decoder@~0.10.x:
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=
-string_decoder@~1.0.3:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab"
- integrity sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==
- dependencies:
- safe-buffer "~5.1.0"
-
string_decoder@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"
@@ -8655,26 +8123,14 @@ supports-color@^2.0.0:
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=
-supports-color@^4.0.0:
- version "4.5.0"
- resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b"
- integrity sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=
- dependencies:
- has-flag "^2.0.0"
-
supports-color@^5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.3.0.tgz#5b24ac15db80fa927cf5227a4a33fd3c4c7676c0"
integrity sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==
dependencies:
has-flag "^3.0.0"
-symlink-or-copy@^1.0.0:
- version "1.1.8"
- resolved "https://registry.yarnpkg.com/symlink-or-copy/-/symlink-or-copy-1.1.8.tgz#cabe61e0010c1c023c173b25ee5108b37f4b4aa3"
- integrity sha1-yr5h4AEMHAI8Fzsl7lEIs39LSqM=
-
-symlink-or-copy@^1.0.1, symlink-or-copy@^1.1.8, symlink-or-copy@^1.2.0:
+symlink-or-copy@^1.0.0, symlink-or-copy@^1.0.1, symlink-or-copy@^1.1.8, symlink-or-copy@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/symlink-or-copy/-/symlink-or-copy-1.2.0.tgz#5d49108e2ab824a34069b68974486c290020b393"
integrity sha512-W31+GLiBmU/ZR02Ii0mVZICuNEN9daZ63xZMPDsYgPgNjMtg+atqLEGI7PPI936jYSQZxoLb/63xos8Adrx4Eg==
@@ -8880,16 +8336,7 @@ to-regex-range@^2.1.0:
is-number "^3.0.0"
repeat-string "^1.6.1"
-to-regex@^3.0.1:
- version "3.0.1"
- resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.1.tgz#15358bee4a2c83bd76377ba1dc049d0f18837aae"
- integrity sha1-FTWL7kosg712N3uh3ASdDxiDeq4=
- dependencies:
- define-property "^0.2.5"
- extend-shallow "^2.0.1"
- regex-not "^1.0.0"
-
-to-regex@^3.0.2:
+to-regex@^3.0.1, to-regex@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce"
integrity sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==
@@ -8932,17 +8379,7 @@ trim-right@^1.0.1:
resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=
-tslib@^1.8.0:
- version "1.9.0"
- resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.0.tgz#e37a86fda8cbbaf23a057f473c9f4dc64e5fc2e8"
- integrity sha512-f/qGG2tUkrISBlQZEjEqoZ3B2+npJjIf04H1wuAv9iA8i04Icp+61KRXxFdha22670NJopsZCIjhC3SnjPRKrQ==
-
-tslib@^1.8.1:
- version "1.8.1"
- resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.8.1.tgz#6946af2d1d651a7b1863b531d6e5afa41aa44eac"
- integrity sha1-aUavLR1lGnsYY7Ux1uWvpBqkTqw=
-
-tslib@^1.9.0:
+tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0:
version "1.9.3"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==
@@ -8999,14 +8436,6 @@ type-detect@^4.0.0:
resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.5.tgz#d70e5bc81db6de2a381bcaca0c6e0cbdc7635de2"
integrity sha512-N9IvkQslUGYGC24RkJk1ba99foK6TkwC2FHAEBlQFBP0RxQZS8ZpJuAZcwiY/w9ZJHFQb1aOXBI60OdxhTrwEQ==
-type-is@~1.6.15:
- version "1.6.15"
- resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.15.tgz#cab10fb4909e441c82842eafe1ad646c81804410"
- integrity sha1-yrEPtJCeRByChC6v4a1kbIGARBA=
- dependencies:
- media-typer "0.3.0"
- mime-types "~2.1.15"
-
type-is@~1.6.16:
version "1.6.16"
resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194"
@@ -9033,26 +8462,11 @@ typescript@~3.0.1:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.1.tgz#43738f29585d3a87575520a4b93ab6026ef11fdb"
integrity sha512-zQIMOmC+372pC/CCVLqnQ0zSBiY7HHodU7mpQdjiZddek4GMj31I3dUJ7gAs9o65X7mnRma6OokOkc6f9jjfBg==
-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"
- integrity sha1-ftUNXg+an7ClczeSWfKndFjVAZI=
-
-uc.micro@^1.0.5:
+uc.micro@^1.0.0, uc.micro@^1.0.1, uc.micro@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.5.tgz#0c65f15f815aa08b560a61ce8b4db7ffc3f45376"
integrity sha512-JoLI4g5zv5qNyT09f4YAvEZIIV1oOjqnewYg5D38dkQljIzpPT296dbIGvKro3digYI1bkb7W6EP1y4uDlmzLg==
-uglify-js@^2.6:
- version "2.8.29"
- resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd"
- integrity sha1-KcVzMUgFe7Th913zW3qcty5qWd0=
- dependencies:
- source-map "~0.5.1"
- yargs "~3.10.0"
- optionalDependencies:
- uglify-to-browserify "~1.0.0"
-
uglify-js@^3.1.4:
version "3.4.9"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.4.9.tgz#af02f180c1207d76432e473ed24a28f4a782bae3"
@@ -9061,11 +8475,6 @@ uglify-js@^3.1.4:
commander "~2.17.1"
source-map "~0.6.1"
-uglify-to-browserify@~1.0.0:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7"
- integrity sha1-bgkk1r2mta/jSeOabWMoUKD4grc=
-
ultron@~1.1.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c"
@@ -9277,7 +8686,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/vow/-/vow-0.4.3.tgz#d5c394d4f1e844c988100b57b540956c4a005ba6"
integrity sha1-1cOU1PHoRMmIEAtXtUCVbEoAW6Y=
[email protected], walk-sync@^0.3.0, walk-sync@^0.3.1, walk-sync@^0.3.2:
[email protected]:
version "0.3.2"
resolved "https://registry.yarnpkg.com/walk-sync/-/walk-sync-0.3.2.tgz#4827280afc42d0e035367c4a4e31eeac0d136f75"
integrity sha512-FMB5VqpLqOCcqrzA9okZFc0wq0Qbmdm396qJxvQZhDpyu0W95G9JCmp74tx7iyYnyOcBtUuKJsgIKAqjozvmmQ==
@@ -9293,7 +8702,7 @@ walk-sync@^0.2.0, walk-sync@^0.2.7:
ensure-posix-path "^1.0.0"
matcher-collection "^1.0.0"
-walk-sync@^0.3.3:
+walk-sync@^0.3.0, walk-sync@^0.3.1, walk-sync@^0.3.2, walk-sync@^0.3.3:
version "0.3.4"
resolved "https://registry.yarnpkg.com/walk-sync/-/walk-sync-0.3.4.tgz#cf78486cc567d3a96b5b2237c6108017a5ffb9a4"
integrity sha512-ttGcuHA/OBnN2pcM6johpYlEms7XpO5/fyKIr48541xXedan4roO8cS1Q2S/zbbjGH/BarYDAMeS2Mi9HE5Tig==
@@ -9352,14 +8761,7 @@ which-module@^2.0.0:
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
-which@^1.2.12, which@^1.2.14:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
- integrity sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==
- dependencies:
- isexe "^2.0.0"
-
-which@^1.2.9:
+which@^1.2.12, which@^1.2.14, which@^1.2.9:
version "1.3.1"
resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==
@@ -9373,16 +8775,6 @@ wide-align@^1.1.0:
dependencies:
string-width "^1.0.2"
[email protected]:
- version "0.1.0"
- resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d"
- integrity sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=
-
[email protected]:
- version "0.0.2"
- resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f"
- integrity sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=
-
wordwrap@~0.0.2:
version "0.0.3"
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"
@@ -9393,14 +8785,7 @@ wordwrap@~1.0.0:
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=
-workerpool@^2.3.0:
- version "2.3.0"
- resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-2.3.0.tgz#86c5cbe946b55e7dc9d12b1936c8801a6e2d744d"
- integrity sha512-JP5DpviEV84zDmz13QnD4FfRjZBjnTOYY2O4pGgxtlqLh47WOzQFHm8o17TE5OSfcDoKC6vHSrN4yPju93DW0Q==
- dependencies:
- object-assign "4.1.1"
-
-workerpool@^2.3.1:
+workerpool@^2.3.0, workerpool@^2.3.1:
version "2.3.3"
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-2.3.3.tgz#49a70089bd55e890d68cc836a19419451d7c81d7"
integrity sha512-L1ovlYHp6UObYqElXXpbd214GgbEKDED0d3sj7pRdFXjNkb2+un/AUcCkceHizO0IVI6SOGGncrcjozruCkRgA==
@@ -9535,16 +8920,6 @@ yargs@^10.0.3:
y18n "^3.2.1"
yargs-parser "^8.1.0"
-yargs@~3.10.0:
- version "3.10.0"
- resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1"
- integrity sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=
- dependencies:
- camelcase "^1.0.2"
- cliui "^2.1.0"
- decamelize "^1.0.0"
- window-size "0.1.0"
-
[email protected]:
version "2.4.1"
resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.4.1.tgz#9528f442dab1b2284e58b4379bb194e22e0c4005"
| false |
Other
|
emberjs
|
ember.js
|
e606eb2034c2005735e40c700972131bc56d251d.json
|
internal-test-helpers: Remove unused `Assertion` interface
|
packages/internal-test-helpers/lib/ember-dev/setup-qunit.ts
|
@@ -10,13 +10,6 @@ import { setupNamespacesCheck } from './namespaces';
// @ts-ignore
import { setupRunLoopCheck } from './run-loop';
-export interface Assertion {
- reset(): void;
- inject(): void;
- assert(): void;
- restore(): void;
-}
-
export default function setupQUnit({ runningProdBuild }: { runningProdBuild: boolean }) {
let assertion = new EmberDevTestHelperAssert({
runningProdBuild,
| false |
Other
|
emberjs
|
ember.js
|
dcdff0a6c51a168de226a02c6f3eacbe11a621ad.json
|
internal-test-helpers: Implement `HooksCompat` class
|
packages/internal-test-helpers/lib/ember-dev/setup-qunit.ts
|
@@ -10,6 +10,51 @@ export interface Assertion {
restore(): void;
}
+type HookFunction = (assert: Assert) => any;
+
+/**
+ * This class can be used to make `setupTest(hooks)` style functions
+ * compatible with the non-nested QUnit API.
+ */
+class HooksCompat {
+ _before: HookFunction[] = [];
+ _beforeEach: HookFunction[] = [];
+ _afterEach: HookFunction[] = [];
+ _after: HookFunction[] = [];
+
+ before(fn: HookFunction) {
+ this._before.push(fn);
+ }
+
+ beforeEach(fn: HookFunction) {
+ this._beforeEach.push(fn);
+ }
+
+ afterEach(fn: HookFunction) {
+ this._afterEach.push(fn);
+ }
+
+ after(fn: HookFunction) {
+ this._after.push(fn);
+ }
+
+ runBefore(assert: Assert) {
+ this._before.forEach(fn => fn(assert));
+ }
+
+ runBeforeEach(assert: Assert) {
+ this._beforeEach.forEach(fn => fn(assert));
+ }
+
+ runAfterEach(assert: Assert) {
+ this._afterEach.forEach(fn => fn(assert));
+ }
+
+ runAfter(assert: Assert) {
+ this._after.forEach(fn => fn(assert));
+ }
+}
+
export default function setupQUnit({ runningProdBuild }: { runningProdBuild: boolean }) {
let assertion = new EmberDevTestHelperAssert({
runningProdBuild,
@@ -45,7 +90,10 @@ export default function setupQUnit({ runningProdBuild }: { runningProdBuild: boo
delete options.setup;
delete options.teardown;
+ let hooks = new HooksCompat();
options.beforeEach = function() {
+ hooks.runBeforeEach(QUnit.config.current.assert);
+
assertion.reset();
assertion.inject();
@@ -55,6 +103,8 @@ export default function setupQUnit({ runningProdBuild }: { runningProdBuild: boo
options.afterEach = function() {
let result = originalTeardown.apply(this, arguments);
+ hooks.runAfterEach(QUnit.config.current.assert);
+
assertion.assert();
assertion.restore();
| false |
Other
|
emberjs
|
ember.js
|
3c16a90fcad985b5229300eab25e3f0f4fecb314.json
|
ESLint: Remove redundant rule overrides
These are already set by the root config
|
.eslintrc.js
|
@@ -93,10 +93,6 @@ module.exports = {
rules: {
'ember-internal/require-yuidoc-access': 'error',
'ember-internal/no-const-outside-module-scope': 'error',
-
- 'no-unused-vars': 'error',
- 'no-throw-literal': 'error',
- 'comma-dangle': 'off',
},
},
{
| false |
Other
|
emberjs
|
ember.js
|
9a2f9fb33f0df89bcc1147a70155027f5db4eef4.json
|
ESLint: Adjust globs for TS files
|
.eslintrc.js
|
@@ -101,10 +101,10 @@ module.exports = {
},
{
files: [
- 'packages/*/tests/**/*.js',
- 'packages/@ember/*/tests/**/*.js',
- 'packages/@ember/-internals/*/tests/**/*.js',
- 'packages/internal-test-helpers/**/*.js',
+ 'packages/*/tests/**/*.[jt]s',
+ 'packages/@ember/*/tests/**/*.[jt]s',
+ 'packages/@ember/-internals/*/tests/**/*.[jt]s',
+ 'packages/internal-test-helpers/**/*.[jt]s',
],
env: {
qunit: true,
| false |
Other
|
emberjs
|
ember.js
|
0d74c56251da9168a7eb0b3524dedbdac2519262.json
|
Fix ESLint issues
|
packages/@ember/-internals/console/index.d.ts
|
@@ -1,10 +1,10 @@
declare const Logger: {
- log(...args: any[]): void,
- warn(...args: any[]): void,
- error(...args: any[]): void,
- info(...args: any[]): void,
- debug(...args: any[]): void,
- assert(...args: any[]): void,
-}
+ log(...args: any[]): void;
+ warn(...args: any[]): void;
+ error(...args: any[]): void;
+ info(...args: any[]): void;
+ debug(...args: any[]): void;
+ assert(...args: any[]): void;
+};
-export default Logger;
\ No newline at end of file
+export default Logger;
| true |
Other
|
emberjs
|
ember.js
|
0d74c56251da9168a7eb0b3524dedbdac2519262.json
|
Fix ESLint issues
|
packages/@ember/-internals/glimmer/lib/simple-dom.d.ts
|
@@ -1,4 +1,4 @@
-declare module "simple-dom" {
- import { Simple } from "@glimmer/interfaces";
+declare module 'simple-dom' {
+ import { Simple } from '@glimmer/interfaces';
export interface Document extends Simple.Document {}
}
| true |
Other
|
emberjs
|
ember.js
|
0d74c56251da9168a7eb0b3524dedbdac2519262.json
|
Fix ESLint issues
|
packages/@ember/-internals/metal/lib/mixin.ts
|
@@ -313,6 +313,7 @@ function followMethodAlias(
let value = values[altKey];
if (desc !== undefined || value !== undefined) {
+ // do nothing
} else if ((possibleDesc = descriptorFor(obj, altKey)) !== undefined) {
desc = possibleDesc;
value = undefined;
| true |
Other
|
emberjs
|
ember.js
|
0d74c56251da9168a7eb0b3524dedbdac2519262.json
|
Fix ESLint issues
|
packages/@ember/-internals/runtime/index.d.ts
|
@@ -2,10 +2,13 @@ export const TargetActionSupport: any;
export function isArray(arr: any): boolean;
export const ControllerMixin: any;
-export function deprecatingAlias(name: string, opts: {
- id: string;
- until: string;
-}): any;
+export function deprecatingAlias(
+ name: string,
+ opts: {
+ id: string;
+ until: string;
+ }
+): any;
export const FrameworkObject: any;
export const Object: any;
@@ -17,4 +20,4 @@ export function _contentFor(proxy: any): any;
export const A: any;
export const ActionHandler: any;
export const Evented: any;
-export function typeOf(obj: any): string;
\ No newline at end of file
+export function typeOf(obj: any): string;
| true |
Other
|
emberjs
|
ember.js
|
0d74c56251da9168a7eb0b3524dedbdac2519262.json
|
Fix ESLint issues
|
packages/@ember/application/index.d.ts
|
@@ -1,2 +1,2 @@
export { getOwner, setOwner } from '@ember/-internals/owner';
-export type EngineInstance = any;
\ No newline at end of file
+export type EngineInstance = any;
| true |
Other
|
emberjs
|
ember.js
|
0d74c56251da9168a7eb0b3524dedbdac2519262.json
|
Fix ESLint issues
|
packages/@ember/controller/lib/controller_mixin.d.ts
|
@@ -1,4 +1,4 @@
/* @internal */
declare let ControllerMixin: any;
/* @internal */
-export default ControllerMixin;
\ No newline at end of file
+export default ControllerMixin;
| true |
Other
|
emberjs
|
ember.js
|
0d74c56251da9168a7eb0b3524dedbdac2519262.json
|
Fix ESLint issues
|
packages/@ember/object/computed.d.ts
|
@@ -1,2 +1,2 @@
/* @internal */
-export function readOnly(key: string): any;
\ No newline at end of file
+export function readOnly(key: string): any;
| true |
Other
|
emberjs
|
ember.js
|
0d74c56251da9168a7eb0b3524dedbdac2519262.json
|
Fix ESLint issues
|
packages/@ember/runloop/index.d.ts
|
@@ -15,4 +15,4 @@ export function getCurrentRunLoop(): boolean;
export function bind(...args: any[]): any;
export function cancel(...args: any[]): any;
export function once(...args: any[]): any;
-export function scheduleOnce(...args: any[]): any;
\ No newline at end of file
+export function scheduleOnce(...args: any[]): any;
| true |
Other
|
emberjs
|
ember.js
|
0d74c56251da9168a7eb0b3524dedbdac2519262.json
|
Fix ESLint issues
|
packages/@ember/service/index.d.ts
|
@@ -1,3 +1,3 @@
export function inject(name?: string): any;
declare let Service: any;
-export default Service;
\ No newline at end of file
+export default Service;
| true |
Other
|
emberjs
|
ember.js
|
0d74c56251da9168a7eb0b3524dedbdac2519262.json
|
Fix ESLint issues
|
packages/internal-test-helpers/index.d.ts
|
@@ -1 +1 @@
-declare module "internal-test-helpers";
\ No newline at end of file
+declare module 'internal-test-helpers';
| true |
Other
|
emberjs
|
ember.js
|
0d74c56251da9168a7eb0b3524dedbdac2519262.json
|
Fix ESLint issues
|
packages/node-module/index.d.ts
|
@@ -1,3 +1,3 @@
export const IS_NODE: boolean;
-export function require(url: string): string;
\ No newline at end of file
+export function require(url: string): string;
| true |
Other
|
emberjs
|
ember.js
|
fc37d69a9a0e1c89fe0065e6d7d61e17ae68cd86.json
|
bin/run-tests: Use arrow functions to simplify code
|
bin/run-tests.js
|
@@ -54,22 +54,14 @@ function generateTestsFor(packageName) {
return;
}
- testFunctions.push(function() {
- return run('package=' + packageName);
- });
- testFunctions.push(function() {
- return run('package=' + packageName + '&dist=es');
- });
- testFunctions.push(function() {
- return run('package=' + packageName + '&enableoptionalfeatures=true');
- });
+ testFunctions.push(() => run('package=' + packageName));
+ testFunctions.push(() => run('package=' + packageName + '&dist=es'));
+ testFunctions.push(() => run('package=' + packageName + '&enableoptionalfeatures=true'));
// TODO: this should ultimately be deleted (when all packages can run with and
// without jQuery)
if (packageName !== 'ember') {
- testFunctions.push(function() {
- return run('package=' + packageName + '&jquery=none');
- });
+ testFunctions.push(() => run('package=' + packageName + '&jquery=none'));
}
}
@@ -86,51 +78,27 @@ function generateBuiltTests() {
// ember-testing and @ember/debug are stripped from prod/min.
var common = 'skipPackage=container,ember-testing,@ember/debug';
- testFunctions.push(function() {
- return run(common);
- });
- testFunctions.push(function() {
- return run(common + '&dist=min&prod=true');
- });
- testFunctions.push(function() {
- return run(common + '&dist=prod&prod=true');
- });
- testFunctions.push(function() {
- return run(common + '&enableoptionalfeatures=true&dist=prod&prod=true');
- });
- testFunctions.push(function() {
- return run(common + '&legacy=true');
- });
- testFunctions.push(function() {
- return run(common + '&legacy=true&dist=min&prod=true');
- });
- testFunctions.push(function() {
- return run(common + '&legacy=true&dist=prod&prod=true');
- });
- testFunctions.push(function() {
- return run(common + '&legacy=true&enableoptionalfeatures=true&dist=prod&prod=true');
- });
+ testFunctions.push(() => run(common));
+ testFunctions.push(() => run(common + '&dist=min&prod=true'));
+ testFunctions.push(() => run(common + '&dist=prod&prod=true'));
+ testFunctions.push(() => run(common + '&enableoptionalfeatures=true&dist=prod&prod=true'));
+ testFunctions.push(() => run(common + '&legacy=true'));
+ testFunctions.push(() => run(common + '&legacy=true&dist=min&prod=true'));
+ testFunctions.push(() => run(common + '&legacy=true&dist=prod&prod=true'));
+ testFunctions.push(() =>
+ run(common + '&legacy=true&enableoptionalfeatures=true&dist=prod&prod=true')
+ );
}
function generateOldJQueryTests() {
- testFunctions.push(function() {
- return run('jquery=1.10.2');
- });
- testFunctions.push(function() {
- return run('jquery=1.12.4');
- });
- testFunctions.push(function() {
- return run('jquery=2.2.4');
- });
+ testFunctions.push(() => run('jquery=1.10.2'));
+ testFunctions.push(() => run('jquery=1.12.4'));
+ testFunctions.push(() => run('jquery=2.2.4'));
}
function generateExtendPrototypeTests() {
- testFunctions.push(function() {
- return run('extendprototypes=true');
- });
- testFunctions.push(function() {
- return run('extendprototypes=true&enableoptionalfeatures=true');
- });
+ testFunctions.push(() => run('extendprototypes=true'));
+ testFunctions.push(() => run('extendprototypes=true&enableoptionalfeatures=true'));
}
function runAndExit() {
| false |
Other
|
emberjs
|
ember.js
|
356d212190037f66fe40d4b76be8956b26133497.json
|
Remove obsolete/broken `livereload` option
Ember CLI already injects a livereloader and `livereload.js` is not even available when run via `ember test --server`
|
tests/index.html
|
@@ -151,8 +151,6 @@
QUnit.config.urlConfig.push({ id: 'enableoptionalfeatures', label: "Enable Opt Features"});
// Handle extending prototypes
QUnit.config.urlConfig.push({ id: 'extendprototypes', label: 'Extend Prototypes'});
- // Enable/disable livereload
- QUnit.config.urlConfig.push({ id: 'livereload', label: 'Live Reload'});
QUnit.config.urlConfig.push('forceskip');
@@ -203,18 +201,6 @@
}
</script>
- <script>
- if (QUnit.urlParams.livereload) {
- (function() {
- var src = (location.protocol || 'http:') + '//' + (location.hostname || 'localhost') + ':' + (parseInt(location.port, 10) + 31529) + '/livereload.js?snipver=1';
- var script = document.createElement('script');
- script.type = 'text/javascript';
- script.src = src;
- document.getElementsByTagName('head')[0].appendChild(script);
- }());
- }
- </script>
-
</head>
<body>
<div id="qunit"></div>
| false |
Other
|
emberjs
|
ember.js
|
786ca86cb03f3d5f290faafdcb1016245ce81334.json
|
testem: Run Firefox in headless mode
|
testem.travis-browsers.js
|
@@ -10,4 +10,8 @@ module.exports = {
launch_in_dev: ['Firefox'],
launch_in_ci: ['Firefox'],
reporter: FailureOnlyReporter,
+
+ browser_args: {
+ Firefox: { ci: ['-headless', '--window-size=1440,900'] },
+ },
};
| false |
Other
|
emberjs
|
ember.js
|
5b3a341d2d53223775d7e09ab11819a5d433290f.json
|
internal-test-helpers: Convert `RunLoopAssert` to ES6 class
|
packages/internal-test-helpers/lib/ember-dev/run-loop.js
|
@@ -1,13 +1,15 @@
import { cancelTimers, end, getCurrentRunLoop, hasScheduledTimers } from '@ember/runloop';
-function RunLoopAssertion(env) {
- this.env = env;
-}
+export default class RunLoopAssertion {
+ constructor(env) {
+ this.env = env;
+ }
+
+ reset() {}
-RunLoopAssertion.prototype = {
- reset: function() {},
- inject: function() {},
- assert: function() {
+ inject() {}
+
+ assert() {
let { assert } = QUnit.config.current;
if (getCurrentRunLoop()) {
@@ -21,8 +23,7 @@ RunLoopAssertion.prototype = {
assert.ok(false, 'Ember run should not have scheduled timers at end of test');
cancelTimers();
}
- },
- restore: function() {},
-};
+ }
-export default RunLoopAssertion;
+ restore() {}
+}
| false |
Other
|
emberjs
|
ember.js
|
2f57dafa4934fd9097b262f7f986de84584deac3.json
|
internal-test-helpers: Convert `NamespacesAssert` to ES6 class
|
packages/internal-test-helpers/lib/ember-dev/namespaces.js
|
@@ -1,14 +1,16 @@
import { run } from '@ember/runloop';
import { NAMESPACES, NAMESPACES_BY_ID } from '@ember/-internals/metal';
-function NamespacesAssert(env) {
- this.env = env;
-}
+export default class NamespacesAssert {
+ constructor(env) {
+ this.env = env;
+ }
+
+ reset() {}
-NamespacesAssert.prototype = {
- reset: function() {},
- inject: function() {},
- assert: function() {
+ inject() {}
+
+ assert() {
let { assert } = QUnit.config.current;
if (NAMESPACES.length > 0) {
@@ -27,8 +29,7 @@ NamespacesAssert.prototype = {
delete NAMESPACES_BY_ID[keys[i]];
}
}
- },
- restore: function() {},
-};
+ }
-export default NamespacesAssert;
+ restore() {}
+}
| false |
Other
|
emberjs
|
ember.js
|
81347ab9bcd6738c4e49576efe3f942755648733.json
|
internal-test-helpers: Convert `ContainersAssert` to ES6 class
|
packages/internal-test-helpers/lib/ember-dev/containers.js
|
@@ -1,15 +1,17 @@
import { Container } from '@ember/-internals/container';
-function ContainersAssert(env) {
- this.env = env;
-}
-
const { _leakTracking: containerLeakTracking } = Container;
-ContainersAssert.prototype = {
- reset: function() {},
- inject: function() {},
- assert: function() {
+export default class ContainersAssert {
+ constructor(env) {
+ this.env = env;
+ }
+
+ reset() {}
+
+ inject() {}
+
+ assert() {
if (containerLeakTracking === undefined) return;
let { config } = QUnit;
let {
@@ -32,8 +34,7 @@ ContainersAssert.prototype = {
}
});
};
- },
- restore: function() {},
-};
+ }
-export default ContainersAssert;
+ restore() {}
+}
| false |
Other
|
emberjs
|
ember.js
|
6f39e168c620ea1babcb50a0e773f9bd337fc6e2.json
|
QUnit: Remove obsolete issue workaround
Since https://github.com/qunitjs/qunit/pull/1250 was merged this should no longer be needed
|
tests/index.html
|
@@ -183,25 +183,7 @@
}
});
- // work around https://github.com/qunitjs/qunit/issues/1224
- QUnit.testStart(function() {
- var existingFixture = document.getElementById('qunit-fixture');
-
- // create a new pristine fixture element
- var newFixture = document.createElement('div');
- newFixture.setAttribute('id', 'qunit-fixture');
-
- // replace the old (possibly mutated fixture) with the new pristine one
- existingFixture.parentNode.replaceChild(newFixture, existingFixture);
- });
-
QUnit.testDone(function(results) {
- var oldFixture = document.getElementById('qunit-fixture');
- var parent = oldFixture.parentElement;
- var newFixture = document.createElement('div');
- newFixture.id = 'qunit-fixture';
- parent.replaceChild(newFixture, oldFixture);
-
testsTotal++;
if (results.failed) {
| false |
Other
|
emberjs
|
ember.js
|
7cb936d6bdefec2089093edbad4567c64d16c348.json
|
QUnit: Remove obsolete polyfill
We use a QUnit version now that includes the PR that this polyfill was extracted from.
|
tests/index.html
|
@@ -196,9 +196,6 @@
});
QUnit.testDone(function(results) {
- // release the test callback (polyfill for https://github.com/qunitjs/qunit/pull/1279)
- QUnit.config.current.callback = undefined;
-
var oldFixture = document.getElementById('qunit-fixture');
var parent = oldFixture.parentElement;
var newFixture = document.createElement('div');
@@ -214,11 +211,6 @@
}
});
- QUnit.moduleDone(function() {
- // release the module hooks (polyfill for https://github.com/qunitjs/qunit/pull/1279)
- QUnit.config.current.module.hooks = {};
- });
-
QUnit.done(function(result) {
console.log('\n' + 'Took ' + result.runtime + 'ms to run ' + testsTotal + ' tests. ' + testsPassed + ' passed, ' + testsFailed + ' failed.');
});
| false |
Other
|
emberjs
|
ember.js
|
7784d5b1d56979613e9e7804d04c13271ffc579a.json
|
Remove obsolete `nolint` option
We don't seem to generate ESLint checks inside of the test suite anymore, so this option is no longer used anywhere.
|
bin/run-tests.js
|
@@ -87,7 +87,7 @@ function generateBuiltTests() {
var common = 'skipPackage=container,ember-testing,@ember/debug';
testFunctions.push(function() {
- return run(common + '&nolint=true');
+ return run(common);
});
testFunctions.push(function() {
return run(common + '&dist=min&prod=true');
@@ -99,7 +99,7 @@ function generateBuiltTests() {
return run(common + '&enableoptionalfeatures=true&dist=prod&prod=true');
});
testFunctions.push(function() {
- return run(common + '&legacy=true&nolint=true');
+ return run(common + '&legacy=true');
});
testFunctions.push(function() {
return run(common + '&legacy=true&dist=min&prod=true');
@@ -114,22 +114,22 @@ function generateBuiltTests() {
function generateOldJQueryTests() {
testFunctions.push(function() {
- return run('jquery=1.10.2&nolint=true');
+ return run('jquery=1.10.2');
});
testFunctions.push(function() {
- return run('jquery=1.12.4&nolint=true');
+ return run('jquery=1.12.4');
});
testFunctions.push(function() {
- return run('jquery=2.2.4&nolint=true');
+ return run('jquery=2.2.4');
});
}
function generateExtendPrototypeTests() {
testFunctions.push(function() {
- return run('extendprototypes=true&nolint=true');
+ return run('extendprototypes=true');
});
testFunctions.push(function() {
- return run('extendprototypes=true&nolint=true&enableoptionalfeatures=true');
+ return run('extendprototypes=true&enableoptionalfeatures=true');
});
}
| true |
Other
|
emberjs
|
ember.js
|
7784d5b1d56979613e9e7804d04c13271ffc579a.json
|
Remove obsolete `nolint` option
We don't seem to generate ESLint checks inside of the test suite anymore, so this option is no longer used anywhere.
|
tests/index.html
|
@@ -165,8 +165,7 @@
QUnit.config.urlConfig.push({ id: 'extendprototypes', label: 'Extend Prototypes'});
// Enable/disable livereload
QUnit.config.urlConfig.push({ id: 'livereload', label: 'Live Reload'});
- // Handle ESLint
- QUnit.config.urlConfig.push({ id: 'nolint', label: 'Skip ESLint'});
+
QUnit.config.urlConfig.push('forceskip');
if (QUnit.config.seed) {
@@ -237,7 +236,6 @@
for (var moduleName in Ember.__loader.registry) {
if (!moduleName.match(packageRegexp)) { continue; }
if (moduleName.match(skipPackageRegexp)) { continue; }
- if (QUnit.urlParams.nolint && moduleName.match(/lint-test$/)) { continue; }
if (moduleName.match(/[_-]test$/)) { Ember.__loader.require(moduleName); }
}
| true |
Other
|
emberjs
|
ember.js
|
de1faf4a9cba4e1240508bb1999ee1bd66e1d8e5.json
|
Fix `prettier` issues
|
bin/run-tests.js
|
@@ -76,8 +76,7 @@ function generateTestsFor(packageName) {
function generateEachPackageTests() {
fs.readdirSync('packages/@ember').forEach(e => generateTestsFor(`@ember/${e}`));
- fs
- .readdirSync('packages')
+ fs.readdirSync('packages')
.filter(e => e !== '@ember')
.forEach(generateTestsFor);
}
| true |
Other
|
emberjs
|
ember.js
|
de1faf4a9cba4e1240508bb1999ee1bd66e1d8e5.json
|
Fix `prettier` issues
|
broccoli/build-info.js
|
@@ -80,7 +80,9 @@ function buildFromParts(packageVersion, gitInfo) {
let shortSha = sha.slice(0, 8);
let channel =
branch === 'master'
- ? process.env.BUILD_TYPE === 'alpha' ? 'alpha' : 'canary'
+ ? process.env.BUILD_TYPE === 'alpha'
+ ? 'alpha'
+ : 'canary'
: branch && escapeSemVerIdentifier(branch);
let version = tagVersion || buildVersion(packageVersion, shortSha, channel);
| true |
Other
|
emberjs
|
ember.js
|
de1faf4a9cba4e1240508bb1999ee1bd66e1d8e5.json
|
Fix `prettier` issues
|
packages/@ember/-internals/glimmer/lib/component-managers/definition-state.ts
|
@@ -13,4 +13,4 @@ export default interface DefinitionState {
handle: Option<VMHandle>;
symbolTable?: ProgramSymbolTable;
template?: any;
-};
+}
| true |
Other
|
emberjs
|
ember.js
|
de1faf4a9cba4e1240508bb1999ee1bd66e1d8e5.json
|
Fix `prettier` issues
|
packages/@ember/-internals/glimmer/lib/utils/references.ts
|
@@ -365,7 +365,10 @@ export class SimpleHelperReference extends CachedReference {
}
compute() {
- let { helper, args: { positional, named } } = this;
+ let {
+ helper,
+ args: { positional, named },
+ } = this;
let positionalValue = positional.value();
let namedValue = named.value();
@@ -397,7 +400,10 @@ export class ClassBasedHelperReference extends CachedReference {
}
compute() {
- let { instance, args: { positional, named } } = this;
+ let {
+ instance,
+ args: { positional, named },
+ } = this;
let positionalValue = positional.value();
let namedValue = named.value();
| true |
Other
|
emberjs
|
ember.js
|
de1faf4a9cba4e1240508bb1999ee1bd66e1d8e5.json
|
Fix `prettier` issues
|
packages/@ember/-internals/utils/lib/inspect.ts
|
@@ -53,7 +53,9 @@ function inspectValue(value: any | null | undefined, depth: number, seen?: WeakS
return value.toString();
case 'function':
return value.toString === functionToString
- ? value.name ? `[Function:${value.name}]` : `[Function]`
+ ? value.name
+ ? `[Function:${value.name}]`
+ : `[Function]`
: value.toString();
case 'string':
return stringify(value);
| true |
Other
|
emberjs
|
ember.js
|
de1faf4a9cba4e1240508bb1999ee1bd66e1d8e5.json
|
Fix `prettier` issues
|
packages/@ember/application/tests/dependency_injection/default_resolver_test.js
|
@@ -22,9 +22,9 @@ moduleFor(
}
/*
- * This first batch of tests are integration tests against the public
- * applicationInstance API.
- */
+ * This first batch of tests are integration tests against the public
+ * applicationInstance API.
+ */
[`@test the default resolver looks up templates in Ember.TEMPLATES`](assert) {
let fooTemplate = this.addTemplate('foo', `foo template`);
@@ -161,8 +161,8 @@ moduleFor(
}
/*
- * The following are integration tests against the private registry API.
- */
+ * The following are integration tests against the private registry API.
+ */
[`@test lookup description`](assert) {
this.application.toString = () => 'App';
| true |
Other
|
emberjs
|
ember.js
|
de1faf4a9cba4e1240508bb1999ee1bd66e1d8e5.json
|
Fix `prettier` issues
|
packages/@ember/application/tests/visit_test.js
|
@@ -203,18 +203,18 @@ moduleFor(
assert.ok(instanceBooted === 1, 'an instance should be booted');
/*
- * Destroy the instance.
- */
+ * Destroy the instance.
+ */
return this.runTask(() => {
this.applicationInstance.destroy();
this.applicationInstance = null;
});
})
.then(() => {
/*
- * Visit on the application a second time. The application should remain
- * booted, but a new instance will be created.
- */
+ * Visit on the application a second time. The application should remain
+ * booted, but a new instance will be created.
+ */
return this.application.visit('/').then(instance => {
this.applicationInstance = instance;
});
@@ -293,9 +293,9 @@ moduleFor(
);
/*
- * First call to `visit` is `this.application.visit` and returns the
- * applicationInstance.
- */
+ * First call to `visit` is `this.application.visit` and returns the
+ * applicationInstance.
+ */
return this.visit('/a').then(instance => {
assert.ok(
instance instanceof ApplicationInstance,
| true |
Other
|
emberjs
|
ember.js
|
de1faf4a9cba4e1240508bb1999ee1bd66e1d8e5.json
|
Fix `prettier` issues
|
packages/ember-testing/tests/helpers_test.js
|
@@ -260,7 +260,9 @@ if (!jQueryDisabled) {
registerWaiter(waiter);
registerWaiter(otherWaiter);
- let { application: { testHelpers } } = this;
+ let {
+ application: { testHelpers },
+ } = this;
return testHelpers
.wait()
.then(() => {
@@ -305,7 +307,9 @@ if (!jQueryDisabled) {
let promiseObjectValue = {};
let objectValue = {};
- let { application: { testHelpers } } = this;
+ let {
+ application: { testHelpers },
+ } = this;
return testHelpers
.wait('text')
.then(val => {
@@ -388,7 +392,9 @@ if (!jQueryDisabled) {
});
let events;
- let { application: { testHelpers } } = this;
+ let {
+ application: { testHelpers },
+ } = this;
return testHelpers
.wait()
.then(() => {
@@ -472,7 +478,11 @@ if (!jQueryDisabled) {
});
let events;
- let { application: { testHelpers: { wait, click } } } = this;
+ let {
+ application: {
+ testHelpers: { wait, click },
+ },
+ } = this;
return wait()
.then(() => {
events = [];
@@ -511,7 +521,11 @@ if (!jQueryDisabled) {
this.application.advanceReadiness();
});
- let { application: { testHelpers: { wait, triggerEvent } } } = this;
+ let {
+ application: {
+ testHelpers: { wait, triggerEvent },
+ },
+ } = this;
return wait()
.then(() => {
return triggerEvent('.index-wrapper', 'mouseenter');
@@ -564,7 +578,11 @@ if (!jQueryDisabled) {
registerWaiter(obj, obj.ready);
registerWaiter(otherWaiter);
- let { application: { testHelpers: { wait } } } = this;
+ let {
+ application: {
+ testHelpers: { wait },
+ },
+ } = this;
return wait()
.then(() => {
assert.equal(obj.ready(), true, 'should not resolve until our waiter is ready');
@@ -616,7 +634,11 @@ if (!jQueryDisabled) {
this.application.advanceReadiness();
});
- let { application: { testHelpers: { wait, triggerEvent } } } = this;
+ let {
+ application: {
+ testHelpers: { wait, triggerEvent },
+ },
+ } = this;
return wait()
.then(() => {
return triggerEvent('.input', 'keydown', { keyCode: 13 });
@@ -665,7 +687,11 @@ if (!jQueryDisabled) {
this.application.advanceReadiness();
});
- let { application: { testHelpers: { wait, triggerEvent } } } = this;
+ let {
+ application: {
+ testHelpers: { wait, triggerEvent },
+ },
+ } = this;
return wait()
.then(() => {
return triggerEvent('.input', '#limited', 'blur');
@@ -707,7 +733,11 @@ if (!jQueryDisabled) {
this.application.advanceReadiness();
});
- let { application: { testHelpers: { wait, triggerEvent } } } = this;
+ let {
+ application: {
+ testHelpers: { wait, triggerEvent },
+ },
+ } = this;
return wait()
.then(() => {
return triggerEvent('#foo', 'blur');
@@ -739,7 +769,11 @@ if (!jQueryDisabled) {
this.application.advanceReadiness();
});
- let { application: { testHelpers: { visit, fillIn, andThen, find } } } = this;
+ let {
+ application: {
+ testHelpers: { visit, fillIn, andThen, find },
+ },
+ } = this;
visit('/');
fillIn('.current', '#parent', 'current value');
@@ -776,7 +810,11 @@ if (!jQueryDisabled) {
this.application.advanceReadiness();
});
- let { application: { testHelpers: { visit, fillIn, andThen, find, wait } } } = this;
+ let {
+ application: {
+ testHelpers: { visit, fillIn, andThen, find, wait },
+ },
+ } = this;
visit('/');
fillIn('#first', 'current value');
andThen(() => {
@@ -819,7 +857,11 @@ if (!jQueryDisabled) {
this.application.advanceReadiness();
});
- let { application: { testHelpers: { visit, fillIn, andThen, wait } } } = this;
+ let {
+ application: {
+ testHelpers: { visit, fillIn, andThen, wait },
+ },
+ } = this;
visit('/');
fillIn('#first', 'current value');
@@ -847,7 +889,11 @@ if (!jQueryDisabled) {
this.application.advanceReadiness();
});
- let { application: { testHelpers: { visit, fillIn, find, andThen, wait } } } = this;
+ let {
+ application: {
+ testHelpers: { visit, fillIn, find, andThen, wait },
+ },
+ } = this;
visit('/');
fillIn('input.in-test', 'new value');
@@ -892,7 +938,11 @@ if (!jQueryDisabled) {
this.application.advanceReadiness();
});
- let { application: { testHelpers: { wait, triggerEvent } } } = this;
+ let {
+ application: {
+ testHelpers: { wait, triggerEvent },
+ },
+ } = this;
return wait()
.then(() => {
return triggerEvent('.input', '#limited', 'keydown', {
@@ -948,7 +998,11 @@ if (!jQueryDisabled) {
// overwrite info to supress the console output (see https://github.com/emberjs/ember.js/issues/16391)
setDebugFunction('info', noop);
- let { application: { testHelpers: { pauseTest, resumeTest } } } = this;
+ let {
+ application: {
+ testHelpers: { pauseTest, resumeTest },
+ },
+ } = this;
later(() => resumeTest(), 20);
return pauseTest().then(() => {
@@ -990,7 +1044,9 @@ if (!jQueryDisabled) {
[`@test currentRouteName for '/'`](assert) {
assert.expect(3);
- let { application: { testHelpers } } = this;
+ let {
+ application: { testHelpers },
+ } = this;
return testHelpers.visit('/').then(() => {
assert.equal(testHelpers.currentRouteName(), 'index', `should equal 'index'.`);
assert.equal(testHelpers.currentPath(), 'index', `should equal 'index'.`);
@@ -1001,7 +1057,9 @@ if (!jQueryDisabled) {
[`@test currentRouteName for '/posts'`](assert) {
assert.expect(3);
- let { application: { testHelpers } } = this;
+ let {
+ application: { testHelpers },
+ } = this;
return testHelpers.visit('/posts').then(() => {
assert.equal(
testHelpers.currentRouteName(),
@@ -1016,7 +1074,9 @@ if (!jQueryDisabled) {
[`@test currentRouteName for '/posts/new'`](assert) {
assert.expect(3);
- let { application: { testHelpers } } = this;
+ let {
+ application: { testHelpers },
+ } = this;
return testHelpers.visit('/posts/new').then(() => {
assert.equal(testHelpers.currentRouteName(), 'posts.new', `should equal 'posts.new'.`);
assert.equal(testHelpers.currentPath(), 'posts.new', `should equal 'posts.new'.`);
@@ -1027,7 +1087,9 @@ if (!jQueryDisabled) {
[`@test currentRouteName for '/posts/edit'`](assert) {
assert.expect(3);
- let { application: { testHelpers } } = this;
+ let {
+ application: { testHelpers },
+ } = this;
return testHelpers.visit('/posts/edit').then(() => {
assert.equal(testHelpers.currentRouteName(), 'edit', `should equal 'edit'.`);
assert.equal(testHelpers.currentPath(), 'posts.edit', `should equal 'posts.edit'.`);
@@ -1117,10 +1179,10 @@ if (!jQueryDisabled) {
let resolveLater = () =>
new RSVP.Promise(resolve => {
/*
- * The wait() helper has a 10ms tick. We should resolve() after
- * at least one tick to test whether wait() held off while the
- * async router was still loading. 20ms should be enough.
- */
+ * The wait() helper has a 10ms tick. We should resolve() after
+ * at least one tick to test whether wait() held off while the
+ * async router was still loading. 20ms should be enough.
+ */
later(resolve, { firstName: 'Tom' }, 20);
});
@@ -1154,7 +1216,9 @@ if (!jQueryDisabled) {
[`@test currentRouteName for '/user'`](assert) {
assert.expect(4);
- let { application: { testHelpers } } = this;
+ let {
+ application: { testHelpers },
+ } = this;
return testHelpers.visit('/user').then(() => {
assert.equal(testHelpers.currentRouteName(), 'user.index', `should equal 'user.index'.`);
assert.equal(testHelpers.currentPath(), 'user.index', `should equal 'user.index'.`);
@@ -1167,7 +1231,9 @@ if (!jQueryDisabled) {
[`@test currentRouteName for '/user/profile'`](assert) {
assert.expect(4);
- let { application: { testHelpers } } = this;
+ let {
+ application: { testHelpers },
+ } = this;
return testHelpers.visit('/user/profile').then(() => {
assert.equal(testHelpers.currentRouteName(), 'user.edit', `should equal 'user.edit'.`);
assert.equal(testHelpers.currentPath(), 'user.edit', `should equal 'user.edit'.`);
| true |
Other
|
emberjs
|
ember.js
|
de1faf4a9cba4e1240508bb1999ee1bd66e1d8e5.json
|
Fix `prettier` issues
|
packages/ember/tests/service_injection_test.js
|
@@ -204,15 +204,15 @@ if (EMBER_MODULE_UNIFICATION) {
}
/*
- * This test demonstrates a failure in the caching system of ember's
- * container around singletons and and local lookup. The local lookup
- * is cached and the global injection is then looked up incorrectly.
- *
- * The paractical rules of Ember's module unification config are such
- * that services cannot be locally looked up, thus this case is really
- * just a demonstration of what could go wrong if we permit arbitrary
- * configuration (such as a singleton type that has local lookup).
- */
+ * This test demonstrates a failure in the caching system of ember's
+ * container around singletons and and local lookup. The local lookup
+ * is cached and the global injection is then looked up incorrectly.
+ *
+ * The paractical rules of Ember's module unification config are such
+ * that services cannot be locally looked up, thus this case is really
+ * just a demonstration of what could go wrong if we permit arbitrary
+ * configuration (such as a singleton type that has local lookup).
+ */
['@test Services can be injected with same name, one with source one without, and share an instance'](
assert
) {
| true |
Other
|
emberjs
|
ember.js
|
de1faf4a9cba4e1240508bb1999ee1bd66e1d8e5.json
|
Fix `prettier` issues
|
packages/internal-test-helpers/lib/ember-dev/containers.js
|
@@ -12,7 +12,12 @@ ContainersAssert.prototype = {
assert: function() {
if (containerLeakTracking === undefined) return;
let { config } = QUnit;
- let { testName, testId, module: { name: moduleName }, finish: originalFinish } = config.current;
+ let {
+ testName,
+ testId,
+ module: { name: moduleName },
+ finish: originalFinish,
+ } = config.current;
config.current.finish = function() {
originalFinish.call(this);
originalFinish = undefined;
| true |
Other
|
emberjs
|
ember.js
|
de1faf4a9cba4e1240508bb1999ee1bd66e1d8e5.json
|
Fix `prettier` issues
|
tests/node/helpers/setup-app.js
|
@@ -56,7 +56,7 @@ var SimpleDOM = require('simple-dom');
* return this.renderToHTML('/'photos).then(function(html) {
* assert.ok(html.matches('<h1>Hello world</h1>'));
* });
-*/
+ */
module.exports = function(hooks) {
hooks.beforeEach(function() {
| true |
Other
|
emberjs
|
ember.js
|
60a538c01e141569531c63673a6f9bbdad780a49.json
|
Add v3.4.7 to CHANGELOG.md.
|
CHANGELOG.md
|
@@ -43,6 +43,10 @@
- [#16978](https://github.com/emberjs/ember.js/pull/16978) [BUGFIX] Properly teardown alias
- [#16877](https://github.com/emberjs/ember.js/pull/16877) [CLEANUP] Allow routes to be named "array" and "object"
+### v3.4.7 (December 7, 2018)
+
+- #17271 [BUGFIX] Update `backburner.js` to 2.4.2.
+
### v3.4.6 (October 29, 2018)
- [#17115](https://github.com/emberjs/ember.js/pull/17115) [BUGFIX] Ensure `{{input` continues to pass the event to the actions that it fires.
| false |
Other
|
emberjs
|
ember.js
|
7ade84efb733aaa677d8f005ef94c2d9b82259e8.json
|
Fix ESLint issues
|
packages/@ember/-internals/metal/tests/accessors/mandatory_setters_test.js
|
@@ -117,7 +117,9 @@ if (DEBUG) {
['@test watched ES5 setter should not be smashed by mandatory setter'](assert) {
let value;
let obj = {
- get foo() {},
+ get foo() {
+ return value;
+ },
set foo(_value) {
value = _value;
},
| true |
Other
|
emberjs
|
ember.js
|
7ade84efb733aaa677d8f005ef94c2d9b82259e8.json
|
Fix ESLint issues
|
packages/@ember/-internals/runtime/lib/system/core_object.js
|
@@ -923,7 +923,7 @@ class CoreObject {
static get superclass() {
let c = Object.getPrototypeOf(this);
- if (c !== Function.prototype) return c;
+ return c !== Function.prototype ? c : undefined;
}
static proto() {
| true |
Other
|
emberjs
|
ember.js
|
0553c777a204076650f82a5b37f0ac4b5851e11b.json
|
Babel: Update external helpers
|
packages/external-helpers/lib/external-helpers.js
|
@@ -1,8 +1,6 @@
import { DEBUG } from '@glimmer/env';
-const create = Object.create;
const setPrototypeOf = Object.setPrototypeOf;
-const defineProperty = Object.defineProperty;
export function classCallCheck(instance, Constructor) {
if (DEBUG) {
@@ -12,51 +10,78 @@ export function classCallCheck(instance, Constructor) {
}
}
-export function inherits(subClass, superClass) {
+/*
+ Overrides default `inheritsLoose` to _also_ call `Object.setPrototypeOf`.
+ This is needed so that we can use `loose` option with the
+ `@babel/plugin-transform-classes` (because we want simple assignment to the
+ prototype whereever possible) but also keep our constructor based prototypal
+ inheritance working properly
+*/
+export function inheritsLoose(subClass, superClass) {
if (DEBUG) {
if (typeof superClass !== 'function' && superClass !== null) {
- throw new TypeError(
- 'Super expression must either be null or a function, not ' + typeof superClass
- );
+ throw new TypeError('Super expression must either be null or a function');
}
}
- subClass.prototype = create(superClass === null ? null : superClass.prototype, {
+ subClass.prototype = Object.create(superClass === null ? null : superClass.prototype, {
constructor: {
value: subClass,
- enumerable: false,
writable: true,
configurable: true,
},
});
- if (superClass !== null) setPrototypeOf(subClass, superClass);
+ if (superClass !== null) {
+ setPrototypeOf(subClass, superClass);
+ }
}
export function taggedTemplateLiteralLoose(strings, raw) {
+ if (!raw) {
+ raw = strings.slice(0);
+ }
strings.raw = raw;
return strings;
}
-function defineProperties(target, props) {
+function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ('value' in descriptor) descriptor.writable = true;
- defineProperty(target, descriptor.key, descriptor);
+ Object.defineProperty(target, descriptor.key, descriptor);
}
}
+/*
+ Differs from default implementation by avoiding boolean coercion of
+ `protoProps` and `staticProps`.
+*/
export function createClass(Constructor, protoProps, staticProps) {
- if (protoProps !== undefined) defineProperties(Constructor.prototype, protoProps);
- if (staticProps !== undefined) defineProperties(Constructor, staticProps);
+ if (protoProps !== null && protoProps !== undefined) {
+ _defineProperties(Constructor.prototype, protoProps);
+ }
+
+ if (staticProps !== null && staticProps !== undefined) {
+ _defineProperties(Constructor, staticProps);
+ }
+
return Constructor;
}
-export const possibleConstructorReturn = function(self, call) {
- if (DEBUG) {
- if (!self) {
- throw new ReferenceError(`this hasn't been initialized - super() hasn't been called`);
- }
+export function assertThisInitialized(self) {
+ if (DEBUG && self === void 0) {
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
+ }
+ return self;
+}
+
+/*
+ Adds `DEBUG` guard to error being thrown, and avoids boolean coercion of `call`.
+*/
+export function possibleConstructorReturn(self, call) {
+ if ((typeof call === 'object' && call !== null) || typeof call === 'function') {
+ return call;
}
- return (call !== null && typeof call === 'object') || typeof call === 'function' ? call : self;
-};
+ return assertThisInitialized(self);
+}
| false |
Other
|
emberjs
|
ember.js
|
750f5f1dd43fd80cb9db025c224d0de312b15e7b.json
|
Babel: Add missing `getModuleId` function
|
broccoli/to-named-amd.js
|
@@ -1,5 +1,8 @@
const Babel = require('broccoli-babel-transpiler');
-const { resolveRelativeModulePath } = require('ember-cli-babel/lib/relative-module-paths');
+const {
+ resolveRelativeModulePath,
+ getRelativeModulePath,
+} = require('ember-cli-babel/lib/relative-module-paths');
const enifed = require('./transforms/transform-define');
const injectNodeGlobals = require('./transforms/inject-node-globals');
@@ -25,6 +28,7 @@ module.exports = function processModulesOnly(tree, strict = false) {
enifed,
],
moduleIds: true,
+ getModuleId: getRelativeModulePath,
};
return new Babel(tree, options);
| false |
Other
|
emberjs
|
ember.js
|
3a5af6a5cb326522b2d24479fb68857631584cdf.json
|
Update Babel to v7.x
|
broccoli/to-es5.js
|
@@ -9,18 +9,17 @@ module.exports = function toES6(tree, _options) {
options.sourceMaps = true;
options.plugins = [
injectBabelHelpers,
- ['transform-es2015-template-literals', { loose: true }],
- ['transform-es2015-literals'],
- ['transform-es2015-arrow-functions'],
- ['transform-es2015-destructuring', { loose: true }],
- ['transform-es2015-spread', { loose: true }],
- ['transform-es2015-parameters'],
- ['transform-es2015-computed-properties', { loose: true }],
- ['transform-es2015-shorthand-properties'],
- ['transform-es2015-block-scoping', { throwIfClosureRequired: true }],
- ['check-es2015-constants'],
- ['transform-es2015-classes', { loose: true }],
- ['transform-object-assign'],
+ ['@babel/transform-template-literals', { loose: true }],
+ ['@babel/transform-literals'],
+ ['@babel/transform-arrow-functions'],
+ ['@babel/transform-destructuring', { loose: true }],
+ ['@babel/transform-spread', { loose: true }],
+ ['@babel/transform-parameters'],
+ ['@babel/transform-computed-properties', { loose: true }],
+ ['@babel/transform-shorthand-properties'],
+ ['@babel/transform-block-scoping', { throwIfClosureRequired: true }],
+ ['@babel/transform-classes', { loose: true }],
+ ['@babel/transform-object-assign'],
];
if (options.inlineHelpers) {
| true |
Other
|
emberjs
|
ember.js
|
3a5af6a5cb326522b2d24479fb68857631584cdf.json
|
Update Babel to v7.x
|
broccoli/to-named-amd.js
|
@@ -21,7 +21,7 @@ module.exports = function processModulesOnly(tree, strict = false) {
// in both browser and node-land
injectNodeGlobals,
['module-resolver', { resolvePath: resolveRelativeModulePath }],
- ['transform-es2015-modules-amd', transformOptions],
+ ['@babel/transform-modules-amd', transformOptions],
enifed,
],
moduleIds: true,
| true |
Other
|
emberjs
|
ember.js
|
3a5af6a5cb326522b2d24479fb68857631584cdf.json
|
Update Babel to v7.x
|
package.json
|
@@ -89,25 +89,24 @@
"@types/rsvp": "^4.0.1",
"auto-dist-tag": "^1.0.0",
"aws-sdk": "^2.46.0",
- "babel-plugin-check-es2015-constants": "^6.22.0",
"babel-plugin-debug-macros": "^0.2.0",
"babel-plugin-filter-imports": "^2.0.4",
"babel-plugin-module-resolver": "^3.1.1",
- "babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
- "babel-plugin-transform-es2015-block-scoping": "^6.26.0",
- "babel-plugin-transform-es2015-classes": "^6.24.1",
- "babel-plugin-transform-es2015-computed-properties": "^6.24.1",
- "babel-plugin-transform-es2015-destructuring": "^6.23.0",
- "babel-plugin-transform-es2015-literals": "^6.22.0",
- "babel-plugin-transform-es2015-modules-amd": "^6.24.1",
- "babel-plugin-transform-es2015-parameters": "^6.24.1",
- "babel-plugin-transform-es2015-shorthand-properties": "^6.24.1",
- "babel-plugin-transform-es2015-spread": "^6.22.0",
- "babel-plugin-transform-es2015-template-literals": "^6.22.0",
- "babel-plugin-transform-object-assign": "^6.22.0",
+ "@babel/plugin-transform-arrow-functions": "^7.2.0",
+ "@babel/plugin-transform-block-scoping": "^7.2.0",
+ "@babel/plugin-transform-classes": "^7.2.0",
+ "@babel/plugin-transform-computed-properties": "^7.2.0",
+ "@babel/plugin-transform-destructuring": "^7.2.0",
+ "@babel/plugin-transform-literals": "^7.2.0",
+ "@babel/plugin-transform-modules-amd": "^7.2.0",
+ "@babel/plugin-transform-parameters": "^7.2.0",
+ "@babel/plugin-transform-shorthand-properties": "^7.2.0",
+ "@babel/plugin-transform-spread": "^7.2.0",
+ "@babel/plugin-transform-template-literals": "^7.2.0",
+ "@babel/plugin-transform-object-assign": "^7.2.0",
"babel-template": "^6.26.0",
"backburner.js": "^2.4.2",
- "broccoli-babel-transpiler": "^6.5.1",
+ "broccoli-babel-transpiler": "^7.1.1",
"broccoli-concat": "^3.7.3",
"broccoli-debug": "^0.6.4",
"broccoli-file-creator": "^2.1.1",
| true |
Other
|
emberjs
|
ember.js
|
3a5af6a5cb326522b2d24479fb68857631584cdf.json
|
Update Babel to v7.x
|
yarn.lock
|
@@ -433,6 +433,13 @@
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
+"@babel/plugin-transform-object-assign@^7.2.0":
+ version "7.2.0"
+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-assign/-/plugin-transform-object-assign-7.2.0.tgz#6fdeea42be17040f119e38e23ea0f49f31968bde"
+ integrity sha512-nmE55cZBPFgUktbF2OuoZgPRadfxosLOpSgzEPYotKSls9J4pEPcembi8r78RU37Rph6UApCpNmsQA4QMWK9Ng==
+ dependencies:
+ "@babel/helper-plugin-utils" "^7.0.0"
+
"@babel/plugin-transform-object-super@^7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.2.0.tgz#b35d4c10f56bab5d650047dad0f1d8e8814b6598"
@@ -1388,7 +1395,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.26.0:
+babel-plugin-transform-es2015-block-scoping@^6.23.0:
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"
integrity sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=
@@ -1399,7 +1406,7 @@ babel-plugin-transform-es2015-block-scoping@^6.23.0, babel-plugin-transform-es20
babel-types "^6.26.0"
lodash "^4.17.4"
-babel-plugin-transform-es2015-classes@^6.23.0, babel-plugin-transform-es2015-classes@^6.24.1:
+babel-plugin-transform-es2015-classes@^6.23.0:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz#5a4c58a50c9c9461e564b4b2a3bfabc97a2584db"
integrity sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=
@@ -1414,7 +1421,7 @@ babel-plugin-transform-es2015-classes@^6.23.0, babel-plugin-transform-es2015-cla
babel-traverse "^6.24.1"
babel-types "^6.24.1"
-babel-plugin-transform-es2015-computed-properties@^6.22.0, babel-plugin-transform-es2015-computed-properties@^6.24.1:
+babel-plugin-transform-es2015-computed-properties@^6.22.0:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz#6fe2a8d16895d5634f4cd999b6d3480a308159b3"
integrity sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=
@@ -1505,7 +1512,7 @@ babel-plugin-transform-es2015-object-super@^6.22.0:
babel-helper-replace-supers "^6.24.1"
babel-runtime "^6.22.0"
-babel-plugin-transform-es2015-parameters@^6.23.0, babel-plugin-transform-es2015-parameters@^6.24.1:
+babel-plugin-transform-es2015-parameters@^6.23.0:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz#57ac351ab49caf14a97cd13b09f66fdf0a625f2b"
integrity sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=
@@ -1517,7 +1524,7 @@ babel-plugin-transform-es2015-parameters@^6.23.0, babel-plugin-transform-es2015-
babel-traverse "^6.24.1"
babel-types "^6.24.1"
-babel-plugin-transform-es2015-shorthand-properties@^6.22.0, babel-plugin-transform-es2015-shorthand-properties@^6.24.1:
+babel-plugin-transform-es2015-shorthand-properties@^6.22.0:
version "6.24.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz#24f875d6721c87661bbd99a4622e51f14de38aa0"
integrity sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=
@@ -1573,13 +1580,6 @@ babel-plugin-transform-exponentiation-operator@^6.22.0:
babel-plugin-syntax-exponentiation-operator "^6.8.0"
babel-runtime "^6.22.0"
-babel-plugin-transform-object-assign@^6.22.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-assign/-/babel-plugin-transform-object-assign-6.22.0.tgz#f99d2f66f1a0b0d498e346c5359684740caa20ba"
- integrity sha1-+Z0vZvGgsNSY40bFNZaEdAyqILo=
- dependencies:
- babel-runtime "^6.22.0"
-
babel-plugin-transform-regenerator@^6.22.0:
version "6.26.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz#e0703696fbde27f0a3efcacf8b4dca2f7b3a8f2f"
@@ -1911,7 +1911,7 @@ broccoli-amd-funnel@^2.0.1:
broccoli-plugin "^1.3.0"
symlink-or-copy "^1.2.0"
-broccoli-babel-transpiler@^6.1.2, broccoli-babel-transpiler@^6.5.0, broccoli-babel-transpiler@^6.5.1:
+broccoli-babel-transpiler@^6.1.2, broccoli-babel-transpiler@^6.5.0:
version "6.5.1"
resolved "https://registry.yarnpkg.com/broccoli-babel-transpiler/-/broccoli-babel-transpiler-6.5.1.tgz#a4afc8d3b59b441518eb9a07bd44149476e30738"
integrity sha512-w6GcnkxvHcNCte5FcLGEG1hUdQvlfvSN/6PtGWU/otg69Ugk8rUk51h41R0Ugoc+TNxyeFG1opRt2RlA87XzNw==
@@ -1927,10 +1927,10 @@ broccoli-babel-transpiler@^6.1.2, broccoli-babel-transpiler@^6.5.0, broccoli-bab
rsvp "^4.8.2"
workerpool "^2.3.0"
-broccoli-babel-transpiler@^7.1.0:
- version "7.1.0"
- resolved "https://registry.yarnpkg.com/broccoli-babel-transpiler/-/broccoli-babel-transpiler-7.1.0.tgz#82881100f402419deacf24fc977083993f89a109"
- integrity sha512-pXB5CZXHKcfwvQwqPYzNVcHLUgPYhgz7929NxTSGMlwYmQ3tU+cl/ZxrEvTRVZLJ+WcMKcbzo9SvpoRV9PTumA==
+broccoli-babel-transpiler@^7.1.0, broccoli-babel-transpiler@^7.1.1:
+ version "7.1.1"
+ resolved "https://registry.yarnpkg.com/broccoli-babel-transpiler/-/broccoli-babel-transpiler-7.1.1.tgz#4202cd0653845083ee744fb4eaa4a2b50292f03f"
+ integrity sha512-iZE6yxDcEe4XSMEyqyyS+wtkNAsPUGJNleJoVu26Vt2Al8/GqRI5+wc7qquPb71I1W7AtqbkaqsgDFDqBoIYKw==
dependencies:
"@babel/core" "^7.0.0"
broccoli-funnel "^2.0.1"
| true |
Other
|
emberjs
|
ember.js
|
fa74f56921955a485707c5c6b2d5584db417ba9f.json
|
Add v3.7.0-beta.1 to CHANGELOG
[ci skip]
(cherry picked from commit 113dde8a6cb429236706efeca934cc21764fa5a6)
|
CHANGELOG.md
|
@@ -1,5 +1,13 @@
# Ember Changelog
+### v3.7.0-beta.1 (December 6, 2018)
+
+- [#17254](https://github.com/emberjs/ember.js/pull/17254) [BREAKING] Explicitly drop support for Node 4
+- [#16898](https://github.com/emberjs/ember.js/pull/16898) Add RFC 232 style util test blueprint for Mocha
+- [#17128](https://github.com/emberjs/ember.js/pull/17128) [BUGFIX] Fix Sourcemaps build
+- [#17134](https://github.com/emberjs/ember.js/pull/17134) [CLEANUP] Remove deprecated '_router'
+- [#17133](https://github.com/emberjs/ember.js/pull/17133) [CLEANUP] Remove deprecated 'property{Did,Will}Change'
+
### v3.6.0 (December 6, 2018)
- [#17025](https://github.com/emberjs/ember.js/pull/17025) / [#17034](https://github.com/emberjs/ember.js/pull/17034) / [#17036](https://github.com/emberjs/ember.js/pull/17036) / [#17038](https://github.com/emberjs/ember.js/pull/17038) / [#17040](https://github.com/emberjs/ember.js/pull/17040) / [#17041](https://github.com/emberjs/ember.js/pull/17041) / [#17061](https://github.com/emberjs/ember.js/pull/17061) [FEATURE] Final stage of the router service RFC (see [emberjs/rfcs#95](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md)
| false |
Other
|
emberjs
|
ember.js
|
f4c7876f1ca0b3092a58121cff20d79d617c30de.json
|
Add v3.6.0 to CHANGELOG
[ci skip]
(cherry picked from commit f998e71153a668fe0debfb386517239629888b0b)
|
CHANGELOG.md
|
@@ -1,34 +1,26 @@
# Ember Changelog
-### v3.6.0-beta.4 (November 12, 2018)
+### v3.6.0 (December 6, 2018)
+- [#17025](https://github.com/emberjs/ember.js/pull/17025) / [#17034](https://github.com/emberjs/ember.js/pull/17034) / [#17036](https://github.com/emberjs/ember.js/pull/17036) / [#17038](https://github.com/emberjs/ember.js/pull/17038) / [#17040](https://github.com/emberjs/ember.js/pull/17040) / [#17041](https://github.com/emberjs/ember.js/pull/17041) / [#17061](https://github.com/emberjs/ember.js/pull/17061) [FEATURE] Final stage of the router service RFC (see [emberjs/rfcs#95](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md)
+- [#16795](https://github.com/emberjs/ember.js/pull/16795) [FEATURE] Native Class Constructor Update (see [emberjs/rfcs#337](https://github.com/emberjs/rfcs/blob/master/text/0337-native-class-constructor-update.md)
+- [#17188](https://github.com/emberjs/ember.js/pull/17188) / [#17246](https://github.com/emberjs/ember.js/pull/17246) [BUGFIX] Adds a second dist build which targets IE and early Android versions. Enables avoiding errors when using native classes without transpilation.
+- [#17238](https://github.com/emberjs/ember.js/pull/17238) [DEPRECATION] Deprecate calling `A` as a constructor
+- [#16956](https://github.com/emberjs/ember.js/pull/16956) [DEPRECATION] Deprecate Ember.merge
+- [#17220](https://github.com/emberjs/ember.js/pull/17220) [BUGFIX] Fix cycle detection in Ember.copy
+- [#17227](https://github.com/emberjs/ember.js/pull/17227) [BUGFIX] Fix mouseEnter/Leave event delegation w/o jQuery for SVG & IE11
+- [#17233](https://github.com/emberjs/ember.js/pull/17233) [BUGFIX] Reverts EmberError to be a standard function
+- [#17251](https://github.com/emberjs/ember.js/pull/17251) [BUGFIX] Prevent errors with debug compiled templates in prod.
+- [#17241](https://github.com/emberjs/ember.js/pull/17241) [BUGFIX] Fix line endings of component blueprint on Windows
+- [#17271](https://github.com/emberjs/ember.js/pull/17271) [BUGFIX] Update backburner.js to 2.4.2.
- [#17184](https://github.com/emberjs/ember.js/pull/17184) [BUGFIX] Ensures removeAllListeners does not break subsequent adds
-- [#17186](https://github.com/emberjs/ember.js/pull/17186) [BUGFIX] Fix RouteInfo QP mutability
-- [#17192](https://github.com/emberjs/ember.js/pull/17192) [BUGFIX] currentRoute should respect substates
-
-### v3.6.0-beta.3 (November 5, 2018)
-
- [#17169](https://github.com/emberjs/ember.js/pull/17169) [BUGFIX] Add default implementations of Component lifecycle hooks
-- [#17165](https://github.com/emberjs/ember.js/pull/17165) [BUGFIX] Fix RouteInfo.find and transition.froms
-- [#17180](https://github.com/emberjs/ember.js/pull/17180) [BUGFIX] Router Service State should be correct in events
-
-### v3.6.0-beta.2 (October 29, 2018)
-
-- [#17130](https://github.com/emberjs/ember.js/pull/17130) [BUGFIX] Ensure that timers scheduled after a system sleep are fired properly.
- [#17137](https://github.com/emberjs/ember.js/pull/17137) [BUGFIX] Assert when local variables shadow modifier invocations
- [#17132](https://github.com/emberjs/ember.js/pull/17132) [BUGFIX] Assert when local variables shadow helper invocations
- [#17135](https://github.com/emberjs/ember.js/pull/17135) [BUGFIX] Ensure local variables win over helper invocations
-- [#16923](https://github.com/emberjs/ember.js/pull/16923) [BUGFIX] ES6 classes on/removeListener and observes/removeObserver interop v2
-- [#17128](https://github.com/emberjs/ember.js/pull/17128) [BUGFIX] Fix sourcemaping issues due to multiple sourcemap directives.
-- [#17115](https://github.com/emberjs/ember.js/pull/17115) [BUGFIX] Pass the event parameter to sendAction
+- [#16923](https://github.com/emberjs/ember.js/pull/16923) [BUGFIX] ES6 classes on/removeListener and observes/removeObserver interop
- [#17153](https://github.com/emberjs/ember.js/pull/17153) [BUGFIX] Blueprints can generate components with a single word name
-
-### v3.6.0-beta.1 (October 8, 2018)
-
-- [#16956](https://github.com/emberjs/ember.js/pull/16956) [DEPRECATION] Deprecate Ember.merge
-- [#16795](https://github.com/emberjs/ember.js/pull/16795) [FEATURE] Native Class Constructor Update (see [emberjs/rfcs#337](https://github.com/emberjs/rfcs/blob/master/text/0337-native-class-constructor-update.md)
- [#16865](https://github.com/emberjs/ember.js/pull/16865) / [#16899](https://github.com/emberjs/ember.js/pull/16899) / [#16914](https://github.com/emberjs/ember.js/pull/16914) / [#16897](https://github.com/emberjs/ember.js/pull/16897) / [#16913](https://github.com/emberjs/ember.js/pull/16913) / [#16894](https://github.com/emberjs/ember.js/pull/16894) / [#16896](https://github.com/emberjs/ember.js/pull/16896) [BUGFIX] Support RFC 232 and RFC 268 style tests with Mocha blueprints
-- [#17025](https://github.com/emberjs/ember.js/pull/17025) / [#17034](https://github.com/emberjs/ember.js/pull/17034) / [#17036](https://github.com/emberjs/ember.js/pull/17036) / [#17038](https://github.com/emberjs/ember.js/pull/17038) / [#17040](https://github.com/emberjs/ember.js/pull/17040) / [#17041](https://github.com/emberjs/ember.js/pull/17041) / [#17061](https://github.com/emberjs/ember.js/pull/17061) [FEATURE] Final stage of the router service RFC (see [emberjs/rfcs#95](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md)
- [#17051](https://github.com/emberjs/ember.js/pull/17051) Update glimmer-vm packages to 0.36.4
### v3.5.1 (October 29, 2018)
| false |
Other
|
emberjs
|
ember.js
|
af0016a6d47ae7c585fd80fa3b896f37c0bdffc7.json
|
Update package.json on master post 3.6 beta cut
- This was inadvertently very delayed
|
package.json
|
@@ -1,6 +1,6 @@
{
"name": "ember-source",
- "version": "3.6.0",
+ "version": "3.7.0",
"description": "A JavaScript framework for creating ambitious web applications",
"keywords": [
"ember-addon"
| false |
Other
|
emberjs
|
ember.js
|
b1f34f0cf75dac6a869dffff1a4a463a14f8b7f1.json
|
broccoli/inject-node-globals: Remove unnecessary `resolveModuleSource()` call
|
broccoli/transforms/inject-node-globals.js
|
@@ -12,7 +12,7 @@ function injectNodeGlobals({ types: t }) {
if (requireId || moduleId) {
let specifiers = [];
- let source = t.stringLiteral(this.file.resolveModuleSource('node-module'));
+ let source = t.stringLiteral('node-module');
if (requireId) {
delete path.scope.globals.require;
| false |
Other
|
emberjs
|
ember.js
|
e0c16f6db5c13a72215e98a0a6f426bab5ee959b.json
|
Update old jQuery versions for tests
Updates the suite of tests for old jQuery versions to run with latest of
1.10.x, 1.12.x and 2.2.x.
Unlocks #17227 which is failing due to jQuery 1.8 presumably not handling
events on SVGs correctly.
|
bin/run-tests.js
|
@@ -115,10 +115,10 @@ function generateBuiltTests() {
function generateOldJQueryTests() {
testFunctions.push(function() {
- return run('jquery=1.8.3&nolint=true');
+ return run('jquery=1.10.2&nolint=true');
});
testFunctions.push(function() {
- return run('jquery=1.10.2&nolint=true');
+ return run('jquery=1.12.4&nolint=true');
});
testFunctions.push(function() {
return run('jquery=2.2.4&nolint=true');
| false |
Other
|
emberjs
|
ember.js
|
28945fdc5f50bd6a8389dd8bcbf5136b02be0004.json
|
bin/run-browserstack-tests: Use `const` for imports
|
bin/run-browserstack-tests.js
|
@@ -1,7 +1,7 @@
/* eslint-disable no-console, node/no-unsupported-features */
-var execa = require('execa');
-var chalk = require('chalk');
+const execa = require('execa');
+const chalk = require('chalk');
function run(command, args = []) {
console.log(chalk.dim('$ ' + command + ' ' + args.join(' ')));
| false |
Other
|
emberjs
|
ember.js
|
9f0f7f3334359d256764343a602ff66e453e2faa.json
|
bin/run-tests: Remove unused `browserstack` test suite
|
bin/run-tests.js
|
@@ -177,10 +177,6 @@ switch (process.env.TEST_SUITE) {
console.log('suite: travis-browsers');
require('./run-travis-browser-tests');
break;
- case 'browserstack':
- console.log('suite: browserstack');
- require('./run-browserstack-tests');
- break;
default:
console.log('suite: default (generate each package)');
generateEachPackageTests();
| false |
Other
|
emberjs
|
ember.js
|
e8801f486f4a430b8f8c5055618fc180ccf15be7.json
|
bin/run-tests: Remove unused `node` test suite
|
bin/run-tests.js
|
@@ -1,7 +1,6 @@
/* eslint-disable no-console */
'use strict';
-const execa = require('execa');
const chalk = require('chalk');
const runInSequence = require('../lib/run-in-sequence');
const path = require('path');
@@ -174,22 +173,6 @@ switch (process.env.TEST_SUITE) {
generateEachPackageTests();
runAndExit();
break;
- case 'node': {
- console.log('suite: node');
- let stream = execa('yarn', ['test:node']);
- stream.stdout.pipe(process.stdout);
- stream.then(
- function() {
- console.log(chalk.green('Passed!'));
- process.exit(0);
- },
- function() {
- console.error(chalk.red('Failed!'));
- process.exit(1);
- }
- );
- break;
- }
case 'travis-browsers':
console.log('suite: travis-browsers');
require('./run-travis-browser-tests');
| false |
Other
|
emberjs
|
ember.js
|
bd830131f984e1026d18fec254c665b817225c1a.json
|
tests/docs: Use `QUnit` global instead of importing
for consistency with the other tests in `tests/node/`
|
.eslintrc.js
|
@@ -163,7 +163,10 @@ module.exports = {
},
},
{
- files: [ 'tests/node/**/*.js' ],
+ files: [
+ 'tests/docs/**/*.js',
+ 'tests/node/**/*.js',
+ ],
env: {
qunit: true
| true |
Other
|
emberjs
|
ember.js
|
bd830131f984e1026d18fec254c665b817225c1a.json
|
tests/docs: Use `QUnit` global instead of importing
for consistency with the other tests in `tests/node/`
|
tests/docs/coverage-test.js
|
@@ -1,8 +1,6 @@
/* eslint-disable no-console */
'use strict';
-const QUnit = require('qunit');
-const test = QUnit.test;
const path = require('path');
QUnit.module('Docs coverage', function(hooks) {
@@ -22,15 +20,15 @@ QUnit.module('Docs coverage', function(hooks) {
expectedItems = new Set(expected.classitems);
});
- test('No missing classitems', function(assert) {
+ QUnit.test('No missing classitems', function(assert) {
let missing = setDifference(expectedItems, docsItems);
assert.emptySet(
missing,
'If you have added new features, please update tests/docs/expected.js and confirm that any public properties are marked both @public and @static to be included in the Ember API Docs viewer.'
);
});
- test('No extraneous classitems', function(assert) {
+ QUnit.test('No extraneous classitems', function(assert) {
let extraneous = setDifference(docsItems, expectedItems);
assert.emptySet(
extraneous,
| true |
Other
|
emberjs
|
ember.js
|
c6202fcd7cd006bef785c626ae4abdc2699e26d1.json
|
tests/node/helpers: Convert `appModule()` to `setupAppTest()` helper
|
tests/node/app-boot-test.js
|
@@ -1,140 +1,142 @@
-var appModule = require('./helpers/app-module');
+const setupAppTest = require('./helpers/setup-app');
require('./helpers/assert-html-matches').register();
-appModule('App Boot');
+QUnit.module('App Boot', function(hooks) {
+ setupAppTest(hooks);
-QUnit.test('App boots and routes to a URL', function(assert) {
- this.visit('/');
- assert.ok(this.app);
-});
-
-QUnit.test('nested {{component}}', function(assert) {
- this.template('index', '{{root-component}}');
-
- this.template(
- 'components/root-component',
- "\
- <h1>Hello {{#if hasExistence}}{{location}}{{/if}}</h1>\
- <div>{{component 'foo-bar'}}</div>\
-"
- );
-
- this.component('root-component', {
- location: 'World',
- hasExistence: true,
+ QUnit.test('App boots and routes to a URL', function(assert) {
+ this.visit('/');
+ assert.ok(this.app);
});
- this.template('components/foo-bar', '\
- <p>The files are *inside* the computer?!</p>\
-');
+ QUnit.test('nested {{component}}', function(assert) {
+ this.template('index', '{{root-component}}');
- return this.renderToHTML('/').then(function(html) {
- assert.htmlMatches(
- 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>'
+ this.template(
+ 'components/root-component',
+ "\
+ <h1>Hello {{#if hasExistence}}{{location}}{{/if}}</h1>\
+ <div>{{component 'foo-bar'}}</div>\
+ "
);
- });
-});
-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');
- });
+ this.component('root-component', {
+ location: 'World',
+ hasExistence: true,
+ });
- return this.renderToHTML('/').then(function(html) {
- assert.htmlMatches(
- 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>'
- );
- });
-});
+ this.template('components/foo-bar', '\
+ <p>The files are *inside* the computer?!</p>\
+ ');
-QUnit.test('non-escaped content', function(assert) {
- this.routes(function() {
- this.route('photos');
+ return this.renderToHTML('/').then(function(html) {
+ assert.htmlMatches(
+ 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>'
+ );
+ });
});
- this.template('application', '<h1>{{{title}}}</h1>');
- this.controller('application', {
- title: '<b>Hello world</b>',
- });
+ 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) {
- assert.htmlMatches(
- html,
- '<body><div id="EMBER_ID" class="ember-view"><h1><b>Hello world</b></h1></div></body>'
- );
+ return this.renderToHTML('/').then(function(html) {
+ assert.htmlMatches(
+ 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('outlets', function(assert) {
- this.routes(function() {
- this.route('photos');
- });
+ QUnit.test('non-escaped content', function(assert) {
+ this.routes(function() {
+ this.route('photos');
+ });
- this.template('application', '<p>{{outlet}}</p>');
- this.template('index', '<span>index</span>');
- this.template('photos', '<em>photos</em>');
+ this.template('application', '<h1>{{{title}}}</h1>');
+ this.controller('application', {
+ title: '<b>Hello world</b>',
+ });
- var promises = [];
- promises.push(
- this.renderToHTML('/').then(function(html) {
+ return this.renderToHTML('/').then(function(html) {
assert.htmlMatches(
html,
- '<body><div id="EMBER_ID" class="ember-view"><p><span>index</span></p></div></body>'
+ '<body><div id="EMBER_ID" class="ember-view"><h1><b>Hello world</b></h1></div></body>'
);
- })
- );
+ });
+ });
- promises.push(
- this.renderToHTML('/photos').then(function(html) {
- assert.htmlMatches(
- html,
- '<body><div id="EMBER_ID" class="ember-view"><p><em>photos</em></p></div></body>'
- );
- })
- );
+ QUnit.test('outlets', function(assert) {
+ this.routes(function() {
+ this.route('photos');
+ });
+
+ this.template('application', '<p>{{outlet}}</p>');
+ this.template('index', '<span>index</span>');
+ this.template('photos', '<em>photos</em>');
+
+ var promises = [];
+ promises.push(
+ this.renderToHTML('/').then(function(html) {
+ assert.htmlMatches(
+ html,
+ '<body><div id="EMBER_ID" class="ember-view"><p><span>index</span></p></div></body>'
+ );
+ })
+ );
- return this.all(promises);
-});
+ promises.push(
+ this.renderToHTML('/photos').then(function(html) {
+ assert.htmlMatches(
+ html,
+ '<body><div id="EMBER_ID" class="ember-view"><p><em>photos</em></p></div></body>'
+ );
+ })
+ );
-QUnit.test('lifecycle hooks disabled', function(assert) {
- assert.expect(1);
-
- this.template('application', "{{my-component foo='bar'}}{{outlet}}");
-
- this.component('my-component', {
- didReceiveAttrs() {
- assert.ok(true, 'should trigger didReceiveAttrs hook');
- },
- willRender() {
- assert.ok(false, 'should not trigger willRender hook');
- },
- didRender() {
- assert.ok(false, 'should not trigger didRender hook');
- },
- willInsertElement() {
- assert.ok(false, 'should not trigger willInsertElement hook');
- },
- didInsertElement() {
- assert.ok(false, 'should not trigger didInsertElement hook');
- },
+ return this.all(promises);
});
- return this.renderToHTML('/');
-});
+ QUnit.test('lifecycle hooks disabled', function(assert) {
+ assert.expect(1);
+
+ this.template('application', "{{my-component foo='bar'}}{{outlet}}");
+
+ this.component('my-component', {
+ didReceiveAttrs() {
+ assert.ok(true, 'should trigger didReceiveAttrs hook');
+ },
+ willRender() {
+ assert.ok(false, 'should not trigger willRender hook');
+ },
+ didRender() {
+ assert.ok(false, 'should not trigger didRender hook');
+ },
+ willInsertElement() {
+ assert.ok(false, 'should not trigger willInsertElement hook');
+ },
+ didInsertElement() {
+ assert.ok(false, 'should not trigger didInsertElement hook');
+ },
+ });
+
+ return this.renderToHTML('/');
+ });
-QUnit.test('Should not attempt to render element modifiers GH#14220', function(assert) {
- assert.expect(1);
+ QUnit.test('Should not attempt to render element modifiers GH#14220', function(assert) {
+ assert.expect(1);
- this.template('application', "<div {{action 'foo'}}></div>");
+ this.template('application', "<div {{action 'foo'}}></div>");
- return this.renderToHTML('/').then(function(html) {
- assert.htmlMatches(
- html,
- '<body><div id="EMBER_ID" class="ember-view"><div></div></div></body>'
- );
+ return this.renderToHTML('/').then(function(html) {
+ assert.htmlMatches(
+ html,
+ '<body><div id="EMBER_ID" class="ember-view"><div></div></div></body>'
+ );
+ });
});
});
| true |
Other
|
emberjs
|
ember.js
|
c6202fcd7cd006bef785c626ae4abdc2699e26d1.json
|
tests/node/helpers: Convert `appModule()` to `setupAppTest()` helper
|
tests/node/helpers/setup-app.js
|
@@ -58,46 +58,44 @@ var SimpleDOM = require('simple-dom');
* });
*/
-module.exports = function(moduleName) {
- QUnit.module(moduleName, {
- beforeEach: function() {
- var Ember = (this.Ember = require(emberPath));
-
- Ember.testing = true;
-
- var precompile = require(templateCompilerPath).precompile;
- this.compile = function(templateString, options) {
- var templateSpec = precompile(templateString, options);
- var template = new Function('return ' + templateSpec)();
-
- return Ember.HTMLBars.template(template);
- };
-
- this.run = Ember.run;
- this.all = Ember.RSVP.all;
-
- this.visit = visit;
- this.createApplication = createApplication;
- this.register = register;
- this.template = registerTemplate;
- this.component = registerComponent;
- this.controller = registerController;
- this.route = registerRoute;
- this.service = registerService;
- this.routes = registerRoutes;
- this.registry = {};
- this.renderToHTML = renderToHTML;
- },
+module.exports = function(hooks) {
+ hooks.beforeEach(function() {
+ var Ember = (this.Ember = require(emberPath));
+
+ Ember.testing = true;
+
+ var precompile = require(templateCompilerPath).precompile;
+ this.compile = function(templateString, options) {
+ var templateSpec = precompile(templateString, options);
+ var template = new Function('return ' + templateSpec)();
+
+ return Ember.HTMLBars.template(template);
+ };
+
+ this.run = Ember.run;
+ this.all = Ember.RSVP.all;
+
+ this.visit = visit;
+ this.createApplication = createApplication;
+ this.register = register;
+ this.template = registerTemplate;
+ this.component = registerComponent;
+ this.controller = registerController;
+ this.route = registerRoute;
+ this.service = registerService;
+ this.routes = registerRoutes;
+ this.registry = {};
+ this.renderToHTML = renderToHTML;
+ });
- afterEach: function() {
- this.run(this.app, 'destroy');
+ hooks.afterEach(function() {
+ this.run(this.app, 'destroy');
- delete global.Ember;
+ delete global.Ember;
- // clear the previously cached version of this module
- delete require.cache[emberPath + '.js'];
- delete require.cache[templateCompilerPath + '.js'];
- },
+ // clear the previously cached version of this module
+ delete require.cache[emberPath + '.js'];
+ delete require.cache[templateCompilerPath + '.js'];
});
};
| true |
Other
|
emberjs
|
ember.js
|
c6202fcd7cd006bef785c626ae4abdc2699e26d1.json
|
tests/node/helpers: Convert `appModule()` to `setupAppTest()` helper
|
tests/node/visit-test.js
|
@@ -1,5 +1,5 @@
var SimpleDOM = require('simple-dom');
-var appModule = require('./helpers/app-module');
+var setupAppTest = require('./helpers/setup-app');
function assertHTMLMatches(assert, actualHTML, expectedHTML) {
assert.ok(actualHTML.match(expectedHTML), actualHTML + ' matches ' + expectedHTML);
@@ -39,309 +39,311 @@ function assertFastbootResult(assert, expected) {
};
}
-appModule('Ember.Application - visit() Integration Tests');
+QUnit.module('Ember.Application - visit() Integration Tests', function(hooks) {
+ setupAppTest(hooks);
-QUnit.test('FastBoot: basic', function(assert) {
- this.routes(function() {
- this.route('a');
- this.route('b');
- });
+ QUnit.test('FastBoot: basic', function(assert) {
+ this.routes(function() {
+ this.route('a');
+ this.route('b');
+ });
- this.template('application', '<h1>Hello world</h1>\n{{outlet}}');
- this.template('a', '<h2>Welcome to {{x-foo page="A"}}</h2>');
- this.template('b', '<h2>{{x-foo page="B"}}</h2>');
- this.template('components/x-foo', 'Page {{page}}');
-
- var initCalled = false;
- var didInsertElementCalled = false;
-
- this.component('x-foo', {
- tagName: 'span',
- init: function() {
- this._super();
- initCalled = true;
- },
- didInsertElement: function() {
- didInsertElementCalled = true;
- },
- });
+ this.template('application', '<h1>Hello world</h1>\n{{outlet}}');
+ this.template('a', '<h2>Welcome to {{x-foo page="A"}}</h2>');
+ this.template('b', '<h2>{{x-foo page="B"}}</h2>');
+ this.template('components/x-foo', 'Page {{page}}');
- var App = this.createApplication();
-
- return Promise.all([
- fastbootVisit(App, '/a').then(
- assertFastbootResult(assert, {
- url: '/a',
- body:
- '<h1>Hello world</h1>\n<h2>Welcome to <span id=".+" class="ember-view">Page A</span></h2>',
- }),
- handleError(assert)
- ),
- fastbootVisit(App, '/b').then(
- assertFastbootResult(assert, {
- url: '/b',
- body: '<h1>Hello world</h1>\n<h2><span id=".+" class="ember-view">Page B</span></h2>',
- }),
- handleError
- ),
- ]).then(function() {
- assert.ok(initCalled, 'Component#init should be called');
- assert.ok(!didInsertElementCalled, 'Component#didInsertElement should not be called');
- });
-});
+ var initCalled = false;
+ var didInsertElementCalled = false;
-QUnit.test('FastBoot: redirect', function(assert) {
- this.routes(function() {
- this.route('a');
- this.route('b');
- this.route('c');
+ this.component('x-foo', {
+ tagName: 'span',
+ init: function() {
+ this._super();
+ initCalled = true;
+ },
+ didInsertElement: function() {
+ didInsertElementCalled = true;
+ },
+ });
+
+ var App = this.createApplication();
+
+ return Promise.all([
+ fastbootVisit(App, '/a').then(
+ assertFastbootResult(assert, {
+ url: '/a',
+ body:
+ '<h1>Hello world</h1>\n<h2>Welcome to <span id=".+" class="ember-view">Page A</span></h2>',
+ }),
+ handleError(assert)
+ ),
+ fastbootVisit(App, '/b').then(
+ assertFastbootResult(assert, {
+ url: '/b',
+ body: '<h1>Hello world</h1>\n<h2><span id=".+" class="ember-view">Page B</span></h2>',
+ }),
+ handleError
+ ),
+ ]).then(function() {
+ assert.ok(initCalled, 'Component#init should be called');
+ assert.ok(!didInsertElementCalled, 'Component#didInsertElement should not be called');
+ });
});
- this.template('a', '<h1>Hello from A</h1>');
- this.template('b', '<h1>Hello from B</h1>');
- this.template('c', '<h1>Hello from C</h1>');
+ QUnit.test('FastBoot: redirect', function(assert) {
+ this.routes(function() {
+ this.route('a');
+ this.route('b');
+ this.route('c');
+ });
- this.route('a', {
- beforeModel: function() {
- this.replaceWith('b');
- },
- });
+ this.template('a', '<h1>Hello from A</h1>');
+ this.template('b', '<h1>Hello from B</h1>');
+ this.template('c', '<h1>Hello from C</h1>');
+
+ this.route('a', {
+ beforeModel: function() {
+ this.replaceWith('b');
+ },
+ });
- this.route('b', {
- afterModel: function() {
- this.transitionTo('c');
- },
+ this.route('b', {
+ afterModel: function() {
+ this.transitionTo('c');
+ },
+ });
+
+ var App = this.createApplication();
+
+ return Promise.all([
+ fastbootVisit(App, '/a').then(
+ assertFastbootResult(assert, {
+ url: '/c',
+ body: '<h1>Hello from C</h1>',
+ }),
+ handleError(assert)
+ ),
+ fastbootVisit(App, '/b').then(
+ assertFastbootResult(assert, {
+ url: '/c',
+ body: '<h1>Hello from C</h1>',
+ }),
+ handleError(assert)
+ ),
+ ]);
});
- var App = this.createApplication();
-
- return Promise.all([
- fastbootVisit(App, '/a').then(
- assertFastbootResult(assert, {
- url: '/c',
- body: '<h1>Hello from C</h1>',
- }),
- handleError(assert)
- ),
- fastbootVisit(App, '/b').then(
- assertFastbootResult(assert, {
- url: '/c',
- body: '<h1>Hello from C</h1>',
- }),
- handleError(assert)
- ),
- ]);
-});
+ QUnit.test('FastBoot: attributes are sanitized', function(assert) {
+ this.template('application', '<a href={{test}}></a>');
-QUnit.test('FastBoot: attributes are sanitized', function(assert) {
- this.template('application', '<a href={{test}}></a>');
+ this.controller('application', {
+ test: 'javascript:alert("hello")',
+ });
- this.controller('application', {
- test: 'javascript:alert("hello")',
+ var App = this.createApplication();
+
+ return Promise.all([
+ fastbootVisit(App, '/').then(
+ assertFastbootResult(assert, {
+ url: '/',
+ body: '<a href="unsafe:javascript:alert\\("hello"\\)"></a>',
+ }),
+ handleError(assert)
+ ),
+ ]);
});
- var App = this.createApplication();
-
- return Promise.all([
- fastbootVisit(App, '/').then(
- assertFastbootResult(assert, {
- url: '/',
- body: '<a href="unsafe:javascript:alert\\("hello"\\)"></a>',
- }),
- handleError(assert)
- ),
- ]);
-});
+ QUnit.test('FastBoot: route error', function(assert) {
+ this.routes(function() {
+ this.route('a');
+ this.route('b');
+ });
-QUnit.test('FastBoot: route error', function(assert) {
- this.routes(function() {
- this.route('a');
- this.route('b');
- });
+ this.template('a', '<h1>Hello from A</h1>');
+ this.template('b', '<h1>Hello from B</h1>');
- this.template('a', '<h1>Hello from A</h1>');
- this.template('b', '<h1>Hello from B</h1>');
+ this.route('a', {
+ beforeModel: function() {
+ throw new Error('Error from A');
+ },
+ });
- this.route('a', {
- beforeModel: function() {
- throw new Error('Error from A');
- },
+ this.route('b', {
+ afterModel: function() {
+ throw new Error('Error from B');
+ },
+ });
+
+ var App = this.createApplication();
+
+ return Promise.all([
+ fastbootVisit(App, '/a').then(
+ function(instance) {
+ assert.ok(false, 'It should not render');
+ instance.destroy();
+ },
+ function(error) {
+ assert.equal(error.message, 'Error from A');
+ }
+ ),
+ fastbootVisit(App, '/b').then(
+ function(instance) {
+ assert.ok(false, 'It should not render');
+ instance.destroy();
+ },
+ function(error) {
+ assert.equal(error.message, 'Error from B');
+ }
+ ),
+ ]);
});
- this.route('b', {
- afterModel: function() {
- throw new Error('Error from B');
- },
- });
+ QUnit.test('FastBoot: route error template', function(assert) {
+ this.routes(function() {
+ this.route('a');
+ });
- var App = this.createApplication();
+ this.template('error', '<p>Error template rendered!</p>');
+ this.template('a', '<h1>Hello from A</h1>');
- return Promise.all([
- fastbootVisit(App, '/a').then(
- function(instance) {
- assert.ok(false, 'It should not render');
- instance.destroy();
+ this.route('a', {
+ model: function() {
+ throw new Error('Error from A');
},
- function(error) {
- assert.equal(error.message, 'Error from A');
- }
- ),
- fastbootVisit(App, '/b').then(
- function(instance) {
- assert.ok(false, 'It should not render');
- instance.destroy();
- },
- function(error) {
- assert.equal(error.message, 'Error from B');
- }
- ),
- ]);
-});
-
-QUnit.test('FastBoot: route error template', function(assert) {
- this.routes(function() {
- this.route('a');
+ });
+
+ var App = this.createApplication();
+
+ return Promise.all([
+ fastbootVisit(App, '/a').then(
+ assertFastbootResult(assert, {
+ url: '/a',
+ body: '<p>Error template rendered!</p>',
+ }),
+ handleError(assert)
+ ),
+ ]);
});
- this.template('error', '<p>Error template rendered!</p>');
- this.template('a', '<h1>Hello from A</h1>');
+ QUnit.test('Resource-discovery setup', function(assert) {
+ this.service('network', {
+ init: function() {
+ this.set('requests', []);
+ },
- this.route('a', {
- model: function() {
- throw new Error('Error from A');
- },
- });
+ fetch: function(url) {
+ this.get('requests').push(url);
+ return Promise.resolve();
+ },
+ });
+
+ this.routes(function() {
+ this.route('a');
+ this.route('b');
+ this.route('c');
+ this.route('d');
+ this.route('e');
+ });
+
+ this.route('a', {
+ model: function() {
+ return this.network.fetch('/a');
+ },
+ afterModel: function() {
+ this.replaceWith('b');
+ },
+ });
- var App = this.createApplication();
-
- return Promise.all([
- fastbootVisit(App, '/a').then(
- assertFastbootResult(assert, {
- url: '/a',
- body: '<p>Error template rendered!</p>',
- }),
- handleError(assert)
- ),
- ]);
-});
+ this.route('b', {
+ model: function() {
+ return this.network.fetch('/b');
+ },
+ afterModel: function() {
+ this.replaceWith('c');
+ },
+ });
-QUnit.test('Resource-discovery setup', function(assert) {
- this.service('network', {
- init: function() {
- this.set('requests', []);
- },
+ this.route('c', {
+ model: function() {
+ return this.network.fetch('/c');
+ },
+ });
- fetch: function(url) {
- this.get('requests').push(url);
- return Promise.resolve();
- },
- });
+ this.route('d', {
+ model: function() {
+ return this.network.fetch('/d');
+ },
+ afterModel: function() {
+ this.replaceWith('e');
+ },
+ });
- this.routes(function() {
- this.route('a');
- this.route('b');
- this.route('c');
- this.route('d');
- this.route('e');
- });
+ this.route('e', {
+ model: function() {
+ return this.network.fetch('/e');
+ },
+ });
- this.route('a', {
- model: function() {
- return this.network.fetch('/a');
- },
- afterModel: function() {
- this.replaceWith('b');
- },
- });
+ this.template('a', '{{x-foo}}');
+ this.template('b', '{{x-foo}}');
+ this.template('c', '{{x-foo}}');
+ this.template('d', '{{x-foo}}');
+ this.template('e', '{{x-foo}}');
- this.route('b', {
- model: function() {
- return this.network.fetch('/b');
- },
- afterModel: function() {
- this.replaceWith('c');
- },
- });
+ var xFooInstances = 0;
- this.route('c', {
- model: function() {
- return this.network.fetch('/c');
- },
- });
+ this.component('x-foo', {
+ init: function() {
+ this._super();
+ xFooInstances++;
+ },
+ });
- this.route('d', {
- model: function() {
- return this.network.fetch('/d');
- },
- afterModel: function() {
- this.replaceWith('e');
- },
- });
+ var App = this.createApplication();
- this.route('e', {
- model: function() {
- return this.network.fetch('/e');
- },
- });
+ App.inject('route', 'network', 'service:network');
- this.template('a', '{{x-foo}}');
- this.template('b', '{{x-foo}}');
- this.template('c', '{{x-foo}}');
- this.template('d', '{{x-foo}}');
- this.template('e', '{{x-foo}}');
+ function assertResources(url, resources) {
+ return App.visit(url, { isBrowser: false, shouldRender: false }).then(function(instance) {
+ try {
+ var viewRegistry = instance.lookup('-view-registry:main');
+ assert.strictEqual(Object.keys(viewRegistry).length, 0, 'did not create any views');
- var xFooInstances = 0;
+ var networkService = instance.lookup('service:network');
+ assert.deepEqual(networkService.get('requests'), resources);
+ } finally {
+ instance.destroy();
+ }
+ }, handleError(assert));
+ }
- this.component('x-foo', {
- init: function() {
- this._super();
- xFooInstances++;
- },
+ return Promise.all([
+ assertResources('/a', ['/a', '/b', '/c']),
+ assertResources('/b', ['/b', '/c']),
+ assertResources('/c', ['/c']),
+ assertResources('/d', ['/d', '/e']),
+ assertResources('/e', ['/e']),
+ ]).then(function() {
+ assert.strictEqual(xFooInstances, 0, 'it should not create any x-foo components');
+ });
});
- var App = this.createApplication();
-
- App.inject('route', 'network', 'service:network');
-
- function assertResources(url, resources) {
- return App.visit(url, { isBrowser: false, shouldRender: false }).then(function(instance) {
- try {
- var viewRegistry = instance.lookup('-view-registry:main');
- assert.strictEqual(Object.keys(viewRegistry).length, 0, 'did not create any views');
-
- var networkService = instance.lookup('service:network');
- assert.deepEqual(networkService.get('requests'), resources);
- } finally {
- instance.destroy();
- }
- }, handleError(assert));
- }
-
- return Promise.all([
- assertResources('/a', ['/a', '/b', '/c']),
- assertResources('/b', ['/b', '/c']),
- assertResources('/c', ['/c']),
- assertResources('/d', ['/d', '/e']),
- assertResources('/e', ['/e']),
- ]).then(function() {
- assert.strictEqual(xFooInstances, 0, 'it should not create any x-foo components');
+ QUnit.test('FastBoot: tagless components can render', function(assert) {
+ this.template('application', "<div class='my-context'>{{my-component}}</div>");
+ this.component('my-component', { tagName: '' });
+ this.template('components/my-component', '<h1>hello world</h1>');
+
+ var App = this.createApplication();
+
+ return Promise.all([
+ fastbootVisit(App, '/').then(
+ assertFastbootResult(assert, {
+ url: '/',
+ body: /<div class="my-context"><h1>hello world<\/h1><\/div>/,
+ }),
+ handleError(assert)
+ ),
+ ]);
});
});
-
-QUnit.test('FastBoot: tagless components can render', function(assert) {
- this.template('application', "<div class='my-context'>{{my-component}}</div>");
- this.component('my-component', { tagName: '' });
- this.template('components/my-component', '<h1>hello world</h1>');
-
- var App = this.createApplication();
-
- return Promise.all([
- fastbootVisit(App, '/').then(
- assertFastbootResult(assert, {
- url: '/',
- body: /<div class="my-context"><h1>hello world<\/h1><\/div>/,
- }),
- handleError(assert)
- ),
- ]);
-});
| true |
Other
|
emberjs
|
ember.js
|
3589ebbe863dd3571fac44cc1c7b9a223d470858.json
|
tests/node/visit: Use native `Promise` instead of `RSVP`
|
tests/node/visit-test.js
|
@@ -1,4 +1,3 @@
-var RSVP = require('rsvp');
var SimpleDOM = require('simple-dom');
var appModule = require('./helpers/app-module');
@@ -69,7 +68,7 @@ QUnit.test('FastBoot: basic', function(assert) {
var App = this.createApplication();
- return RSVP.all([
+ return Promise.all([
fastbootVisit(App, '/a').then(
assertFastbootResult(assert, {
url: '/a',
@@ -116,7 +115,7 @@ QUnit.test('FastBoot: redirect', function(assert) {
var App = this.createApplication();
- return RSVP.all([
+ return Promise.all([
fastbootVisit(App, '/a').then(
assertFastbootResult(assert, {
url: '/c',
@@ -143,7 +142,7 @@ QUnit.test('FastBoot: attributes are sanitized', function(assert) {
var App = this.createApplication();
- return RSVP.all([
+ return Promise.all([
fastbootVisit(App, '/').then(
assertFastbootResult(assert, {
url: '/',
@@ -177,7 +176,7 @@ QUnit.test('FastBoot: route error', function(assert) {
var App = this.createApplication();
- return RSVP.all([
+ return Promise.all([
fastbootVisit(App, '/a').then(
function(instance) {
assert.ok(false, 'It should not render');
@@ -215,7 +214,7 @@ QUnit.test('FastBoot: route error template', function(assert) {
var App = this.createApplication();
- return RSVP.all([
+ return Promise.all([
fastbootVisit(App, '/a').then(
assertFastbootResult(assert, {
url: '/a',
@@ -234,7 +233,7 @@ QUnit.test('Resource-discovery setup', function(assert) {
fetch: function(url) {
this.get('requests').push(url);
- return RSVP.resolve();
+ return Promise.resolve();
},
});
@@ -318,7 +317,7 @@ QUnit.test('Resource-discovery setup', function(assert) {
}, handleError(assert));
}
- return RSVP.all([
+ return Promise.all([
assertResources('/a', ['/a', '/b', '/c']),
assertResources('/b', ['/b', '/c']),
assertResources('/c', ['/c']),
@@ -336,7 +335,7 @@ QUnit.test('FastBoot: tagless components can render', function(assert) {
var App = this.createApplication();
- return RSVP.all([
+ return Promise.all([
fastbootVisit(App, '/').then(
assertFastbootResult(assert, {
url: '/',
| false |
Other
|
emberjs
|
ember.js
|
140d66785dc61304c9df4281ff993fbbd075c829.json
|
bin/changelog: Use arrow functions
|
bin/changelog.js
|
@@ -32,9 +32,7 @@ compareCommits({
})
.then(processPages)
.then(console.log)
- .catch(function(err) {
- console.error(err);
- });
+ .catch(err => console.error(err));
function getCommitMessage(commitInfo) {
let message = commitInfo.commit.message;
@@ -63,14 +61,14 @@ function getCommitMessage(commitInfo) {
function processPages(res) {
let contributions = res.commits
- .filter(function(commitInfo) {
+ .filter(commitInfo => {
let message = commitInfo.commit.message;
return (
message.indexOf('Merge pull request #') > -1 || message.indexOf('cherry picked from') > -1
);
})
- .map(function(commitInfo) {
+ .map(commitInfo => {
let message = getCommitMessage(commitInfo);
let match = message.match(/#(\d+) from (.*)\//);
let result = {
@@ -88,10 +86,8 @@ function processPages(res) {
return result;
})
- .sort(function(a, b) {
- return a.number > b.number;
- })
- .map(function(pr) {
+ .sort((a, b) => a.number > b.number)
+ .map(pr => {
let title = pr.title;
let link;
if (pr.number) {
@@ -107,7 +103,7 @@ function processPages(res) {
.join('\n');
if (github.hasNextPage(res)) {
- return github.getNextPage(res).then(function(nextPage) {
+ return github.getNextPage(res).then(nextPage => {
contributions += processPages(nextPage);
});
} else {
| false |
Other
|
emberjs
|
ember.js
|
2130482198ca387a48f02d8ee0126a72b4efd07e.json
|
bin/changelog: Fix ESLint issues
|
bin/changelog.js
|
@@ -1,4 +1,7 @@
#!/usr/bin/env node
+
+/* eslint-disable no-console, node/shebang */
+
'use strict';
/*
@@ -11,11 +14,11 @@
* bin/changelog.js
*/
-var RSVP = require('rsvp');
+var RSVP = require('rsvp');
var GitHubApi = require('github');
-var execSync = require('child_process').execSync;
+var execSync = require('child_process').execSync;
-var github = new GitHubApi({ version: '3.0.0' });
+var github = new GitHubApi({ version: '3.0.0' });
var compareCommits = RSVP.denodeify(github.repos.compareCommits);
var currentVersion = process.env.PRIOR_VERSION;
var head = process.env.HEAD || execSync('git rev-parse HEAD', { encoding: 'UTF-8' });
@@ -24,13 +27,13 @@ compareCommits({
user: 'emberjs',
repo: 'ember.js',
base: currentVersion,
- head: head
+ head: head,
})
-.then(processPages)
-.then(console.log)
-.catch(function(err) {
- console.error(err);
-});
+ .then(processPages)
+ .then(console.log)
+ .catch(function(err) {
+ console.error(err);
+ });
function getCommitMessage(commitInfo) {
var message = commitInfo.commit.message;
@@ -41,54 +44,71 @@ function getCommitMessage(commitInfo) {
try {
// command from http://stackoverflow.com/questions/8475448/find-merge-commit-which-include-a-specific-commit
- message = execSync('commit=$((git rev-list ' + originalCommit + '..origin/master --ancestry-path | cat -n; git rev-list ' + originalCommit + '..origin/master --first-parent | cat -n) | sort -k2 | uniq -f1 -d | sort -n | tail -1 | cut -f2) && git show --format="%s\n\n%b" $commit', { encoding: 'utf8' });
- } catch (e) { }
+ message = execSync(
+ 'commit=$((git rev-list ' +
+ originalCommit +
+ '..origin/master --ancestry-path | cat -n; git rev-list ' +
+ originalCommit +
+ '..origin/master --first-parent | cat -n) | sort -k2 | uniq -f1 -d | sort -n | tail -1 | cut -f2) && git show --format="%s\n\n%b" $commit',
+ { encoding: 'utf8' }
+ );
+ } catch (e) {
+ // ignored
+ }
}
return message;
}
function processPages(res) {
- var contributions = res.commits.filter(function(commitInfo) {
- var message = commitInfo.commit.message;
-
- return message.indexOf('Merge pull request #') > -1 || message.indexOf('cherry picked from') > -1;
- }).map(function(commitInfo) {
- var message = getCommitMessage(commitInfo);
- var match = message.match(/#(\d+) from (.*)\//);
- var result = {
- sha: commitInfo.sha
- };
-
- if (match) {
- var numAndAuthor = match.slice(1, 3);
-
- result.number = numAndAuthor[0];
- result.title = message.split('\n\n')[1];
- } else {
- result.title = message.split('\n\n')[0];
- }
+ var contributions = res.commits
+ .filter(function(commitInfo) {
+ var message = commitInfo.commit.message;
- return result;
- }).sort(function(a, b) {
- return a.number > b.number;
- }).map(function(pr) {
- var title = pr.title;
- var link;
- if (pr.number) {
- link = '[#' + pr.number + ']' + '(https://github.com/emberjs/ember.js/pull/' + pr.number + ')';
- } else {
- link = '[' + pr.sha.slice(0, 8) + '](https://github.com/emberjs/ember.js/commit/' + pr.sha + ')';
- }
+ return (
+ message.indexOf('Merge pull request #') > -1 || message.indexOf('cherry picked from') > -1
+ );
+ })
+ .map(function(commitInfo) {
+ var message = getCommitMessage(commitInfo);
+ var match = message.match(/#(\d+) from (.*)\//);
+ var result = {
+ sha: commitInfo.sha,
+ };
+
+ if (match) {
+ var numAndAuthor = match.slice(1, 3);
+
+ result.number = numAndAuthor[0];
+ result.title = message.split('\n\n')[1];
+ } else {
+ result.title = message.split('\n\n')[0];
+ }
+
+ return result;
+ })
+ .sort(function(a, b) {
+ return a.number > b.number;
+ })
+ .map(function(pr) {
+ var title = pr.title;
+ var link;
+ if (pr.number) {
+ link =
+ '[#' + pr.number + ']' + '(https://github.com/emberjs/ember.js/pull/' + pr.number + ')';
+ } else {
+ link =
+ '[' + pr.sha.slice(0, 8) + '](https://github.com/emberjs/ember.js/commit/' + pr.sha + ')';
+ }
- return '- ' + link + ' ' + title;
- }).join('\n');
+ return '- ' + link + ' ' + title;
+ })
+ .join('\n');
if (github.hasNextPage(res)) {
- return github.getNextPage(res)
- .then(function(nextPage) {
- contributions += processPages(nextPage);
- });
+ return github.getNextPage(res).then(function(nextPage) {
+ contributions += processPages(nextPage);
+ });
} else {
return RSVP.resolve(contributions);
}
| false |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/acceptance-test-test.js
|
@@ -77,10 +77,7 @@ describe('Blueprint: acceptance-test', function() {
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
@@ -210,10 +207,7 @@ describe('Blueprint: acceptance-test', function() {
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/component-test-test.js
|
@@ -151,10 +151,7 @@ describe('Blueprint: component-test', function() {
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
@@ -304,10 +301,7 @@ describe('Blueprint: component-test', function() {
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
@@ -331,10 +325,12 @@ describe('Blueprint: component-test', function() {
describe('in addon', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -372,10 +368,12 @@ describe('Blueprint: component-test', function() {
describe('in in-repo-addon', function() {
beforeEach(function() {
return emberNew({ target: 'in-repo-addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/component-test.js
|
@@ -21,10 +21,12 @@ describe('Blueprint: component', function() {
describe('in app', function() {
beforeEach(function() {
return emberNew()
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -425,10 +427,12 @@ describe('Blueprint: component', function() {
beforeEach(function() {
return emberNew()
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -490,10 +494,12 @@ describe('Blueprint: component', function() {
describe('in addon', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -618,10 +624,12 @@ describe('Blueprint: component', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -714,10 +722,12 @@ describe('Blueprint: component', function() {
describe('in in-repo-addon', function() {
beforeEach(function() {
return emberNew({ target: 'in-repo-addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -848,10 +858,12 @@ describe('Blueprint: component', function() {
beforeEach(function() {
return emberNew({ target: 'in-repo-addon' })
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/controller-test-test.js
|
@@ -128,10 +128,7 @@ describe('Blueprint: controller-test', function() {
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
@@ -266,10 +263,7 @@ describe('Blueprint: controller-test', function() {
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
@@ -294,10 +288,12 @@ describe('Blueprint: controller-test', function() {
describe('in addon', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -324,10 +320,12 @@ describe('Blueprint: controller-test', function() {
beforeEach(function() {
return emberNew()
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/controller-test.js
|
@@ -22,10 +22,12 @@ describe('Blueprint: controller', function() {
describe('in app', function() {
beforeEach(function() {
return emberNew()
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -105,10 +107,12 @@ describe('Blueprint: controller', function() {
describe('in addon', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -173,10 +177,12 @@ describe('Blueprint: controller', function() {
beforeEach(function() {
return emberNew()
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -224,10 +230,12 @@ describe('Blueprint: controller', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -300,10 +308,12 @@ describe('Blueprint: controller', function() {
describe('in in-repo-addon', function() {
beforeEach(function() {
return emberNew({ target: 'in-repo-addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/helper-test-test.js
|
@@ -128,10 +128,7 @@ describe('Blueprint: helper-test', function() {
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
@@ -265,10 +262,7 @@ describe('Blueprint: helper-test', function() {
});
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
@@ -292,11 +286,12 @@ describe('Blueprint: helper-test', function() {
describe('in addon', function() {
beforeEach(function() {
- return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
+ return emberNew({ target: 'addon' }).then(() =>
+ modifyPackages([
{ name: 'ember-qunit', delete: true },
{ name: 'ember-cli-qunit', dev: true },
- ]));
+ ])
+ );
});
it('helper-test foo/bar-baz', function() {
@@ -313,10 +308,12 @@ describe('Blueprint: helper-test', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => fs.ensureDirSync('src'));
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/helper-test.js
|
@@ -19,11 +19,12 @@ describe('Blueprint: helper', function() {
describe('in app', function() {
beforeEach(function() {
- return emberNew()
- .then(() => modifyPackages([
+ return emberNew().then(() =>
+ modifyPackages([
{ name: 'ember-qunit', delete: true },
{ name: 'ember-cli-qunit', dev: true },
- ]));
+ ])
+ );
});
it('helper foo/bar-baz', function() {
@@ -93,10 +94,12 @@ describe('Blueprint: helper', function() {
beforeEach(function() {
return emberNew()
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]));
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ );
});
it('helper foo/bar-baz', function() {
@@ -120,11 +123,12 @@ describe('Blueprint: helper', function() {
describe('in addon', function() {
beforeEach(function() {
- return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
+ return emberNew({ target: 'addon' }).then(() =>
+ modifyPackages([
{ name: 'ember-qunit', delete: true },
{ name: 'ember-cli-qunit', dev: true },
- ]));
+ ])
+ );
});
it('helper foo/bar-baz', function() {
@@ -152,10 +156,12 @@ describe('Blueprint: helper', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]));
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ );
});
it('helper foo/bar-baz', function() {
@@ -179,11 +185,12 @@ describe('Blueprint: helper', function() {
describe('in in-repo-addon', function() {
beforeEach(function() {
- return emberNew({ target: 'in-repo-addon' })
- .then(() => modifyPackages([
+ return emberNew({ target: 'in-repo-addon' }).then(() =>
+ modifyPackages([
{ name: 'ember-qunit', delete: true },
{ name: 'ember-cli-qunit', dev: true },
- ]));
+ ])
+ );
});
it('helper foo/bar-baz --in-repo-addon=my-addon', function() {
@@ -205,10 +212,12 @@ describe('Blueprint: helper', function() {
beforeEach(function() {
return emberNew({ target: 'in-repo-addon' })
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]));
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ );
});
it('helper foo/bar-baz --in-repo-addon=my-addon', function() {
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/initializer-test.js
|
@@ -22,10 +22,12 @@ describe('Blueprint: initializer', function() {
describe('in app', function() {
beforeEach(function() {
return emberNew()
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -89,10 +91,12 @@ describe('Blueprint: initializer', function() {
describe('in addon', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -150,10 +154,12 @@ describe('Blueprint: initializer', function() {
describe('in in-repo-addon', function() {
beforeEach(function() {
return emberNew({ target: 'in-repo-addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -192,10 +198,12 @@ describe('Blueprint: initializer', function() {
beforeEach(function() {
return emberNew()
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -264,10 +272,12 @@ describe('Blueprint: initializer', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/instance-initializer-test.js
|
@@ -22,10 +22,12 @@ describe('Blueprint: instance-initializer', function() {
describe('in app', function() {
beforeEach(function() {
return emberNew()
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -95,10 +97,12 @@ describe('Blueprint: instance-initializer', function() {
describe('in addon', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -158,10 +162,12 @@ describe('Blueprint: instance-initializer', function() {
describe('in in-repo-addon', function() {
beforeEach(function() {
return emberNew({ target: 'in-repo-addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -206,10 +212,12 @@ describe('Blueprint: instance-initializer', function() {
beforeEach(function() {
return emberNew()
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -278,10 +286,12 @@ describe('Blueprint: instance-initializer', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/mixin-test-test.js
|
@@ -71,10 +71,7 @@ describe('Blueprint: mixin-test', function() {
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
@@ -145,11 +142,12 @@ describe('Blueprint: mixin-test', function() {
describe('in addon', function() {
beforeEach(function() {
- return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
+ return emberNew({ target: 'addon' }).then(() =>
+ modifyPackages([
{ name: 'ember-qunit', delete: true },
{ name: 'ember-cli-qunit', dev: true },
- ]));
+ ])
+ );
});
it('mixin-test foo', function() {
@@ -164,10 +162,12 @@ describe('Blueprint: mixin-test', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => fs.ensureDirSync('src'));
});
@@ -180,11 +180,12 @@ describe('Blueprint: mixin-test', function() {
describe('in in-repo-addon', function() {
beforeEach(function() {
- return emberNew({ target: 'in-repo-addon' })
- .then(() => modifyPackages([
+ return emberNew({ target: 'in-repo-addon' }).then(() =>
+ modifyPackages([
{ name: 'ember-qunit', delete: true },
{ name: 'ember-cli-qunit', dev: true },
- ]));
+ ])
+ );
});
it('mixin-test foo --in-repo-addon=my-addon', function() {
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/route-test-test.js
|
@@ -88,10 +88,7 @@ describe('Blueprint: route-test', function() {
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
@@ -108,10 +105,12 @@ describe('Blueprint: route-test', function() {
describe('in addon', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/route-test.js
|
@@ -25,10 +25,12 @@ describe('Blueprint: route', function() {
describe('in app', function() {
beforeEach(function() {
return emberNew()
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -219,10 +221,12 @@ describe('Blueprint: route', function() {
describe('in addon', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -333,10 +337,12 @@ describe('Blueprint: route', function() {
beforeEach(function() {
return emberNew()
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -494,10 +500,12 @@ describe('Blueprint: route', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -578,10 +586,12 @@ describe('Blueprint: route', function() {
describe('in in-repo-addon', function() {
beforeEach(function() {
return emberNew({ target: 'in-repo-addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/service-test-test.js
|
@@ -92,10 +92,7 @@ describe('Blueprint: service-test', function() {
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/service-test.js
|
@@ -22,10 +22,12 @@ describe('Blueprint: service', function() {
describe('in app', function() {
beforeEach(function() {
return emberNew()
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -104,10 +106,12 @@ describe('Blueprint: service', function() {
beforeEach(function() {
return emberNew()
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -140,10 +144,12 @@ describe('Blueprint: service', function() {
describe('in addon', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -182,10 +188,12 @@ describe('Blueprint: service', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -215,10 +223,12 @@ describe('Blueprint: service', function() {
describe('in in-repo-addon', function() {
beforeEach(function() {
return emberNew({ target: 'in-repo-addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/util-test-test.js
|
@@ -75,10 +75,7 @@ describe('Blueprint: util-test', function() {
describe('with [email protected]', function() {
beforeEach(function() {
- modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-mocha', dev: true },
- ]);
+ modifyPackages([{ name: 'ember-qunit', delete: true }, { name: 'ember-mocha', dev: true }]);
generateFakePackageManifest('ember-mocha', '0.14.0');
});
| true |
Other
|
emberjs
|
ember.js
|
c987968dd9796ea90462f9d54e0d3cf81e981920.json
|
tests/blueprints: Fix ESLint issues
|
node-tests/blueprints/util-test.js
|
@@ -22,10 +22,12 @@ describe('Blueprint: util', function() {
describe('in app', function() {
beforeEach(function() {
return emberNew()
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -88,10 +90,12 @@ describe('Blueprint: util', function() {
beforeEach(function() {
return emberNew()
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -124,10 +128,12 @@ describe('Blueprint: util', function() {
describe('in addon', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -166,10 +172,12 @@ describe('Blueprint: util', function() {
beforeEach(function() {
return emberNew({ target: 'addon' })
.then(() => fs.ensureDirSync('src'))
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
@@ -199,10 +207,12 @@ describe('Blueprint: util', function() {
describe('in in-repo-addon', function() {
beforeEach(function() {
return emberNew({ target: 'in-repo-addon' })
- .then(() => modifyPackages([
- { name: 'ember-qunit', delete: true },
- { name: 'ember-cli-qunit', dev: true },
- ]))
+ .then(() =>
+ modifyPackages([
+ { name: 'ember-qunit', delete: true },
+ { name: 'ember-cli-qunit', dev: true },
+ ])
+ )
.then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
});
| true |
Other
|
emberjs
|
ember.js
|
3b411ca380afa05b6a686cb0c0ffc2e1d8482bbf.json
|
Drop support for Node 4
|
package.json
|
@@ -158,7 +158,7 @@
"typescript-eslint-parser": "^18.0.0"
},
"engines": {
- "node": "^4.5 || 6.* || >= 8.*"
+ "node": "6.* || 8.* || >= 10.*"
},
"ember-addon": {
"after": "ember-cli-legacy-blueprints"
| false |
Other
|
emberjs
|
ember.js
|
d787f604b141d534724c885881717b06c4c3ea87.json
|
CI: Remove duplicate `each-package-tests` job
For some unknown reason this was included in both "basic tests" and "additional tests"
|
.travis.yml
|
@@ -86,8 +86,6 @@ jobs:
- env: TEST_SUITE=blueprints
node_js: "6"
- env: TEST_SUITE=travis-browsers
- - env:
- - TEST_SUITE=each-package-tests
- stage: deploy
env:
| false |
Other
|
emberjs
|
ember.js
|
6f937698f1a2ab961191b15bed75acbebec36029.json
|
CI: Use non-sudo method of installing `yarn`
|
.travis.yml
|
@@ -13,10 +13,8 @@ before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- - sudo apt-get update -qq
- - sudo apt-get install -y -qq yarn
+ - curl -o- -L https://yarnpkg.com/install.sh | bash
+ - export PATH=$HOME/.yarn/bin:$PATH
- yarn --version
# install the most recent `npm version`
| false |
Other
|
emberjs
|
ember.js
|
92a166e8714a4a2f690076840869796bea387348.json
|
CI: Fix `fast_finish` behavior
No idea where `fail_fast` came from, but it doesn't seem to be an actual config option
|
.travis.yml
|
@@ -36,6 +36,9 @@ branches:
# npm version tags
- /^v\d+\.\d+\.\d+/
+matrix:
+ fast_finish: true
+
stages:
- basic test
- additional tests
@@ -62,10 +65,7 @@ env:
- secure: e0yxVfwVW61d3Mi/QBOsY6Rfd1mZd3VXUd9xNRoz/fkvQJRuVwDe7oG3NOuJ4LZzvMw7BJ+zpDV9D8nKhAyPEEOgpkkMHUB7Ds83pHG4qSMzm4EAwBCadDLXCQirldz8dzN5FAqgGucXoj5fj/p2SKOkO6qWIZveGr8pdBJEG1E=
jobs:
- fail_fast: true
-
include:
-
- stage: basic test
env: TEST_SUITE=each-package-tests
| false |
Other
|
emberjs
|
ember.js
|
7d9c2336fc5c0e2b0792afac24e10a001457cef7.json
|
CI: Use dedicated commands in `before_install`
This makes it easier to associate the output with the corresponding commands
|
.travis.yml
|
@@ -10,23 +10,21 @@ cache:
yarn: true
before_install:
-- |
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
+ - export DISPLAY=:99.0
+ - sh -e /etc/init.d/xvfb start
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
- yarn --version
+ - sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
+ - echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
+ - sudo apt-get update -qq
+ - sudo apt-get install -y -qq yarn
+ - yarn --version
- # install the most recent `npm version`
- # used when publishing to build a properly packed tarball
- npm i -g npm
+ # install the most recent `npm version`
+ # used when publishing to build a properly packed tarball
+ - npm i -g npm
install:
-- |
- yarn install --frozen-lockfile --non-interactive
+ - yarn install --frozen-lockfile --non-interactive
branches:
only:
| false |
Other
|
emberjs
|
ember.js
|
ab27246721029814ca3feb1264d09f3965b7d734.json
|
Add blueprints for MU instance initializer
|
blueprints/instance-initializer-test/index.js
|
@@ -5,13 +5,45 @@ const path = require('path');
const stringUtils = require('ember-cli-string-utils');
const useTestFrameworkDetector = require('../test-framework-detector');
+const isModuleUnificationProject = require('../module-unification').isModuleUnificationProject;
module.exports = useTestFrameworkDetector({
description: 'Generates an instance initializer unit test.',
+
+ fileMapTokens: function() {
+ if (isModuleUnificationProject(this.project)) {
+ return {
+ __root__(options) {
+ if (options.pod) {
+ throw new Error('Pods arenʼt supported within a module unification app');
+ } else if (options.inDummy) {
+ return path.join('tests', 'dummy', 'src', 'init');
+ }
+ return path.join('src', 'init');
+ },
+ __testType__() {
+ return '';
+ },
+ };
+ } else {
+ return {
+ __root__() {
+ return 'tests';
+ },
+ __testType__() {
+ return 'unit';
+ },
+ };
+ }
+ },
locals: function(options) {
+ let modulePrefix = stringUtils.dasherize(options.project.config().modulePrefix);
+ if (isModuleUnificationProject(this.project)) {
+ modulePrefix += '/init';
+ }
return {
friendlyTestName: ['Unit', 'Instance Initializer', options.entity.name].join(' | '),
- dasherizedModulePrefix: stringUtils.dasherize(options.project.config().modulePrefix),
+ modulePrefix,
destroyAppExists: fs.existsSync(
path.join(this.project.root, '/tests/helpers/destroy-app.js')
),
| true |
Other
|
emberjs
|
ember.js
|
ab27246721029814ca3feb1264d09f3965b7d734.json
|
Add blueprints for MU instance initializer
|
blueprints/instance-initializer-test/mocha-files/__root__/__testType__/__path__/__name__-test.js
|
@@ -2,7 +2,7 @@ import { expect } from 'chai';
import { describe, it, beforeEach } from 'mocha';
import Application from '@ember/application';
import { run } from '@ember/runloop';
-import { initialize } from '<%= dasherizedModulePrefix %>/instance-initializers/<%= dasherizedModuleName %>';
+import { initialize } from '<%= modulePrefix %>/instance-initializers/<%= dasherizedModuleName %>';
import destroyApp from '../../helpers/destroy-app';
describe('<%= friendlyTestName %>', function() {
| true |
Other
|
emberjs
|
ember.js
|
ab27246721029814ca3feb1264d09f3965b7d734.json
|
Add blueprints for MU instance initializer
|
blueprints/instance-initializer-test/qunit-files/__root__/__testType__/__path__/__name__-test.js
|
@@ -1,6 +1,6 @@
import Application from '@ember/application';
import { run } from '@ember/runloop';
-import { initialize } from '<%= dasherizedModulePrefix %>/instance-initializers/<%= dasherizedModuleName %>';
+import { initialize } from '<%= modulePrefix %>/instance-initializers/<%= dasherizedModuleName %>';
import { module, test } from 'qunit';<% if (destroyAppExists) { %>
import destroyApp from '../../helpers/destroy-app';<% } %>
| true |
Other
|
emberjs
|
ember.js
|
ab27246721029814ca3feb1264d09f3965b7d734.json
|
Add blueprints for MU instance initializer
|
blueprints/instance-initializer-test/qunit-rfc-232-files/__root__/__testType__/__path__/__name__-test.js
|
@@ -1,6 +1,6 @@
import Application from '@ember/application';
-import { initialize } from '<%= dasherizedModulePrefix %>/instance-initializers/<%= dasherizedModuleName %>';
+import { initialize } from '<%= modulePrefix %>/instance-initializers/<%= dasherizedModuleName %>';
import { module, test } from 'qunit';
<% if (destroyAppExists) { %>import destroyApp from '../../helpers/destroy-app';<% } else { %>import { run } from '@ember/runloop';<% } %>
| true |
Other
|
emberjs
|
ember.js
|
ab27246721029814ca3feb1264d09f3965b7d734.json
|
Add blueprints for MU instance initializer
|
blueprints/instance-initializer/index.js
|
@@ -1,5 +1,23 @@
'use strict';
+const path = require('path');
+const isModuleUnificationProject = require('../module-unification').isModuleUnificationProject;
+
module.exports = {
description: 'Generates an instance initializer.',
+
+ fileMapTokens() {
+ if (isModuleUnificationProject(this.project)) {
+ return {
+ __root__(options) {
+ if (options.pod) {
+ throw new Error('Pods arenʼt supported within a module unification app');
+ } else if (options.inDummy) {
+ return path.join('tests', 'dummy', 'src/init');
+ }
+ return 'src/init';
+ },
+ };
+ }
+ },
};
| true |
Other
|
emberjs
|
ember.js
|
ab27246721029814ca3feb1264d09f3965b7d734.json
|
Add blueprints for MU instance initializer
|
node-tests/blueprints/instance-initializer-test-test.js
|
@@ -11,6 +11,7 @@ const expect = chai.expect;
const generateFakePackageManifest = require('../helpers/generate-fake-package-manifest');
const fixture = require('../helpers/fixture');
+const fs = require('fs-extra');
describe('Blueprint: instance-initializer-test', function() {
setupTestHooks(this);
@@ -85,4 +86,83 @@ describe('Blueprint: instance-initializer-test', function() {
});
});
});
+
+ describe('in app - module unification', function() {
+ beforeEach(function() {
+ return emberNew().then(() => fs.ensureDirSync('src'));
+ });
+
+ describe('with [email protected]', function() {
+ beforeEach(function() {
+ generateFakePackageManifest('ember-cli-qunit', '4.1.0');
+ });
+
+ it('instance-initializer-test foo', function() {
+ return emberGenerateDestroy(['instance-initializer-test', 'foo'], _file => {
+ expect(_file('src/init/instance-initializers/foo-test.js')).to.equal(
+ fixture('instance-initializer-test/module-unification/default.js')
+ );
+ });
+ });
+ });
+
+ describe('with [email protected]', function() {
+ beforeEach(function() {
+ generateFakePackageManifest('ember-cli-qunit', '4.2.0');
+ });
+
+ it('instance-initializer-test foo', function() {
+ return emberGenerateDestroy(['instance-initializer-test', 'foo'], _file => {
+ expect(_file('src/init/instance-initializers/foo-test.js')).to.equal(
+ fixture('instance-initializer-test/module-unification/rfc232.js')
+ );
+ });
+ });
+ });
+
+ describe('with ember-cli-mocha', function() {
+ beforeEach(function() {
+ modifyPackages([
+ { name: 'ember-cli-qunit', delete: true },
+ { name: 'ember-cli-mocha', dev: true },
+ ]);
+ });
+
+ it('instance-initializer-test foo for mocha', function() {
+ return emberGenerateDestroy(['instance-initializer-test', 'foo'], _file => {
+ expect(_file('src/init/instance-initializers/foo-test.js')).to.equal(
+ fixture('instance-initializer-test/module-unification/mocha.js')
+ );
+ });
+ });
+ });
+ });
+
+ describe('in addon - module unification', function() {
+ beforeEach(function() {
+ return emberNew({ target: 'addon' }).then(() => fs.ensureDirSync('src'));
+ });
+
+ describe('with [email protected]', function() {
+ beforeEach(function() {
+ generateFakePackageManifest('ember-cli-qunit', '4.1.0');
+ });
+
+ it('instance-initializer-test foo', function() {
+ return emberGenerateDestroy(['instance-initializer-test', 'foo'], _file => {
+ expect(_file('src/init/instance-initializers/foo-test.js')).to.equal(
+ fixture('instance-initializer-test/module-unification/dummy.js')
+ );
+ });
+ });
+
+ it('instance-initializer-test foo --dummy', function() {
+ return emberGenerateDestroy(['instance-initializer-test', 'foo', '--dummy'], _file => {
+ expect(_file('tests/dummy/src/init/instance-initializers/foo-test.js')).to.equal(
+ fixture('instance-initializer-test/module-unification/dummy.js')
+ );
+ });
+ });
+ });
+ });
});
| true |
Other
|
emberjs
|
ember.js
|
ab27246721029814ca3feb1264d09f3965b7d734.json
|
Add blueprints for MU instance initializer
|
node-tests/blueprints/instance-initializer-test.js
|
@@ -5,9 +5,11 @@ const setupTestHooks = blueprintHelpers.setupTestHooks;
const emberNew = blueprintHelpers.emberNew;
const emberGenerateDestroy = blueprintHelpers.emberGenerateDestroy;
const setupPodConfig = blueprintHelpers.setupPodConfig;
+const expectError = require('../helpers/expect-error');
const chai = require('ember-cli-blueprint-test-helpers/chai');
const expect = chai.expect;
+const fs = require('fs-extra');
const generateFakePackageManifest = require('../helpers/generate-fake-package-manifest');
const fixture = require('../helpers/fixture');
@@ -184,4 +186,121 @@ describe('Blueprint: instance-initializer', function() {
);
});
});
+
+ describe('in app - module unification', function() {
+ beforeEach(function() {
+ return emberNew()
+ .then(() => fs.ensureDirSync('src'))
+ .then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
+ });
+
+ it('instance-initializer foo', function() {
+ return emberGenerateDestroy(['instance-initializer', 'foo'], _file => {
+ expect(_file('src/init/instance-initializers/foo.js')).to.equal(
+ fixture('instance-initializer/instance-initializer.js')
+ );
+
+ expect(_file('src/init/instance-initializers/foo-test.js')).to.contain(
+ "import { initialize } from 'my-app/init/instance-initializers/foo';"
+ );
+ });
+ });
+
+ it('instance-initializer foo/bar', function() {
+ return emberGenerateDestroy(['instance-initializer', 'foo/bar'], _file => {
+ expect(_file('src/init/instance-initializers/foo/bar.js')).to.equal(
+ fixture('instance-initializer/instance-initializer-nested.js')
+ );
+
+ expect(_file('src/init/instance-initializers/foo/bar-test.js')).to.contain(
+ "import { initialize } from 'my-app/init/instance-initializers/foo/bar';"
+ );
+ });
+ });
+
+ it('instance-initializer foo --pod', function() {
+ return expectError(
+ emberGenerateDestroy(['instance-initializer', 'foo', '--pod']),
+ 'Pods arenʼt supported within a module unification app'
+ );
+ });
+
+ it('instance-initializer foo/bar --pod', function() {
+ return expectError(
+ emberGenerateDestroy(['instance-initializer', 'foo/bar', '--pod']),
+ 'Pods arenʼt supported within a module unification app'
+ );
+ });
+
+ describe('with podModulePrefix', function() {
+ beforeEach(function() {
+ setupPodConfig({ podModulePrefix: true });
+ });
+
+ it('instance-initializer foo --pod', function() {
+ return expectError(
+ emberGenerateDestroy(['instance-initializer', 'foo', '--pod']),
+ 'Pods arenʼt supported within a module unification app'
+ );
+ });
+
+ it('instance-initializer foo/bar --pod', function() {
+ return expectError(
+ emberGenerateDestroy(['instance-initializer', 'foo/bar', '--pod']),
+ 'Pods arenʼt supported within a module unification app'
+ );
+ });
+ });
+ });
+ describe('in addon - module unification', function() {
+ beforeEach(function() {
+ return emberNew({ target: 'addon' })
+ .then(() => fs.ensureDirSync('src'))
+ .then(() => generateFakePackageManifest('ember-cli-qunit', '4.1.0'));
+ });
+
+ it('instance-initializer foo', function() {
+ return emberGenerateDestroy(['instance-initializer', 'foo'], _file => {
+ expect(_file('src/init/instance-initializers/foo.js')).to.equal(
+ fixture('instance-initializer/instance-initializer.js')
+ );
+
+ expect(_file('tests/unit/instance-initializers/foo-test.js'));
+ });
+ });
+
+ it('instance-initializer foo/bar', function() {
+ return emberGenerateDestroy(['instance-initializer', 'foo/bar'], _file => {
+ expect(_file('src/init/instance-initializers/foo/bar.js')).to.equal(
+ fixture('instance-initializer/instance-initializer-nested.js')
+ );
+
+ expect(_file('src/init/instance-initializers/foo/bar-test.js'));
+ });
+ });
+
+ it('instance-initializer foo --dummy', function() {
+ return emberGenerateDestroy(['instance-initializer', 'foo', '--dummy'], _file => {
+ expect(_file('tests/dummy/src/init/instance-initializers/foo.js')).to.equal(
+ fixture('instance-initializer/instance-initializer.js')
+ );
+
+ expect(_file('src/init/instance-initializers/foo.js')).to.not.exist;
+
+ expect(_file('src/init/instance-initializers/foo-test.js')).to.not.exist;
+ });
+ });
+
+ it('instance-initializer foo/bar --dummy', function() {
+ return emberGenerateDestroy(['instance-initializer', 'foo/bar', '--dummy'], _file => {
+ expect(_file('tests/dummy/src/init/instance-initializers/foo/bar.js')).to.equal(
+ fixture('instance-initializer/instance-initializer-nested.js')
+ );
+
+ expect(_file('src/init/instance-initializers/foo/bar.js')).to.not.exist;
+
+ expect(_file('src/init/instance-initializers/foo/bar-test.js')).to.not.exist;
+ });
+ });
+ });
});
| true |
Other
|
emberjs
|
ember.js
|
ab27246721029814ca3feb1264d09f3965b7d734.json
|
Add blueprints for MU instance initializer
|
node-tests/fixtures/instance-initializer-test/module-unification/default.js
|
@@ -0,0 +1,25 @@
+import Application from '@ember/application';
+import { run } from '@ember/runloop';
+import { initialize } from 'my-app/init/instance-initializers/foo';
+import { module, test } from 'qunit';
+
+module('Unit | Instance Initializer | foo', {
+ beforeEach() {
+ run(() => {
+ this.application = Application.create();
+ this.appInstance = this.application.buildInstance();
+ });
+ },
+ afterEach() {
+ run(this.appInstance, 'destroy');
+ run(this.application, 'destroy');
+ }
+});
+
+// Replace this with your real tests.
+test('it works', function(assert) {
+ initialize(this.appInstance);
+
+ // you would normally confirm the results of the initializer here
+ assert.ok(true);
+});
| true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.