ember-source 4.2.0-alpha.7 → 4.3.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/blueprints/component-addon/index.js +2 -3
- package/blueprints/component-class-addon/index.js +2 -3
- package/blueprints/controller/files/__root__/__path__/__name__.js +2 -2
- package/blueprints/controller/index.js +2 -4
- package/blueprints/route/files/__root__/__path__/__name__.js +3 -3
- package/blueprints/route/index.js +2 -3
- package/blueprints/service/files/__root__/__path__/__name__.js +2 -2
- package/blueprints/service/index.js +2 -4
- package/build-metadata.json +3 -3
- package/dist/ember-template-compiler.js +89 -90
- package/dist/ember-template-compiler.map +1 -1
- package/dist/ember-testing.js +15 -14
- package/dist/ember-testing.map +1 -1
- package/dist/ember.debug.js +795 -752
- package/dist/ember.debug.map +1 -1
- package/dist/header/license.js +1 -1
- package/dist/header/loader.js +0 -1
- package/dist/packages/@ember/-internals/bootstrap/index.js +0 -2
- package/dist/packages/@ember/-internals/container/index.js +1 -1
- package/dist/packages/@ember/-internals/extension-support/lib/container_debug_adapter.js +3 -3
- package/dist/packages/@ember/-internals/extension-support/lib/data_adapter.js +52 -52
- package/dist/packages/@ember/-internals/glimmer/index.js +49 -81
- package/dist/packages/@ember/-internals/meta/lib/meta.js +59 -2
- package/dist/packages/@ember/-internals/metal/index.js +51 -76
- package/dist/packages/@ember/-internals/routing/lib/ext/controller.js +14 -4
- package/dist/packages/@ember/-internals/routing/lib/location/api.js +1 -0
- package/dist/packages/@ember/-internals/routing/lib/location/auto_location.js +3 -1
- package/dist/packages/@ember/-internals/routing/lib/services/router.js +7 -49
- package/dist/packages/@ember/-internals/routing/lib/services/routing.js +3 -1
- package/dist/packages/@ember/-internals/routing/lib/system/route.js +57 -33
- package/dist/packages/@ember/-internals/routing/lib/system/router.js +22 -7
- package/dist/packages/@ember/-internals/routing/lib/utils.js +23 -11
- package/dist/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +1 -1
- package/dist/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +32 -32
- package/dist/packages/@ember/-internals/runtime/lib/mixins/array.js +1 -0
- package/dist/packages/@ember/-internals/runtime/lib/mixins/comparable.js +4 -4
- package/dist/packages/@ember/-internals/runtime/lib/mixins/container_proxy.js +29 -29
- package/dist/packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js +16 -16
- package/dist/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +48 -48
- package/dist/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +8 -8
- package/dist/packages/@ember/-internals/runtime/lib/system/namespace.js +1 -2
- package/dist/packages/@ember/-internals/runtime/lib/type-of.js +1 -1
- package/dist/packages/@ember/-internals/utils/index.js +9 -9
- package/dist/packages/@ember/-internals/views/lib/mixins/view_support.js +2 -4
- package/dist/packages/@ember/-internals/views/lib/system/utils.js +1 -0
- package/dist/packages/@ember/application/lib/application.js +0 -2
- package/dist/packages/@ember/array/index.js +1 -1
- package/dist/packages/@ember/debug/index.js +1 -1
- package/dist/packages/@ember/debug/lib/deprecate.js +12 -10
- package/dist/packages/@ember/object/compat.js +16 -7
- package/dist/packages/@ember/polyfills/lib/assign.js +1 -0
- package/dist/packages/@ember/runloop/index.js +9 -9
- package/dist/packages/@ember/string/index.js +1 -0
- package/dist/packages/ember/index.js +1 -2
- package/dist/packages/ember/version.js +1 -1
- package/docs/data.json +2375 -1676
- package/package.json +21 -21
- package/blueprints/component-addon/native-files/__root__/__path__/__name__.js +0 -1
- package/blueprints/component-class-addon/native-files/__root__/__path__/__name__.js +0 -1
- package/blueprints/controller/native-files/__root__/__path__/__name__.js +0 -4
- package/blueprints/edition-detector.js +0 -13
- package/blueprints/route/native-files/__root__/__path__/__name__.js +0 -11
- package/blueprints/route/native-files/__root__/__templatepath__/__templatename__.hbs +0 -2
- package/blueprints/service/native-files/__root__/__path__/__name__.js +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-source",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0-alpha.3",
|
|
4
4
|
"description": "A JavaScript framework for creating ambitious web applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
"docs": "ember ember-cli-yuidoc",
|
|
36
36
|
"link:glimmer": "node bin/yarn-link-glimmer.js",
|
|
37
37
|
"start": "ember serve",
|
|
38
|
-
"lint": "
|
|
38
|
+
"lint": "npm-run-all --continue-on-error --aggregate-output --parallel \"lint:!(fix)\"",
|
|
39
39
|
"lint:docs": "qunit tests/docs/coverage-test.js",
|
|
40
|
-
"lint:eslint": "eslint
|
|
40
|
+
"lint:eslint": "eslint --report-unused-disable-directives --cache .",
|
|
41
|
+
"lint:eslint:fix": "npm-run-all \"lint:eslint --fix\"",
|
|
41
42
|
"lint:tsc": "tsc --noEmit",
|
|
42
|
-
"lint:
|
|
43
|
-
"lint:fix": "yarn lint:eslint --fix && yarn lint:tslint --fix",
|
|
43
|
+
"lint:fix": "npm-run-all lint:*:fix",
|
|
44
44
|
"test": "node bin/run-tests.js",
|
|
45
45
|
"test:blueprints": "mocha node-tests/blueprints/**/*-test.js",
|
|
46
46
|
"test:node": "qunit tests/node/**/*-test.js",
|
|
47
47
|
"test:browserstack": "node bin/run-browserstack-tests.js"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@babel/helper-module-imports": "^7.16.
|
|
50
|
+
"@babel/helper-module-imports": "^7.16.7",
|
|
51
51
|
"@babel/plugin-transform-block-scoping": "^7.16.0",
|
|
52
52
|
"@ember/edition-utils": "^1.2.0",
|
|
53
53
|
"@glimmer/vm-babel-plugins": "0.83.1",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"broccoli-concat": "^4.2.5",
|
|
57
57
|
"broccoli-debug": "^0.6.4",
|
|
58
58
|
"broccoli-file-creator": "^2.1.1",
|
|
59
|
-
"broccoli-funnel": "^
|
|
59
|
+
"broccoli-funnel": "^3.0.8",
|
|
60
60
|
"broccoli-merge-trees": "^4.2.0",
|
|
61
61
|
"chalk": "^4.0.0",
|
|
62
62
|
"ember-auto-import": "^2.2.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"ember-cli-normalize-entity-name": "^1.0.0",
|
|
67
67
|
"ember-cli-path-utils": "^1.0.0",
|
|
68
68
|
"ember-cli-string-utils": "^1.1.0",
|
|
69
|
-
"ember-cli-version-checker": "^5.1.
|
|
69
|
+
"ember-cli-version-checker": "^5.1.2",
|
|
70
70
|
"ember-router-generator": "^2.0.0",
|
|
71
71
|
"inflection": "^1.13.1",
|
|
72
72
|
"resolve": "^1.17.0",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
"@simple-dom/document": "^1.4.0",
|
|
92
92
|
"@types/qunit": "^2.11.2",
|
|
93
93
|
"@types/rsvp": "^4.0.4",
|
|
94
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
95
|
-
"@typescript-eslint/parser": "^
|
|
94
|
+
"@typescript-eslint/eslint-plugin": "^5.10.0",
|
|
95
|
+
"@typescript-eslint/parser": "^5.10.0",
|
|
96
96
|
"auto-dist-tag": "^1.0.0",
|
|
97
97
|
"aws-sdk": "^2.814.0",
|
|
98
98
|
"babel-template": "^6.26.0",
|
|
@@ -104,25 +104,25 @@
|
|
|
104
104
|
"broccoli-source": "^3.0.1",
|
|
105
105
|
"broccoli-string-replace": "^0.1.2",
|
|
106
106
|
"broccoli-typescript-compiler": "^7.0.0",
|
|
107
|
-
"broccoli-uglify-sourcemap": "^
|
|
107
|
+
"broccoli-uglify-sourcemap": "^4.0.0",
|
|
108
108
|
"common-tags": "^1.8.2",
|
|
109
109
|
"core-js": "^2.6.5",
|
|
110
110
|
"dag-map": "^2.0.2",
|
|
111
|
-
"ember-cli": "^
|
|
111
|
+
"ember-cli": "^4.1.0",
|
|
112
112
|
"ember-cli-blueprint-test-helpers": "^0.19.2",
|
|
113
113
|
"ember-cli-browserstack": "^2.0.1",
|
|
114
114
|
"ember-cli-dependency-checker": "^3.2.0",
|
|
115
115
|
"ember-cli-yuidoc": "^0.9.1",
|
|
116
116
|
"ember-publisher": "0.0.7",
|
|
117
|
-
"eslint": "^7.
|
|
118
|
-
"eslint-config-prettier": "^
|
|
119
|
-
"eslint-import-resolver-node": "^0.3.
|
|
117
|
+
"eslint": "^8.7.0",
|
|
118
|
+
"eslint-config-prettier": "^8.3.0",
|
|
119
|
+
"eslint-import-resolver-node": "^0.3.6",
|
|
120
120
|
"eslint-plugin-disable-features": "^0.1.3",
|
|
121
121
|
"eslint-plugin-ember-internal": "^2.0.0",
|
|
122
|
-
"eslint-plugin-import": "^2.25.
|
|
122
|
+
"eslint-plugin-import": "^2.25.4",
|
|
123
123
|
"eslint-plugin-node": "^11.1.0",
|
|
124
|
-
"eslint-plugin-prettier": "^
|
|
125
|
-
"eslint-plugin-qunit": "^
|
|
124
|
+
"eslint-plugin-prettier": "^4.0.0",
|
|
125
|
+
"eslint-plugin-qunit": "^7.2.0",
|
|
126
126
|
"execa": "^5.1.1",
|
|
127
127
|
"expect-type": "^0.13.0",
|
|
128
128
|
"express": "^4.17.1",
|
|
@@ -135,6 +135,7 @@
|
|
|
135
135
|
"lodash.uniq": "^4.5.0",
|
|
136
136
|
"mkdirp": "^1.0.4",
|
|
137
137
|
"mocha": "^7.1.2",
|
|
138
|
+
"npm-run-all": "^4.1.5",
|
|
138
139
|
"prettier": "^2.1.2",
|
|
139
140
|
"puppeteer": "^3.0.4",
|
|
140
141
|
"qunit": "^2.14.0",
|
|
@@ -147,8 +148,7 @@
|
|
|
147
148
|
"simple-dom": "^1.4.0",
|
|
148
149
|
"testem": "^3.6.0",
|
|
149
150
|
"testem-failure-only-reporter": "^0.0.1",
|
|
150
|
-
"
|
|
151
|
-
"typescript": "^4.2.4"
|
|
151
|
+
"typescript": "^4.5.4"
|
|
152
152
|
},
|
|
153
153
|
"engines": {
|
|
154
154
|
"node": ">= 12.*"
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"ember-addon": {
|
|
157
157
|
"after": "ember-cli-legacy-blueprints"
|
|
158
158
|
},
|
|
159
|
-
"_originalVersion": "4.
|
|
159
|
+
"_originalVersion": "4.3.0-alpha.3",
|
|
160
160
|
"_versionPreviouslyCalculated": true,
|
|
161
161
|
"publishConfig": {
|
|
162
162
|
"tag": "alpha"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '<%= modulePath %>';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '<%= modulePath %>';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const { has } = require('@ember/edition-utils');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
|
|
6
|
-
module.exports = function (blueprint) {
|
|
7
|
-
blueprint.filesPath = function () {
|
|
8
|
-
let rootPath = has('octane') ? 'native-files' : 'files';
|
|
9
|
-
return path.join(this.path, rootPath);
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
return blueprint;
|
|
13
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import Route from '@ember/routing/route';
|
|
2
|
-
|
|
3
|
-
export default class <%= classifiedModuleName %>Route extends Route {<% if (hasDynamicSegment) {%>
|
|
4
|
-
model(params) {
|
|
5
|
-
/**
|
|
6
|
-
* This route was generated with a dynamic segment. Implement data loading
|
|
7
|
-
* based on that dynamic segment here in the model hook.
|
|
8
|
-
*/
|
|
9
|
-
return params;
|
|
10
|
-
}<%}%>
|
|
11
|
-
}
|