ember-source 7.1.0-alpha.5 → 7.1.0-beta.1
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/build-metadata.json +3 -3
- package/dist/dev/packages/@ember/-internals/glimmer/index.js +11 -11
- package/dist/dev/packages/@ember/-internals/views/index.js +0 -1
- package/dist/dev/packages/@ember/-internals/views/lib/views/core_view.js +1 -1
- package/dist/dev/packages/@ember/application/index.js +1 -1
- package/dist/dev/packages/@ember/application/instance.js +1 -1
- package/dist/dev/packages/@ember/component/helper.js +1 -1
- package/dist/dev/packages/@ember/component/index.js +7 -7
- package/dist/dev/packages/@ember/component/template-only.js +1 -1
- package/dist/dev/packages/@ember/engine/index.js +1 -3
- package/dist/dev/packages/@ember/helper/index.js +8 -18
- package/dist/dev/packages/@ember/modifier/index.js +2 -2
- package/dist/dev/packages/@ember/modifier/on.js +1 -1
- package/dist/dev/packages/@ember/reactive/collections.js +2 -0
- package/dist/dev/packages/@ember/renderer/index.js +1 -1
- package/dist/dev/packages/@ember/routing/index.js +3 -3
- package/dist/dev/packages/@ember/routing/route.js +2 -2
- package/dist/dev/packages/@ember/routing/router-service.js +1 -1
- package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +3 -3
- package/dist/dev/packages/@ember/template-compiler/lib/template.js +3 -3
- package/dist/dev/packages/@ember/template-factory/index.js +1 -1
- package/dist/dev/packages/@glimmer/destroyable/index.js +1 -1
- package/dist/dev/packages/@glimmer/manager/index.js +3 -3
- package/dist/dev/packages/@glimmer/node/index.js +2 -2
- package/dist/dev/packages/@glimmer/opcode-compiler/index.js +2 -5
- package/dist/dev/packages/@glimmer/program/index.js +4 -4
- package/dist/dev/packages/@glimmer/runtime/index.js +10 -12
- package/dist/dev/packages/@glimmer/vm/index.js +1 -1
- package/dist/dev/packages/ember/version.js +1 -1
- package/dist/dev/packages/ember-template-compiler/index.js +2 -2
- package/dist/dev/packages/shared-chunks/{api-AYt3zE12.js → api-BAmlf_CN.js} +1 -1
- package/dist/dev/packages/shared-chunks/{api-WvJPuo9z.js → api-BawZUDYD.js} +1 -1
- package/dist/dev/packages/shared-chunks/assert-Zqc4wiAV.js +6 -0
- package/dist/dev/packages/shared-chunks/{compiler-CXB_8GdR.js → compiler-QUSl_urU.js} +2 -3
- package/dist/dev/packages/shared-chunks/{curly-CvC8E_4-.js → curly-BBzF_bI8.js} +1 -1
- package/dist/dev/packages/shared-chunks/curried-BZnYakIg.js +5 -0
- package/dist/dev/packages/shared-chunks/{debug-to-string-CFb7h0lY.js → debug-to-string-C6LsA_qz.js} +1 -2
- package/dist/dev/packages/shared-chunks/{element-C-QcIABg.js → element-DQJOvSlQ.js} +2 -2
- package/dist/dev/packages/shared-chunks/{element-builder-kHVx0F__.js → element-builder--iTIJyCB.js} +1 -1
- package/dist/dev/packages/shared-chunks/{get-CpJjYeJO.js → get-D5b5QlqE.js} +2 -2
- package/dist/dev/packages/shared-chunks/{hash-D3BENmhU.js → hash-BRRFQJ99.js} +2 -2
- package/dist/dev/packages/shared-chunks/{helper-DlC4YesW.js → helper-Do7NCZHI.js} +2 -2
- package/dist/dev/packages/shared-chunks/{index-CTxkmV78.js → index-CwnQYqK5.js} +15 -15
- package/dist/dev/packages/shared-chunks/{index-DmGmwWPJ.js → index-CyZiGiEI.js} +5 -6
- package/dist/dev/packages/shared-chunks/{internal-CbQSKXEm.js → internal-CAL-jHZt.js} +2 -2
- package/dist/dev/packages/shared-chunks/{internal-helper-Dsl9_7H_.js → internal-helper-Ez7zbEIa.js} +1 -1
- package/dist/dev/packages/shared-chunks/{invoke-B6j6DdDz.js → invoke-B8M5fQQS.js} +2 -2
- package/dist/dev/packages/shared-chunks/{on-D8QwT-eN.js → on-BueSMv9L.js} +2 -2
- package/dist/dev/packages/shared-chunks/{or-DBU9Ge4r.js → or-O0eJQ4K-.js} +1 -1
- package/dist/dev/packages/shared-chunks/{program-context-CqcQMsfa.js → program-context-CadjldRr.js} +4 -3
- package/dist/{prod/packages/shared-chunks/registers-DoamZwaG.js → dev/packages/shared-chunks/registers-C_W2qYHJ.js} +1 -1
- package/dist/dev/packages/shared-chunks/{rehydrate-builder-DdzXTaJk.js → rehydrate-builder-DCyIgnCR.js} +2 -2
- package/dist/dev/packages/shared-chunks/{render-DDdabL30.js → render-CpKaO-BO.js} +9 -8
- package/dist/dev/packages/shared-chunks/{chunk-3SQBS3Y5-Cj4eryg1.js → runtime-CYyqkz5q-BOdRhmsS.js} +4 -59
- package/dist/dev/packages/shared-chunks/{serialize-builder-B3u9Wr3n.js → serialize-builder-DxgGRvH_.js} +1 -1
- package/dist/dev/packages/shared-chunks/{setup-registry-XxD0xvgf.js → setup-registry-BC5VMvei.js} +7 -7
- package/dist/dev/packages/shared-chunks/syscall-ops-BPFtDquC.js +133 -0
- package/dist/dev/packages/shared-chunks/{template-kM-7TTcc.js → template-R_5UMHhb.js} +1 -1
- package/dist/dev/packages/shared-chunks/{template-only-Yluyu0DY.js → template-only-BqOt8bDl.js} +1 -1
- package/dist/dev/packages/shared-chunks/{textarea-C0Us0PNJ.js → textarea-WSlUEr0y.js} +3 -3
- package/dist/dev/packages/shared-chunks/{unique-id-A83bjEE-.js → unique-id-CgmHQiwi.js} +1 -1
- package/dist/dev/packages/shared-chunks/{untouchable-this-cH6_N2LJ.js → untouchable-this-B3DVwpHS.js} +6 -6
- package/dist/dev/packages/shared-chunks/vm-ops-ImHv0Wtg.js +12 -0
- package/dist/prod/packages/@ember/-internals/container/index.js +2 -3
- package/dist/prod/packages/@ember/-internals/glimmer/index.js +9 -9
- package/dist/prod/packages/@ember/-internals/meta/lib/meta.js +0 -2
- package/dist/prod/packages/@ember/-internals/metal/index.js +16 -17
- package/dist/prod/packages/@ember/-internals/routing/index.js +1 -2
- package/dist/prod/packages/@ember/-internals/runtime/lib/ext/rsvp.js +0 -1
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +4 -5
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +1 -2
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +0 -1
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +2 -3
- package/dist/prod/packages/@ember/-internals/utils/index.js +0 -1
- package/dist/prod/packages/@ember/-internals/views/index.js +0 -1
- package/dist/prod/packages/@ember/-internals/views/lib/mixins/action_support.js +1 -2
- package/dist/prod/packages/@ember/-internals/views/lib/system/event_dispatcher.js +2 -3
- package/dist/prod/packages/@ember/-internals/views/lib/system/utils.js +0 -1
- package/dist/prod/packages/@ember/-internals/views/lib/views/core_view.js +2 -2
- package/dist/prod/packages/@ember/-internals/views/lib/views/states.js +0 -1
- package/dist/prod/packages/@ember/application/index.js +3 -3
- package/dist/prod/packages/@ember/application/instance.js +3 -4
- package/dist/prod/packages/@ember/application/namespace.js +1 -2
- package/dist/prod/packages/@ember/array/index.js +5 -6
- package/dist/prod/packages/@ember/array/proxy.js +5 -6
- package/dist/prod/packages/@ember/component/helper.js +1 -1
- package/dist/prod/packages/@ember/component/index.js +7 -8
- package/dist/prod/packages/@ember/controller/index.js +3 -3
- package/dist/prod/packages/@ember/debug/data-adapter.js +1 -1
- package/dist/prod/packages/@ember/engine/index.js +3 -6
- package/dist/prod/packages/@ember/engine/instance.js +0 -1
- package/dist/prod/packages/@ember/helper/index.js +5 -15
- package/dist/prod/packages/@ember/modifier/on.js +1 -1
- package/dist/prod/packages/@ember/object/-internals.js +0 -1
- package/dist/prod/packages/@ember/object/compat.js +1 -2
- package/dist/prod/packages/@ember/object/computed.js +2 -2
- package/dist/prod/packages/@ember/object/core.js +5 -6
- package/dist/prod/packages/@ember/object/evented.js +2 -2
- package/dist/prod/packages/@ember/object/events.js +1 -1
- package/dist/prod/packages/@ember/object/index.js +8 -8
- package/dist/prod/packages/@ember/object/internals.js +0 -1
- package/dist/prod/packages/@ember/object/lib/computed/computed_macros.js +4 -5
- package/dist/prod/packages/@ember/object/lib/computed/reduce_computed_macros.js +2 -3
- package/dist/prod/packages/@ember/object/mixin.js +4 -5
- package/dist/prod/packages/@ember/object/observable.js +7 -8
- package/dist/prod/packages/@ember/object/observers.js +1 -1
- package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +3 -3
- package/dist/prod/packages/@ember/reactive/collections.js +2 -0
- package/dist/prod/packages/@ember/renderer/index.js +1 -1
- package/dist/prod/packages/@ember/routing/history-location.js +0 -1
- package/dist/prod/packages/@ember/routing/index.js +2 -3
- package/dist/prod/packages/@ember/routing/lib/dsl.js +0 -2
- package/dist/prod/packages/@ember/routing/lib/generate_controller.js +1 -2
- package/dist/prod/packages/@ember/routing/lib/routing-service.js +2 -3
- package/dist/prod/packages/@ember/routing/lib/utils.js +1 -2
- package/dist/prod/packages/@ember/routing/none-location.js +0 -1
- package/dist/prod/packages/@ember/routing/route.js +8 -9
- package/dist/prod/packages/@ember/routing/router-service.js +3 -4
- package/dist/prod/packages/@ember/routing/router.js +3 -4
- package/dist/prod/packages/@ember/runloop/index.js +1 -2
- package/dist/prod/packages/@ember/service/index.js +1 -1
- package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +3 -4
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/assert-against-attrs.js +0 -1
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/assert-against-named-outlets.js +0 -1
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/assert-input-helper-without-block.js +0 -1
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/assert-reserved-named-arguments.js +0 -2
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/transform-each-track-array.js +0 -1
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/transform-in-element.js +0 -1
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/transform-resolutions.js +0 -1
- package/dist/prod/packages/@ember/template-compiler/lib/template.js +2 -2
- package/dist/prod/packages/@ember/template-factory/index.js +1 -1
- package/dist/prod/packages/@ember/utils/lib/compare.js +0 -1
- package/dist/prod/packages/@ember/utils/lib/is_empty.js +1 -1
- package/dist/prod/packages/@glimmer/node/index.js +2 -2
- package/dist/prod/packages/@glimmer/opcode-compiler/index.js +2 -5
- package/dist/prod/packages/@glimmer/program/index.js +2 -2
- package/dist/prod/packages/@glimmer/runtime/index.js +9 -11
- package/dist/prod/packages/@glimmer/tracking/index.js +1 -1
- package/dist/prod/packages/@glimmer/vm/index.js +1 -1
- package/dist/prod/packages/ember/version.js +1 -1
- package/dist/prod/packages/ember-template-compiler/index.js +2 -3
- package/dist/prod/packages/shared-chunks/{alias-CLuFeKoV.js → alias-DBW_V5vD.js} +5 -6
- package/dist/prod/packages/shared-chunks/{array-DHdr4__s.js → array-D6Couewv.js} +2 -3
- package/dist/prod/packages/shared-chunks/assert-Zqc4wiAV.js +6 -0
- package/dist/prod/packages/shared-chunks/{chain-tags-BJqcuCM1.js → chain-tags-C9rFtQ_x.js} +0 -1
- package/dist/prod/packages/shared-chunks/{compiler-DjQtTQGk.js → compiler-c4yUVrl_.js} +2 -3
- package/dist/prod/packages/shared-chunks/{computed-2Udcmflw.js → computed-DjCIU_ht.js} +3 -4
- package/dist/prod/packages/shared-chunks/{container-D5NwW5Fd.js → container-BYOnjnwz.js} +0 -1
- package/dist/prod/packages/shared-chunks/{curly-BsqvV8G0.js → curly-ZzX43b50.js} +2 -3
- package/dist/prod/packages/shared-chunks/curried-BZnYakIg.js +5 -0
- package/dist/prod/packages/shared-chunks/{debug-render-tree-BLtnOSbb.js → debug-render-tree-CF5O4-WI.js} +4 -4
- package/dist/prod/packages/shared-chunks/{decorator-DBCISop4.js → decorator-9ikVwsjY.js} +0 -1
- package/dist/prod/packages/shared-chunks/{element-BjFr0tO0.js → element-DUOVW5Ho.js} +0 -1
- package/dist/prod/packages/shared-chunks/{element-builder-BPjq0rxK.js → element-builder-CnlTPNyw.js} +1 -1
- package/dist/prod/packages/shared-chunks/{events-970OxD6Q.js → events-DYrYz3V8.js} +0 -1
- package/dist/prod/packages/shared-chunks/{get-D5wxdTkY.js → get-t0-itmA-.js} +2 -2
- package/dist/prod/packages/shared-chunks/{get_properties-BcAC5sGx.js → get_properties-Nn08mLAH.js} +1 -1
- package/dist/prod/packages/shared-chunks/{hash-DcUe-meU.js → hash-mcs3pEFO.js} +1 -1
- package/dist/prod/packages/shared-chunks/{helper-Da672z4a.js → helper-DLjV2ZZW.js} +0 -1
- package/dist/prod/packages/shared-chunks/{index--2U-v2nf.js → index-Bj71BDDA.js} +4 -5
- package/dist/prod/packages/shared-chunks/{index-D87qoERP.js → index-qDFz6Mfe.js} +14 -14
- package/dist/prod/packages/shared-chunks/{injected_property-D9B-fPiH.js → injected_property--eJunJph.js} +2 -3
- package/dist/prod/packages/shared-chunks/{invoke-Dr_CRwA_.js → invoke-Cj5zMqHz.js} +1 -1
- package/dist/prod/packages/shared-chunks/{libraries-DaXpIDYN.js → libraries-_k-4KK5_.js} +1 -2
- package/dist/prod/packages/shared-chunks/{observers-Co4JALkS.js → observers-CDkeR0nI.js} +2 -2
- package/dist/prod/packages/shared-chunks/{on-C3ZQiUUD.js → on-B5NVufs_.js} +1 -1
- package/dist/prod/packages/shared-chunks/{or-oTVMuHc8.js → or-3AxY5TPj.js} +1 -1
- package/dist/prod/packages/shared-chunks/{program-context-CGMN-aQM.js → program-context-B8HKU7wu.js} +4 -3
- package/dist/prod/packages/shared-chunks/{property_get-hWJ0nGhW.js → property_get-CAFdpRyu.js} +0 -1
- package/dist/prod/packages/shared-chunks/{property_set-Dj5-ScWk.js → property_set-BunbMFtp.js} +3 -4
- package/dist/{dev/packages/shared-chunks/registers-DoamZwaG.js → prod/packages/shared-chunks/registers-C_W2qYHJ.js} +1 -1
- package/dist/prod/packages/shared-chunks/{rehydrate-builder-BKg2X6Lo.js → rehydrate-builder-DJ8k-6fg.js} +2 -2
- package/dist/prod/packages/shared-chunks/{render-nx5-PsDW.js → render-DkJJmoI4.js} +7 -6
- package/dist/prod/packages/shared-chunks/{chunk-3SQBS3Y5-Cj4eryg1.js → runtime-CYyqkz5q-BOdRhmsS.js} +4 -59
- package/dist/prod/packages/shared-chunks/{serialize-builder-BGbC30SN.js → serialize-builder-R3Ozg0sC.js} +1 -1
- package/dist/prod/packages/shared-chunks/{set_properties-oPyURk67.js → set_properties-LT3RzRmJ.js} +2 -2
- package/dist/prod/packages/shared-chunks/{setup-registry-TiaKLj5k.js → setup-registry-C2KfZJWI.js} +7 -8
- package/dist/prod/packages/shared-chunks/syscall-ops-BPFtDquC.js +133 -0
- package/dist/prod/packages/shared-chunks/{textarea-CPKZ1c_O.js → textarea-CHqL0Rdh.js} +3 -4
- package/dist/prod/packages/shared-chunks/{tracked-CffAABMz.js → tracked-DAVrVqJl.js} +2 -3
- package/dist/prod/packages/shared-chunks/vm-ops-ImHv0Wtg.js +12 -0
- package/docs/data.json +28 -48
- package/lib/index.js +0 -1
- package/package.json +14 -12
- package/types/stable/@ember/-internals/views/index.d.ts +0 -1
- package/types/stable/@ember/helper/index.d.ts +0 -10
- package/types/stable/index.d.ts +0 -1
- package/dist/dev/packages/@ember/-internals/views/lib/component_lookup.js +0 -14
- package/dist/dev/packages/shared-chunks/assert-CUCJBR2C.js +0 -19
- package/dist/dev/packages/shared-chunks/curried-BVwSNqpf.js +0 -628
- package/dist/dev/packages/shared-chunks/opcode-metadata-9iSW5JGP.js +0 -285
- package/dist/prod/packages/@ember/-internals/views/lib/component_lookup.js +0 -14
- package/dist/prod/packages/shared-chunks/assert-CUCJBR2C.js +0 -19
- package/dist/prod/packages/shared-chunks/curried-BVwSNqpf.js +0 -628
- package/dist/prod/packages/shared-chunks/opcode-metadata-9iSW5JGP.js +0 -285
- package/types/stable/@ember/-internals/views/lib/component_lookup.d.ts +0 -8
package/docs/data.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "The Ember API",
|
|
4
4
|
"description": "The Ember API: a framework for building ambitious web applications",
|
|
5
5
|
"url": "https://emberjs.com/",
|
|
6
|
-
"version": "7.1.0-
|
|
6
|
+
"version": "7.1.0-beta.1"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"node_modules/rsvp/lib/rsvp/promise/all.js": {
|
|
@@ -4546,7 +4546,7 @@
|
|
|
4546
4546
|
"module": "@ember/engine",
|
|
4547
4547
|
"namespace": "",
|
|
4548
4548
|
"file": "packages/@ember/engine/index.ts",
|
|
4549
|
-
"line":
|
|
4549
|
+
"line": 40,
|
|
4550
4550
|
"description": "The `Engine` class contains core functionality for both applications and\nengines.\n\nEach engine manages a registry that's used for dependency injection and\nexposed through `RegistryProxy`.\n\nEngines also manage initializers and instance initializers.\n\nEngines can spawn `EngineInstance` instances via `buildInstance()`.",
|
|
4551
4551
|
"extends": "Ember.Namespace",
|
|
4552
4552
|
"uses": [
|
|
@@ -13646,7 +13646,7 @@
|
|
|
13646
13646
|
},
|
|
13647
13647
|
{
|
|
13648
13648
|
"file": "packages/@ember/engine/index.ts",
|
|
13649
|
-
"line":
|
|
13649
|
+
"line": 62,
|
|
13650
13650
|
"description": "The goal of initializers should be to register dependencies and injections.\nThis phase runs once. Because these initializers may load code, they are\nallowed to defer application readiness and advance it. If you need to access\nthe container or store you should use an InstanceInitializer that will be run\nafter all initializers and therefore after all code is loaded and the app is\nready.\n\nInitializer receives an object which has the following attributes:\n`name`, `before`, `after`, `initialize`. The only required attribute is\n`initialize`, all others are optional.\n\n* `name` allows you to specify under which name the initializer is registered.\nThis must be a unique name, as trying to register two initializers with the\nsame name will result in an error.\n\n```app/initializer/named-initializer.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Running namedInitializer!');\n}\n\nexport default {\n name: 'named-initializer',\n initialize\n};\n```\n\n* `before` and `after` are used to ensure that this initializer is ran prior\nor after the one identified by the value. This value can be a single string\nor an array of strings, referencing the `name` of other initializers.\n\nAn example of ordering initializers, we create an initializer named `first`:\n\n```app/initializer/first.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('First initializer!');\n}\n\nexport default {\n name: 'first',\n initialize\n};\n```\n\n```bash\n// DEBUG: First initializer!\n```\n\nWe add another initializer named `second`, specifying that it should run\nafter the initializer named `first`:\n\n```app/initializer/second.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Second initializer!');\n}\n\nexport default {\n name: 'second',\n after: 'first',\n initialize\n};\n```\n\n```\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n```\n\nAfterwards we add a further initializer named `pre`, this time specifying\nthat it should run before the initializer named `first`:\n\n```app/initializer/pre.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Pre initializer!');\n}\n\nexport default {\n name: 'pre',\n before: 'first',\n initialize\n};\n```\n\n```bash\n// DEBUG: Pre initializer!\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n```\n\nFinally we add an initializer named `post`, specifying it should run after\nboth the `first` and the `second` initializers:\n\n```app/initializer/post.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Post initializer!');\n}\n\nexport default {\n name: 'post',\n after: ['first', 'second'],\n initialize\n};\n```\n\n```bash\n// DEBUG: Pre initializer!\n// DEBUG: First initializer!\n// DEBUG: Second initializer!\n// DEBUG: Post initializer!\n```\n\n* `initialize` is a callback function that receives one argument,\n `application`, on which you can operate.\n\nExample of using `application` to register an adapter:\n\n```app/initializer/api-adapter.js\nimport ApiAdapter from '../utils/api-adapter';\n\nexport function initialize(application) {\n application.register('api-adapter:main', ApiAdapter);\n}\n\nexport default {\n name: 'post',\n after: ['first', 'second'],\n initialize\n};\n```",
|
|
13651
13651
|
"itemtype": "method",
|
|
13652
13652
|
"name": "initializer",
|
|
@@ -13664,7 +13664,7 @@
|
|
|
13664
13664
|
},
|
|
13665
13665
|
{
|
|
13666
13666
|
"file": "packages/@ember/engine/index.ts",
|
|
13667
|
-
"line":
|
|
13667
|
+
"line": 209,
|
|
13668
13668
|
"description": "Instance initializers run after all initializers have run. Because\ninstance initializers run after the app is fully set up. We have access\nto the store, container, and other items. However, these initializers run\nafter code has loaded and are not allowed to defer readiness.\n\nInstance initializer receives an object which has the following attributes:\n`name`, `before`, `after`, `initialize`. The only required attribute is\n`initialize`, all others are optional.\n\n* `name` allows you to specify under which name the instanceInitializer is\nregistered. This must be a unique name, as trying to register two\ninstanceInitializer with the same name will result in an error.\n\n```app/initializer/named-instance-initializer.js\nimport { debug } from '@ember/debug';\n\nexport function initialize() {\n debug('Running named-instance-initializer!');\n}\n\nexport default {\n name: 'named-instance-initializer',\n initialize\n};\n```\n\n* `before` and `after` are used to ensure that this initializer is ran prior\nor after the one identified by the value. This value can be a single string\nor an array of strings, referencing the `name` of other initializers.\n\n* See Application.initializer for discussion on the usage of before\nand after.\n\nExample instanceInitializer to preload data into the store.\n\n```app/initializer/preload-data.js\n\nexport function initialize(application) {\n var userConfig, userConfigEncoded, store;\n // We have a HTML escaped JSON representation of the user's basic\n // configuration generated server side and stored in the DOM of the main\n // index.html file. This allows the app to have access to a set of data\n // without making any additional remote calls. Good for basic data that is\n // needed for immediate rendering of the page. Keep in mind, this data,\n // like all local models and data can be manipulated by the user, so it\n // should not be relied upon for security or authorization.\n\n // Grab the encoded data from the meta tag\n userConfigEncoded = document.querySelector('head meta[name=app-user-config]').attr('content');\n\n // Unescape the text, then parse the resulting JSON into a real object\n userConfig = JSON.parse(unescape(userConfigEncoded));\n\n // Lookup the store\n store = application.lookup('service:store');\n\n // Push the encoded JSON into the store\n store.pushPayload(userConfig);\n}\n\nexport default {\n name: 'named-instance-initializer',\n initialize\n};\n```",
|
|
13669
13669
|
"itemtype": "method",
|
|
13670
13670
|
"name": "instanceInitializer",
|
|
@@ -13681,7 +13681,7 @@
|
|
|
13681
13681
|
},
|
|
13682
13682
|
{
|
|
13683
13683
|
"file": "packages/@ember/engine/index.ts",
|
|
13684
|
-
"line":
|
|
13684
|
+
"line": 285,
|
|
13685
13685
|
"description": "This creates a registry with the default Ember naming conventions.\n\nIt also configures the registry:\n\n* registered views are created every time they are looked up (they are\n not singletons)\n* registered templates are not factories; the registered value is\n returned directly.\n* the router receives the application as its `namespace` property\n* all controllers receive the router as their `target` and `controllers`\n properties\n* all controllers receive the application as their `namespace` property\n* the application view receives the application controller as its\n `controller` property\n* the application view receives the application template as its\n `defaultTemplate` property",
|
|
13686
13686
|
"itemtype": "method",
|
|
13687
13687
|
"name": "buildRegistry",
|
|
@@ -13704,7 +13704,7 @@
|
|
|
13704
13704
|
},
|
|
13705
13705
|
{
|
|
13706
13706
|
"file": "packages/@ember/engine/index.ts",
|
|
13707
|
-
"line":
|
|
13707
|
+
"line": 325,
|
|
13708
13708
|
"description": "Set this to provide an alternate class to `DefaultResolver`",
|
|
13709
13709
|
"itemtype": "property",
|
|
13710
13710
|
"name": "resolver",
|
|
@@ -13715,7 +13715,7 @@
|
|
|
13715
13715
|
},
|
|
13716
13716
|
{
|
|
13717
13717
|
"file": "packages/@ember/engine/index.ts",
|
|
13718
|
-
"line":
|
|
13718
|
+
"line": 338,
|
|
13719
13719
|
"description": "A private flag indicating whether an engine's initializers have run yet.",
|
|
13720
13720
|
"access": "private",
|
|
13721
13721
|
"tagname": "",
|
|
@@ -13726,7 +13726,7 @@
|
|
|
13726
13726
|
},
|
|
13727
13727
|
{
|
|
13728
13728
|
"file": "packages/@ember/engine/index.ts",
|
|
13729
|
-
"line":
|
|
13729
|
+
"line": 346,
|
|
13730
13730
|
"description": "Ensure that initializers are run once, and only once, per engine.",
|
|
13731
13731
|
"access": "private",
|
|
13732
13732
|
"tagname": "",
|
|
@@ -13737,7 +13737,7 @@
|
|
|
13737
13737
|
},
|
|
13738
13738
|
{
|
|
13739
13739
|
"file": "packages/@ember/engine/index.ts",
|
|
13740
|
-
"line":
|
|
13740
|
+
"line": 359,
|
|
13741
13741
|
"description": "Create an EngineInstance for this engine.",
|
|
13742
13742
|
"access": "public",
|
|
13743
13743
|
"tagname": "",
|
|
@@ -13752,7 +13752,7 @@
|
|
|
13752
13752
|
},
|
|
13753
13753
|
{
|
|
13754
13754
|
"file": "packages/@ember/engine/index.ts",
|
|
13755
|
-
"line":
|
|
13755
|
+
"line": 371,
|
|
13756
13756
|
"description": "Build and configure the registry for the current engine.",
|
|
13757
13757
|
"access": "private",
|
|
13758
13758
|
"tagname": "",
|
|
@@ -13767,7 +13767,7 @@
|
|
|
13767
13767
|
},
|
|
13768
13768
|
{
|
|
13769
13769
|
"file": "packages/@ember/engine/index.ts",
|
|
13770
|
-
"line":
|
|
13770
|
+
"line": 384,
|
|
13771
13771
|
"access": "private",
|
|
13772
13772
|
"tagname": "",
|
|
13773
13773
|
"itemtype": "method",
|
|
@@ -13777,7 +13777,7 @@
|
|
|
13777
13777
|
},
|
|
13778
13778
|
{
|
|
13779
13779
|
"file": "packages/@ember/engine/index.ts",
|
|
13780
|
-
"line":
|
|
13780
|
+
"line": 392,
|
|
13781
13781
|
"access": "private",
|
|
13782
13782
|
"tagname": "",
|
|
13783
13783
|
"itemtype": "method",
|
|
@@ -13787,7 +13787,7 @@
|
|
|
13787
13787
|
},
|
|
13788
13788
|
{
|
|
13789
13789
|
"file": "packages/@ember/engine/index.ts",
|
|
13790
|
-
"line":
|
|
13790
|
+
"line": 400,
|
|
13791
13791
|
"access": "private",
|
|
13792
13792
|
"tagname": "",
|
|
13793
13793
|
"itemtype": "method",
|
|
@@ -13797,7 +13797,7 @@
|
|
|
13797
13797
|
},
|
|
13798
13798
|
{
|
|
13799
13799
|
"file": "packages/@ember/engine/index.ts",
|
|
13800
|
-
"line":
|
|
13800
|
+
"line": 414,
|
|
13801
13801
|
"access": "private",
|
|
13802
13802
|
"tagname": "",
|
|
13803
13803
|
"since": "1.12.0",
|
|
@@ -13808,7 +13808,7 @@
|
|
|
13808
13808
|
},
|
|
13809
13809
|
{
|
|
13810
13810
|
"file": "packages/@ember/engine/index.ts",
|
|
13811
|
-
"line":
|
|
13811
|
+
"line": 448,
|
|
13812
13812
|
"description": "This function defines the default lookup rules for container lookups:\n\n* templates are looked up on `Ember.TEMPLATES`\n* other names are looked up on the application after classifying the name.\n For example, `controller:post` looks up `App.PostController` by default.\n* if the default lookup fails, look for registered classes on the container\n\nThis allows the application to register default injections in the container\nthat could be overridden by the normal naming convention.",
|
|
13813
13813
|
"access": "private",
|
|
13814
13814
|
"tagname": "",
|
|
@@ -13830,7 +13830,7 @@
|
|
|
13830
13830
|
},
|
|
13831
13831
|
{
|
|
13832
13832
|
"file": "packages/@ember/engine/index.ts",
|
|
13833
|
-
"line":
|
|
13833
|
+
"line": 470,
|
|
13834
13834
|
"class": "Engine",
|
|
13835
13835
|
"module": "@ember/engine"
|
|
13836
13836
|
},
|
|
@@ -14099,14 +14099,12 @@
|
|
|
14099
14099
|
"description": "",
|
|
14100
14100
|
"type": "Boolean"
|
|
14101
14101
|
},
|
|
14102
|
-
"access": "private",
|
|
14103
|
-
"tagname": "",
|
|
14104
14102
|
"class": "@ember/helper",
|
|
14105
14103
|
"module": "@ember/helper"
|
|
14106
14104
|
},
|
|
14107
14105
|
{
|
|
14108
14106
|
"file": "packages/@ember/helper/index.ts",
|
|
14109
|
-
"line":
|
|
14107
|
+
"line": 505,
|
|
14110
14108
|
"description": "The `{{gte}}` helper returns `true` if the first argument is greater than\nor equal to the second argument.\n\n```js\nimport { gte } from '@ember/helper';\n\n<template>\n {{if (gte @age 18) \"Adult\" \"Minor\"}}\n</template>\n```\n\nIn strict-mode (gjs/gts) templates, `gte` is available as a keyword and\ndoes not need to be imported.",
|
|
14111
14109
|
"itemtype": "method",
|
|
14112
14110
|
"name": "gte",
|
|
@@ -14126,14 +14124,12 @@
|
|
|
14126
14124
|
"description": "",
|
|
14127
14125
|
"type": "Boolean"
|
|
14128
14126
|
},
|
|
14129
|
-
"access": "private",
|
|
14130
|
-
"tagname": "",
|
|
14131
14127
|
"class": "@ember/helper",
|
|
14132
14128
|
"module": "@ember/helper"
|
|
14133
14129
|
},
|
|
14134
14130
|
{
|
|
14135
14131
|
"file": "packages/@ember/helper/index.ts",
|
|
14136
|
-
"line":
|
|
14132
|
+
"line": 528,
|
|
14137
14133
|
"description": "The `{{lt}}` helper returns `true` if the first argument is less than\nthe second argument.\n\n```js\nimport { lt } from '@ember/helper';\n\n<template>\n {{if (lt @temperature 0) \"Freezing\" \"Above zero\"}}\n</template>\n```\n\nIn strict-mode (gjs/gts) templates, `lt` is available as a keyword and\ndoes not need to be imported.",
|
|
14138
14134
|
"itemtype": "method",
|
|
14139
14135
|
"name": "lt",
|
|
@@ -14153,14 +14149,12 @@
|
|
|
14153
14149
|
"description": "",
|
|
14154
14150
|
"type": "Boolean"
|
|
14155
14151
|
},
|
|
14156
|
-
"access": "private",
|
|
14157
|
-
"tagname": "",
|
|
14158
14152
|
"class": "@ember/helper",
|
|
14159
14153
|
"module": "@ember/helper"
|
|
14160
14154
|
},
|
|
14161
14155
|
{
|
|
14162
14156
|
"file": "packages/@ember/helper/index.ts",
|
|
14163
|
-
"line":
|
|
14157
|
+
"line": 551,
|
|
14164
14158
|
"description": "The `{{lte}}` helper returns `true` if the first argument is less than\nor equal to the second argument.\n\n```js\nimport { lte } from '@ember/helper';\n\n<template>\n {{if (lte @count 0) \"Empty\" \"Has items\"}}\n</template>\n```\n\nIn strict-mode (gjs/gts) templates, `lte` is available as a keyword and\ndoes not need to be imported.",
|
|
14165
14159
|
"itemtype": "method",
|
|
14166
14160
|
"name": "lte",
|
|
@@ -14180,14 +14174,12 @@
|
|
|
14180
14174
|
"description": "",
|
|
14181
14175
|
"type": "Boolean"
|
|
14182
14176
|
},
|
|
14183
|
-
"access": "private",
|
|
14184
|
-
"tagname": "",
|
|
14185
14177
|
"class": "@ember/helper",
|
|
14186
14178
|
"module": "@ember/helper"
|
|
14187
14179
|
},
|
|
14188
14180
|
{
|
|
14189
14181
|
"file": "packages/@ember/helper/index.ts",
|
|
14190
|
-
"line":
|
|
14182
|
+
"line": 574,
|
|
14191
14183
|
"description": "The `element` helper lets you dynamically set the tag name of an element.\n\n```js\nimport { element } from '@ember/helper';\n\n<template>\n {{#let (element @tagName) as |Tag|}}\n <Tag class=\"my-element\">Hello</Tag>\n {{/let}}\n</template>\n```\n\nWhen `@tagName` is `\"h1\"`, this renders `<h1 class=\"my-element\">Hello</h1>`.\nWhen `@tagName` is an empty string, the block content is rendered without a\nwrapping element. When `@tagName` is `null` or `undefined`, nothing is rendered.",
|
|
14192
14184
|
"itemtype": "method",
|
|
14193
14185
|
"name": "element",
|
|
@@ -14198,21 +14190,19 @@
|
|
|
14198
14190
|
"type": "String"
|
|
14199
14191
|
}
|
|
14200
14192
|
],
|
|
14201
|
-
"access": "private",
|
|
14202
|
-
"tagname": "",
|
|
14203
14193
|
"class": "@ember/helper",
|
|
14204
14194
|
"module": "@ember/helper"
|
|
14205
14195
|
},
|
|
14206
14196
|
{
|
|
14207
14197
|
"file": "packages/@ember/helper/index.ts",
|
|
14208
|
-
"line":
|
|
14198
|
+
"line": 597,
|
|
14209
14199
|
"description": "Use the {{uniqueId}} helper to generate a unique ID string suitable for use as\nan ID attribute in the DOM.\n\nEach invocation of {{uniqueId}} will return a new, unique ID string.\nYou can use the `let` helper to create an ID that can be reused within a template.\n\n```js\nimport { uniqueId } from '@ember/helper';\n\n<template>\n {{#let (uniqueId) as |emailId|}}\n <label for={{emailId}}>Email address</label>\n <input id={{emailId}} type=\"email\" />\n {{/let}}\n</template>\n```",
|
|
14210
14200
|
"class": "@ember/helper",
|
|
14211
14201
|
"module": "@ember/helper"
|
|
14212
14202
|
},
|
|
14213
14203
|
{
|
|
14214
14204
|
"file": "packages/@ember/helper/index.ts",
|
|
14215
|
-
"line":
|
|
14205
|
+
"line": 618,
|
|
14216
14206
|
"description": "The `{{eq}}` helper returns `true` if its two arguments are strictly equal\n(`===`). Takes exactly two arguments.\n\n```js\nimport { eq } from '@ember/helper';\n\n<template>\n {{if (eq @status \"active\") \"Active\" \"Inactive\"}}\n</template>\n```\n\nIn strict-mode (gjs/gts) templates, `eq` is available as a keyword and\ndoes not need to be imported.",
|
|
14217
14207
|
"itemtype": "method",
|
|
14218
14208
|
"name": "eq",
|
|
@@ -14232,14 +14222,12 @@
|
|
|
14232
14222
|
"description": "",
|
|
14233
14223
|
"type": "Boolean"
|
|
14234
14224
|
},
|
|
14235
|
-
"access": "private",
|
|
14236
|
-
"tagname": "",
|
|
14237
14225
|
"class": "@ember/helper",
|
|
14238
14226
|
"module": "@ember/helper"
|
|
14239
14227
|
},
|
|
14240
14228
|
{
|
|
14241
14229
|
"file": "packages/@ember/helper/index.ts",
|
|
14242
|
-
"line":
|
|
14230
|
+
"line": 641,
|
|
14243
14231
|
"description": "The `{{neq}}` helper returns `true` if its two arguments are strictly\nnot equal (`!==`). Takes exactly two arguments.\n\n```js\nimport { neq } from '@ember/helper';\n\n<template>\n {{if (neq @status \"active\") \"Not active\" \"Active\"}}\n</template>\n```\n\nIn strict-mode (gjs/gts) templates, `neq` is available as a keyword and\ndoes not need to be imported.",
|
|
14244
14232
|
"itemtype": "method",
|
|
14245
14233
|
"name": "neq",
|
|
@@ -14259,14 +14247,12 @@
|
|
|
14259
14247
|
"description": "",
|
|
14260
14248
|
"type": "Boolean"
|
|
14261
14249
|
},
|
|
14262
|
-
"access": "private",
|
|
14263
|
-
"tagname": "",
|
|
14264
14250
|
"class": "@ember/helper",
|
|
14265
14251
|
"module": "@ember/helper"
|
|
14266
14252
|
},
|
|
14267
14253
|
{
|
|
14268
14254
|
"file": "packages/@ember/helper/index.ts",
|
|
14269
|
-
"line":
|
|
14255
|
+
"line": 664,
|
|
14270
14256
|
"description": "The `{{and}}` helper evaluates arguments left to right, returning the first\nfalsy value (using Handlebars truthiness) or the right-most value if all\nare truthy. Requires at least two arguments.\n\n```js\nimport { and } from '@ember/helper';\n\n<template>\n {{if (and @isAdmin @isLoggedIn) \"Welcome, admin!\" \"Access denied\"}}\n</template>\n```\n\nIn strict-mode (gjs/gts) templates, `and` is available as a keyword and\ndoes not need to be imported.",
|
|
14271
14257
|
"itemtype": "method",
|
|
14272
14258
|
"name": "and",
|
|
@@ -14281,14 +14267,12 @@
|
|
|
14281
14267
|
"description": "The first falsy value or the last value",
|
|
14282
14268
|
"type": "Unknown"
|
|
14283
14269
|
},
|
|
14284
|
-
"access": "private",
|
|
14285
|
-
"tagname": "",
|
|
14286
14270
|
"class": "@ember/helper",
|
|
14287
14271
|
"module": "@ember/helper"
|
|
14288
14272
|
},
|
|
14289
14273
|
{
|
|
14290
14274
|
"file": "packages/@ember/helper/index.ts",
|
|
14291
|
-
"line":
|
|
14275
|
+
"line": 687,
|
|
14292
14276
|
"description": "The `{{or}}` helper evaluates arguments left to right, returning the first\ntruthy value (using Handlebars truthiness) or the right-most value if all\nare falsy. Requires at least two arguments.\n\n```js\nimport { or } from '@ember/helper';\n\n<template>\n {{if (or @hasAccess @isAdmin) \"Welcome!\" \"No access\"}}\n</template>\n```\n\nIn strict-mode (gjs/gts) templates, `or` is available as a keyword and\ndoes not need to be imported.",
|
|
14293
14277
|
"itemtype": "method",
|
|
14294
14278
|
"name": "or",
|
|
@@ -14303,14 +14287,12 @@
|
|
|
14303
14287
|
"description": "The first truthy value or the last value",
|
|
14304
14288
|
"type": "Unknown"
|
|
14305
14289
|
},
|
|
14306
|
-
"access": "private",
|
|
14307
|
-
"tagname": "",
|
|
14308
14290
|
"class": "@ember/helper",
|
|
14309
14291
|
"module": "@ember/helper"
|
|
14310
14292
|
},
|
|
14311
14293
|
{
|
|
14312
14294
|
"file": "packages/@ember/helper/index.ts",
|
|
14313
|
-
"line":
|
|
14295
|
+
"line": 710,
|
|
14314
14296
|
"description": "The `{{not}}` helper returns the logical negation of its argument using\nHandlebars truthiness. Takes exactly one argument.\n\n```js\nimport { not } from '@ember/helper';\n\n<template>\n {{if (not @isDisabled) \"Enabled\" \"Disabled\"}}\n</template>\n```\n\nIn strict-mode (gjs/gts) templates, `not` is available as a keyword and\ndoes not need to be imported.",
|
|
14315
14297
|
"itemtype": "method",
|
|
14316
14298
|
"name": "not",
|
|
@@ -14325,8 +14307,6 @@
|
|
|
14325
14307
|
"description": "",
|
|
14326
14308
|
"type": "Boolean"
|
|
14327
14309
|
},
|
|
14328
|
-
"access": "private",
|
|
14329
|
-
"tagname": "",
|
|
14330
14310
|
"class": "@ember/helper",
|
|
14331
14311
|
"module": "@ember/helper"
|
|
14332
14312
|
},
|
|
@@ -25268,7 +25248,7 @@
|
|
|
25268
25248
|
},
|
|
25269
25249
|
{
|
|
25270
25250
|
"message": "Missing item type",
|
|
25271
|
-
"line": " packages/@ember/engine/index.ts:
|
|
25251
|
+
"line": " packages/@ember/engine/index.ts:470"
|
|
25272
25252
|
},
|
|
25273
25253
|
{
|
|
25274
25254
|
"message": "Missing item type\nUnfortunately, a lot of existing code assumes booting an instance is\nsynchronous – specifically, a lot of tests assume the last call to\n`app.advanceReadiness()` or `app.reset()` will result in a new instance\nbeing fully-booted when the current runloop completes.\n\nWe would like new code (like the `visit` API) to stop making this\nassumption, so we created the asynchronous version above that returns a\npromise. But until we have migrated all the code, we would have to expose\nthis method for use *internally* in places where we need to boot an instance\nsynchronously.",
|
|
@@ -25296,7 +25276,7 @@
|
|
|
25296
25276
|
},
|
|
25297
25277
|
{
|
|
25298
25278
|
"message": "Missing item type\nUse the {{uniqueId}} helper to generate a unique ID string suitable for use as\nan ID attribute in the DOM.\n\nEach invocation of {{uniqueId}} will return a new, unique ID string.\nYou can use the `let` helper to create an ID that can be reused within a template.\n\n```js\nimport { uniqueId } from '@ember/helper';\n\n<template>\n {{#let (uniqueId) as |emailId|}}\n <label for={{emailId}}>Email address</label>\n <input id={{emailId}} type=\"email\" />\n {{/let}}\n</template>\n```",
|
|
25299
|
-
"line": " packages/@ember/helper/index.ts:
|
|
25279
|
+
"line": " packages/@ember/helper/index.ts:597"
|
|
25300
25280
|
},
|
|
25301
25281
|
{
|
|
25302
25282
|
"message": "Missing item type",
|
package/lib/index.js
CHANGED
|
@@ -47,7 +47,6 @@ const shim = addonV1Shim(path.join(__dirname, '..'), {
|
|
|
47
47
|
'./dist/dev/packages/@ember/-internals/utils/index.js',
|
|
48
48
|
'./dist/dev/packages/@ember/-internals/views/index.js',
|
|
49
49
|
'./dist/dev/packages/@ember/-internals/views/lib/compat/attrs.js',
|
|
50
|
-
'./dist/dev/packages/@ember/-internals/views/lib/component_lookup.js',
|
|
51
50
|
'./dist/dev/packages/@ember/-internals/views/lib/mixins/action_support.js',
|
|
52
51
|
'./dist/dev/packages/@ember/-internals/views/lib/system/utils.js',
|
|
53
52
|
'./dist/dev/packages/@ember/-internals/views/lib/views/core_view.js',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-source",
|
|
3
|
-
"version": "7.1.0-
|
|
3
|
+
"version": "7.1.0-beta.1",
|
|
4
4
|
"description": "A JavaScript framework for creating ambitious web applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"test": "testem ci -f testem.js --host 127.0.0.1 --port 13141",
|
|
54
54
|
"test:blueprints": "mocha node-tests/blueprints/**/*-test.js",
|
|
55
55
|
"test:node": "qunit tests/node/**/*-test.js",
|
|
56
|
+
"test:node:vitest": "pnpm --filter ember-test-node-vitest test:node",
|
|
56
57
|
"test:browserstack": "node bin/run-browserstack-tests.js",
|
|
57
58
|
"test:wip": "vite build --mode development --minify false && testem ci",
|
|
58
59
|
"type-check:internals": "tsc --noEmit",
|
|
@@ -98,23 +99,24 @@
|
|
|
98
99
|
"@tsconfig/ember": "3.0.8",
|
|
99
100
|
"@types/qunit": "^2.19.4",
|
|
100
101
|
"@types/rsvp": "^4.0.4",
|
|
102
|
+
"@typescript-eslint/typescript-estree": "^8.59.2",
|
|
101
103
|
"ast-types": "^0.14.2",
|
|
102
104
|
"auto-dist-tag": "^2.1.1",
|
|
103
|
-
"babel-plugin-debug-macros": "1.0.
|
|
105
|
+
"babel-plugin-debug-macros": "1.0.2",
|
|
104
106
|
"babel-plugin-ember-template-compilation": "^4.0.0",
|
|
105
107
|
"dag-map": "^2.0.2",
|
|
106
|
-
"decorator-transforms": "2.
|
|
108
|
+
"decorator-transforms": "2.3.2",
|
|
107
109
|
"ember-cli": "^6.11.1",
|
|
108
110
|
"ember-cli-blueprint-test-helpers": "^0.19.2",
|
|
109
|
-
"ember-cli-browserstack": "^
|
|
111
|
+
"ember-cli-browserstack": "^4.0.0",
|
|
110
112
|
"ember-cli-dependency-checker": "^3.3.1",
|
|
111
113
|
"ember-cli-yuidoc": "^0.9.1",
|
|
112
114
|
"eslint": "^9.21.0",
|
|
113
|
-
"eslint-import-resolver-node": "^0.3.
|
|
115
|
+
"eslint-import-resolver-node": "^0.3.10",
|
|
114
116
|
"eslint-plugin-disable-features": "^0.1.3",
|
|
115
117
|
"eslint-plugin-ember-internal": "^3.0.0",
|
|
116
118
|
"eslint-plugin-import": "^2.31.0",
|
|
117
|
-
"eslint-plugin-n": "^
|
|
119
|
+
"eslint-plugin-n": "^18.0.1",
|
|
118
120
|
"eslint-plugin-qunit": "^8.1.2",
|
|
119
121
|
"execa": "^9.0.0",
|
|
120
122
|
"expect-type": "^0.15.0",
|
|
@@ -138,7 +140,7 @@
|
|
|
138
140
|
"testem-failure-only-reporter": "^1.0.0",
|
|
139
141
|
"tracerbench": "^8.0.1",
|
|
140
142
|
"typescript": "^5.7.3",
|
|
141
|
-
"typescript-eslint": "^8.
|
|
143
|
+
"typescript-eslint": "^8.59.2",
|
|
142
144
|
"vite": "^7.0.0"
|
|
143
145
|
},
|
|
144
146
|
"resolutions": {
|
|
@@ -157,7 +159,8 @@
|
|
|
157
159
|
"esbuild"
|
|
158
160
|
],
|
|
159
161
|
"patchedDependencies": {
|
|
160
|
-
"@tracerbench/core@8.0.1": "patches/@tracerbench__core@8.0.1.patch"
|
|
162
|
+
"@tracerbench/core@8.0.1": "patches/@tracerbench__core@8.0.1.patch",
|
|
163
|
+
"agadoo": "patches/agadoo.patch"
|
|
161
164
|
}
|
|
162
165
|
},
|
|
163
166
|
"peerDependencies": {
|
|
@@ -196,7 +199,6 @@
|
|
|
196
199
|
"@ember/-internals/views/index.js": "ember-source/@ember/-internals/views/index.js",
|
|
197
200
|
"@ember/-internals/views/lib/compat/attrs.js": "ember-source/@ember/-internals/views/lib/compat/attrs.js",
|
|
198
201
|
"@ember/-internals/views/lib/compat/fallback-view-registry.js": "ember-source/@ember/-internals/views/lib/compat/fallback-view-registry.js",
|
|
199
|
-
"@ember/-internals/views/lib/component_lookup.js": "ember-source/@ember/-internals/views/lib/component_lookup.js",
|
|
200
202
|
"@ember/-internals/views/lib/mixins/action_support.js": "ember-source/@ember/-internals/views/lib/mixins/action_support.js",
|
|
201
203
|
"@ember/-internals/views/lib/system/event_dispatcher.js": "ember-source/@ember/-internals/views/lib/system/event_dispatcher.js",
|
|
202
204
|
"@ember/-internals/views/lib/system/utils.js": "ember-source/@ember/-internals/views/lib/system/utils.js",
|
|
@@ -360,10 +362,10 @@
|
|
|
360
362
|
]
|
|
361
363
|
}
|
|
362
364
|
},
|
|
363
|
-
"packageManager": "pnpm@10.
|
|
364
|
-
"_originalVersion": "7.1.0-
|
|
365
|
+
"packageManager": "pnpm@10.33.2",
|
|
366
|
+
"_originalVersion": "7.1.0-beta.1",
|
|
365
367
|
"_versionPreviouslyCalculated": true,
|
|
366
368
|
"publishConfig": {
|
|
367
|
-
"tag": "
|
|
369
|
+
"tag": "beta"
|
|
368
370
|
}
|
|
369
371
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
declare module '@ember/-internals/views' {
|
|
2
2
|
export { addChildView, isSimpleClick, getViewBounds, getViewClientRects, getViewBoundingClientRect, getRootViews, getChildViews, getViewId, getElementView, getViewElement, setElementView, setViewElement, clearElementView, clearViewElement, constructStyleDeprecationMessage, } from "@ember/-internals/views/lib/system/utils";
|
|
3
3
|
export { default as EventDispatcher } from "@ember/-internals/views/lib/system/event_dispatcher";
|
|
4
|
-
export { default as ComponentLookup } from "@ember/-internals/views/lib/component_lookup";
|
|
5
4
|
export { default as CoreView } from "@ember/-internals/views/lib/views/core_view";
|
|
6
5
|
export { default as ActionSupport } from "@ember/-internals/views/lib/mixins/action_support";
|
|
7
6
|
export { MUTABLE_CELL } from "@ember/-internals/views/lib/compat/attrs";
|
|
@@ -472,7 +472,6 @@ declare module '@ember/helper' {
|
|
|
472
472
|
* @param {number} left
|
|
473
473
|
* @param {number} right
|
|
474
474
|
* @return {boolean}
|
|
475
|
-
* @private
|
|
476
475
|
*/
|
|
477
476
|
export const gt: GtHelper;
|
|
478
477
|
export interface GtHelper extends Opaque<"helper:gt"> {
|
|
@@ -496,7 +495,6 @@ declare module '@ember/helper' {
|
|
|
496
495
|
* @param {number} left
|
|
497
496
|
* @param {number} right
|
|
498
497
|
* @return {boolean}
|
|
499
|
-
* @private
|
|
500
498
|
*/
|
|
501
499
|
export const gte: GteHelper;
|
|
502
500
|
export interface GteHelper extends Opaque<"helper:gte"> {
|
|
@@ -520,7 +518,6 @@ declare module '@ember/helper' {
|
|
|
520
518
|
* @param {number} left
|
|
521
519
|
* @param {number} right
|
|
522
520
|
* @return {boolean}
|
|
523
|
-
* @private
|
|
524
521
|
*/
|
|
525
522
|
export const lt: LtHelper;
|
|
526
523
|
export interface LtHelper extends Opaque<"helper:lt"> {
|
|
@@ -544,7 +541,6 @@ declare module '@ember/helper' {
|
|
|
544
541
|
* @param {number} left
|
|
545
542
|
* @param {number} right
|
|
546
543
|
* @return {boolean}
|
|
547
|
-
* @private
|
|
548
544
|
*/
|
|
549
545
|
export const lte: LteHelper;
|
|
550
546
|
export interface LteHelper extends Opaque<"helper:lte"> {
|
|
@@ -568,7 +564,6 @@ declare module '@ember/helper' {
|
|
|
568
564
|
*
|
|
569
565
|
* @method element
|
|
570
566
|
* @param {string} tagName
|
|
571
|
-
* @private
|
|
572
567
|
*/
|
|
573
568
|
export const element: ElementHelper;
|
|
574
569
|
export interface ElementHelper extends Opaque<"helper:element"> {
|
|
@@ -612,7 +607,6 @@ declare module '@ember/helper' {
|
|
|
612
607
|
* @param {unknown} left
|
|
613
608
|
* @param {unknown} right
|
|
614
609
|
* @return {boolean}
|
|
615
|
-
* @private
|
|
616
610
|
*/
|
|
617
611
|
export const eq: EqHelper;
|
|
618
612
|
export interface EqHelper extends Opaque<"helper:eq"> {
|
|
@@ -636,7 +630,6 @@ declare module '@ember/helper' {
|
|
|
636
630
|
* @param {unknown} left
|
|
637
631
|
* @param {unknown} right
|
|
638
632
|
* @return {boolean}
|
|
639
|
-
* @private
|
|
640
633
|
*/
|
|
641
634
|
export const neq: NeqHelper;
|
|
642
635
|
export interface NeqHelper extends Opaque<"helper:neq"> {
|
|
@@ -660,7 +653,6 @@ declare module '@ember/helper' {
|
|
|
660
653
|
* @method and
|
|
661
654
|
* @param {unknown} args Two or more values to evaluate
|
|
662
655
|
* @return {unknown} The first falsy value or the last value
|
|
663
|
-
* @private
|
|
664
656
|
*/
|
|
665
657
|
export const and: AndHelper;
|
|
666
658
|
export interface AndHelper extends Opaque<"helper:and"> {
|
|
@@ -684,7 +676,6 @@ declare module '@ember/helper' {
|
|
|
684
676
|
* @method or
|
|
685
677
|
* @param {unknown} args Two or more values to evaluate
|
|
686
678
|
* @return {unknown} The first truthy value or the last value
|
|
687
|
-
* @private
|
|
688
679
|
*/
|
|
689
680
|
export const or: OrHelper;
|
|
690
681
|
export interface OrHelper extends Opaque<"helper:or"> {
|
|
@@ -707,7 +698,6 @@ declare module '@ember/helper' {
|
|
|
707
698
|
* @method not
|
|
708
699
|
* @param {unknown} value The value to negate
|
|
709
700
|
* @return {boolean}
|
|
710
|
-
* @private
|
|
711
701
|
*/
|
|
712
702
|
export const not: NotHelper;
|
|
713
703
|
export interface NotHelper extends Opaque<"helper:not"> {
|
package/types/stable/index.d.ts
CHANGED
|
@@ -177,7 +177,6 @@
|
|
|
177
177
|
/// <reference path="./@ember/-internals/views/index.d.ts" />
|
|
178
178
|
/// <reference path="./@ember/-internals/views/lib/compat/attrs.d.ts" />
|
|
179
179
|
/// <reference path="./@ember/-internals/views/lib/compat/fallback-view-registry.d.ts" />
|
|
180
|
-
/// <reference path="./@ember/-internals/views/lib/component_lookup.d.ts" />
|
|
181
180
|
/// <reference path="./@ember/-internals/views/lib/mixins/action_support.d.ts" />
|
|
182
181
|
/// <reference path="./@ember/-internals/views/lib/system/event_dispatcher.d.ts" />
|
|
183
182
|
/// <reference path="./@ember/-internals/views/lib/system/utils.d.ts" />
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import EmberObject from '../../../object/index.js';
|
|
2
|
-
|
|
3
|
-
class ComponentLookup extends EmberObject {
|
|
4
|
-
componentFor(name, owner) {
|
|
5
|
-
let fullName = `component:${name}`;
|
|
6
|
-
return owner.factoryFor(fullName);
|
|
7
|
-
}
|
|
8
|
-
layoutFor(name, owner, options) {
|
|
9
|
-
let templateFullName = `template:components/${name}`;
|
|
10
|
-
return owner.lookup(templateFullName, options);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { ComponentLookup as default };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// import Logger from './logger';
|
|
2
|
-
|
|
3
|
-
function assert(test, msg) {
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* This constant exists to make it easier to differentiate normal logs from
|
|
8
|
-
* errant console.logs. LOGGER can be used outside of LOCAL_TRACE_LOGGING checks,
|
|
9
|
-
* and is meant to be used in the rare situation where a console.* call is
|
|
10
|
-
* actually appropriate.
|
|
11
|
-
*/
|
|
12
|
-
const LOGGER = console;
|
|
13
|
-
function assertNever(value, desc = 'unexpected unreachable branch') {
|
|
14
|
-
LOGGER.log('unreachable', value);
|
|
15
|
-
LOGGER.log(`${desc} :: ${JSON.stringify(value)} (${value})`);
|
|
16
|
-
throw new Error(`code reached unreachable`);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export { assert as a, assertNever as b };
|