diff --git a/README.md b/README.md index 1f764bf..ca7424b 100644 --- a/README.md +++ b/README.md @@ -13,164 +13,180 @@ JSON data for [RFC #176](https://github.com/emberjs/rfcs/blob/master/text/0176-j ### Globals to New Modules -| Before | After | -| --- | --- | -| `Ember.$` | `import $ from "jquery"` | -| `Ember.A` | `import { A } from "@ember/array"` | -| `Ember.Application` | `import Application from "@ember/application"` | -| `Ember.Array` | `import EmberArray from "@ember/array"` | -| `Ember.ArrayProxy` | `import ArrayProxy from "@ember/array/proxy"` | -| `Ember.AutoLocation` | `import AutoLocation from "@ember/routing/auto-location"` | -| `Ember.Checkbox` | `import Checkbox from "@ember/component/checkbox"` | -| `Ember.Component` | `import Component from "@ember/component"` | -| `Ember.ContainerDebugAdapter` | `import ContainerDebugAdapter from "@ember/debug/container-debug-adapter"` | -| `Ember.Controller` | `import Controller from "@ember/controller"` | -| `Ember.DataAdapter` | `import DataAdapter from "@ember/debug/data-adapter"` | -| `Ember.DefaultResolver` | `import GlobalsResolver from "@ember/application/globals-resolver"` | -| `Ember.Enumerable` | `import Enumerable from "@ember/enumerable"` | -| `Ember.Evented` | `import Evented from "@ember/object/evented"` | -| `Ember.HashLocation` | `import HashLocation from "@ember/routing/hash-location"` | -| `Ember.Helper` | `import Helper from "@ember/component/helper"` | -| `Ember.Helper.helper` | `import { helper } from "@ember/component/helper"` | -| `Ember.HistoryLocation` | `import HistoryLocation from "@ember/routing/history-location"` | -| `Ember.LinkComponent` | `import LinkComponent from "@ember/routing/link-component"` | -| `Ember.Location` | `import Location from "@ember/routing/location"` | -| `Ember.Map` | `import EmberMap from "@ember/map"` | -| `Ember.MapWithDefault` | `import MapWithDefault from "@ember/map/with-default"` | -| `Ember.Mixin` | `import Mixin from "@ember/object/mixin"` | -| `Ember.MutableArray` | `import MutableArray from "@ember/array/mutable"` | -| `Ember.NoneLocation` | `import NoneLocation from "@ember/routing/none-location"` | -| `Ember.Object` | `import EmberObject from "@ember/object"` | -| `Ember.RSVP` | `import RSVP from "rsvp"` | -| `Ember.RSVP.Promise` | `import { Promise } from "rsvp"` | -| `Ember.Resolver` | `import Resolver from "@ember/application/resolver"` | -| `Ember.Route` | `import Route from "@ember/routing/route"` | -| `Ember.Router` | `import Router from "@ember/routing/router"` | -| `Ember.Service` | `import Service from "@ember/service"` | -| `Ember.String.camelize` | `import { camelize } from "@ember/string"` | -| `Ember.String.capitalize` | `import { capitalize } from "@ember/string"` | -| `Ember.String.classify` | `import { classify } from "@ember/string"` | -| `Ember.String.dasherize` | `import { dasherize } from "@ember/string"` | -| `Ember.String.decamelize` | `import { decamelize } from "@ember/string"` | -| `Ember.String.fmt` | `import { fmt } from "@ember/string"` | -| `Ember.String.htmlSafe` | `import { htmlSafe } from "@ember/string"` | -| `Ember.String.isHtmlSafe` | `import { isHtmlSafe } from "@ember/string"` | -| `Ember.String.loc` | `import { loc } from "@ember/string"` | -| `Ember.String.underscore` | `import { underscore } from "@ember/string"` | -| `Ember.String.w` | `import { w } from "@ember/string"` | -| `Ember.TextArea` | `import TextArea from "@ember/component/text-area"` | -| `Ember.TextField` | `import TextField from "@ember/component/text-field"` | -| `Ember.addListener` | `import { addListener } from "@ember/object/events"` | -| `Ember.addObserver` | `import { addObserver } from "@ember/object/observers"` | -| `Ember.aliasMethod` | `import { aliasMethod } from "@ember/object"` | -| `Ember.assert` | `import { assert } from "@ember/debug"` | -| `Ember.assign` | `import { assign } from "@ember/polyfills"` | -| `Ember.cacheFor` | `import { cacheFor } from "@ember/object/internals"` | -| `Ember.compare` | `import { compare } from "@ember/utils"` | -| `Ember.computed` | `import { computed } from "@ember/object"` | -| `Ember.computed.alias` | `import { alias } from "@ember/object/computed"` | -| `Ember.computed.and` | `import { and } from "@ember/object/computed"` | -| `Ember.computed.bool` | `import { bool } from "@ember/object/computed"` | -| `Ember.computed.collect` | `import { collect } from "@ember/object/computed"` | -| `Ember.computed.deprecatingAlias` | `import { deprecatingAlias } from "@ember/object/computed"` | -| `Ember.computed.empty` | `import { empty } from "@ember/object/computed"` | -| `Ember.computed.equal` | `import { equal } from "@ember/object/computed"` | -| `Ember.computed.filter` | `import { filter } from "@ember/object/computed"` | -| `Ember.computed.filterBy` | `import { filterBy } from "@ember/object/computed"` | -| `Ember.computed.filterProperty` | `import { filterProperty } from "@ember/object/computed"` | -| `Ember.computed.gt` | `import { gt } from "@ember/object/computed"` | -| `Ember.computed.gte` | `import { gte } from "@ember/object/computed"` | -| `Ember.computed.intersect` | `import { intersect } from "@ember/object/computed"` | -| `Ember.computed.lt` | `import { lt } from "@ember/object/computed"` | -| `Ember.computed.lte` | `import { lte } from "@ember/object/computed"` | -| `Ember.computed.map` | `import { map } from "@ember/object/computed"` | -| `Ember.computed.mapBy` | `import { mapBy } from "@ember/object/computed"` | -| `Ember.computed.mapProperty` | `import { mapProperty } from "@ember/object/computed"` | -| `Ember.computed.match` | `import { match } from "@ember/object/computed"` | -| `Ember.computed.max` | `import { max } from "@ember/object/computed"` | -| `Ember.computed.min` | `import { min } from "@ember/object/computed"` | -| `Ember.computed.none` | `import { none } from "@ember/object/computed"` | -| `Ember.computed.not` | `import { not } from "@ember/object/computed"` | -| `Ember.computed.notEmpty` | `import { notEmpty } from "@ember/object/computed"` | -| `Ember.computed.oneWay` | `import { oneWay } from "@ember/object/computed"` | -| `Ember.computed.or` | `import { or } from "@ember/object/computed"` | -| `Ember.computed.readOnly` | `import { readOnly } from "@ember/object/computed"` | -| `Ember.computed.reads` | `import { reads } from "@ember/object/computed"` | -| `Ember.computed.setDiff` | `import { setDiff } from "@ember/object/computed"` | -| `Ember.computed.sort` | `import { sort } from "@ember/object/computed"` | -| `Ember.computed.sum` | `import { sum } from "@ember/object/computed"` | -| `Ember.computed.union` | `import { union } from "@ember/object/computed"` | -| `Ember.computed.uniq` | `import { uniq } from "@ember/object/computed"` | -| `Ember.computed.uniqBy` | `import { uniqBy } from "@ember/object/computed"` | -| `Ember.copy` | `import { copy } from "@ember/object/internals"` | -| `Ember.create` | `import { create } from "@ember/polyfills"` | -| `Ember.debug` | `import { debug } from "@ember/debug"` | -| `Ember.deprecate` | `import { deprecate } from "@ember/application/deprecations"` | -| `Ember.deprecateFunc` | `import { deprecateFunc } from "@ember/application/deprecations"` | -| `Ember.get` | `import { get } from "@ember/object"` | -| `Ember.getOwner` | `import { getOwner } from "@ember/application"` | -| `Ember.getProperties` | `import { getProperties } from "@ember/object"` | -| `Ember.guidFor` | `import { guidFor } from "@ember/object/internals"` | -| `Ember.inject.controller` | `import { inject } from "@ember/controller"` | -| `Ember.inject.service` | `import { inject } from "@ember/service"` | -| `Ember.inspect` | `import { inspect } from "@ember/debug"` | -| `Ember.instrument` | `import { instrument } from "@ember/instrumentation"` | -| `Ember.isArray` | `import { isArray } from "@ember/array"` | -| `Ember.isBlank` | `import { isBlank } from "@ember/utils"` | -| `Ember.isEmpty` | `import { isEmpty } from "@ember/utils"` | -| `Ember.isEqual` | `import { isEqual } from "@ember/utils"` | -| `Ember.isNone` | `import { isNone } from "@ember/utils"` | -| `Ember.isPresent` | `import { isPresent } from "@ember/utils"` | -| `Ember.keys` | `import { keys } from "@ember/polyfills"` | -| `Ember.makeArray` | `import { makeArray } from "@ember/array"` | -| `Ember.merge` | `import { merge } from "@ember/polyfills"` | -| `Ember.observer` | `import { observer } from "@ember/object"` | -| `Ember.on` | `import { on } from "@ember/object/evented"` | -| `Ember.onLoad` | `import { onLoad } from "@ember/application"` | -| `Ember.platform.hasPropertyAccessors` | `import { hasPropertyAccessors } from "@ember/polyfills"` | -| `Ember.removeListener` | `import { removeListener } from "@ember/object/events"` | -| `Ember.removeObserver` | `import { removeObserver } from "@ember/object/observers"` | -| `Ember.reset` | `import { reset } from "@ember/instrumentation"` | -| `Ember.run` | `import { run } from "@ember/runloop"` | -| `Ember.run.begin` | `import { begin } from "@ember/runloop"` | -| `Ember.run.bind` | `import { bind } from "@ember/runloop"` | -| `Ember.run.cancel` | `import { cancel } from "@ember/runloop"` | -| `Ember.run.debounce` | `import { debounce } from "@ember/runloop"` | -| `Ember.run.end` | `import { end } from "@ember/runloop"` | -| `Ember.run.join` | `import { join } from "@ember/runloop"` | -| `Ember.run.later` | `import { later } from "@ember/runloop"` | -| `Ember.run.next` | `import { next } from "@ember/runloop"` | -| `Ember.run.once` | `import { once } from "@ember/runloop"` | -| `Ember.run.schedule` | `import { schedule } from "@ember/runloop"` | -| `Ember.run.scheduleOnce` | `import { scheduleOnce } from "@ember/runloop"` | -| `Ember.run.throttle` | `import { throttle } from "@ember/runloop"` | -| `Ember.runInDebug` | `import { runInDebug } from "@ember/debug"` | -| `Ember.runLoadHooks` | `import { runLoadHooks } from "@ember/application"` | -| `Ember.sendEvent` | `import { sendEvent } from "@ember/object/events"` | -| `Ember.set` | `import { set } from "@ember/object"` | -| `Ember.setOwner` | `import { setOwner } from "@ember/application"` | -| `Ember.setProperties` | `import { setProperties } from "@ember/object"` | -| `Ember.subscribe` | `import { subscribe } from "@ember/instrumentation"` | -| `Ember.tryInvoke` | `import { tryInvoke } from "@ember/utils"` | -| `Ember.trySet` | `import { trySet } from "@ember/object"` | -| `Ember.typeOf` | `import { typeOf } from "@ember/utils"` | -| `Ember.unsubscribe` | `import { unsubscribe } from "@ember/instrumentation"` | -| `Ember.warn` | `import { warn } from "@ember/debug"` | +| Before | After | +| --- | --- | +| `Ember.$` | `import $ from "jquery"` | +| `Ember.A` | `import { A } from "@ember/array"` | +| `Ember.Application` | `import Application from "@ember/application"` | +| `Ember.ApplicationInstance` | `import ApplicationInstance from "@ember/application/instance"` | +| `Ember.Array` | `import EmberArray from "@ember/array"` | +| `Ember.ArrayProxy` | `import ArrayProxy from "@ember/array/proxy"` | +| `Ember.AutoLocation` | `import AutoLocation from "@ember/routing/auto-location"` | +| `Ember.Checkbox` | `import Checkbox from "@ember/component/checkbox"` | +| `Ember.Component` | `import Component from "@ember/component"` | +| `Ember.ComputedProperty` | `import ComputedProperty from "@ember/object/computed"` | +| `Ember.ContainerDebugAdapter` | `import ContainerDebugAdapter from "@ember/debug/container-debug-adapter"` | +| `Ember.Controller` | `import Controller from "@ember/controller"` | +| `Ember.CoreObject` | `import CoreObject from "@ember/object/core"` | +| `Ember.DataAdapter` | `import DataAdapter from "@ember/debug/data-adapter"` | +| `Ember.Debug.registerDeprecationHandler` | `import { registerDeprecationHandler } from "@ember/debug"` | +| `Ember.Debug.registerWarnHandler` | `import { registerWarnHandler } from "@ember/debug"` | +| `Ember.DefaultResolver` | `import GlobalsResolver from "@ember/application/globals-resolver"` | +| `Ember.Engine` | `import Engine from "@ember/engine"` | +| `Ember.EngineInstance` | `import EngineInstance from "@ember/engine/instance"` | +| `Ember.Enumerable` | `import Enumerable from "@ember/enumerable"` | +| `Ember.Error` | `import Error from "@ember/error"` | +| `Ember.Evented` | `import Evented from "@ember/object/evented"` | +| `Ember.HashLocation` | `import HashLocation from "@ember/routing/hash-location"` | +| `Ember.Helper` | `import Helper from "@ember/component/helper"` | +| `Ember.Helper.helper` | `import { helper } from "@ember/component/helper"` | +| `Ember.HistoryLocation` | `import HistoryLocation from "@ember/routing/history-location"` | +| `Ember.LinkComponent` | `import LinkComponent from "@ember/routing/link-component"` | +| `Ember.Location` | `import Location from "@ember/routing/location"` | +| `Ember.Map` | `import EmberMap from "@ember/map"` | +| `Ember.MapWithDefault` | `import MapWithDefault from "@ember/map/with-default"` | +| `Ember.Mixin` | `import Mixin from "@ember/object/mixin"` | +| `Ember.MutableArray` | `import MutableArray from "@ember/array/mutable"` | +| `Ember.NoneLocation` | `import NoneLocation from "@ember/routing/none-location"` | +| `Ember.Object` | `import EmberObject from "@ember/object"` | +| `Ember.ObjectProxy` | `import ObjectProxy from "@ember/object/proxy"` | +| `Ember.Observable` | `import Observable from "@ember/object/observable"` | +| `Ember.PromiseProxyMixin` | `import PromiseProxyMixin from "@ember/object/promise-proxy-mixin"` | +| `Ember.RSVP` | `import RSVP from "rsvp"` | +| `Ember.RSVP.Promise` | `import { Promise } from "rsvp"` | +| `Ember.Resolver` | `import Resolver from "@ember/application/resolver"` | +| `Ember.Route` | `import Route from "@ember/routing/route"` | +| `Ember.Router` | `import Router from "@ember/routing/router"` | +| `Ember.Service` | `import Service from "@ember/service"` | +| `Ember.String.camelize` | `import { camelize } from "@ember/string"` | +| `Ember.String.capitalize` | `import { capitalize } from "@ember/string"` | +| `Ember.String.classify` | `import { classify } from "@ember/string"` | +| `Ember.String.dasherize` | `import { dasherize } from "@ember/string"` | +| `Ember.String.decamelize` | `import { decamelize } from "@ember/string"` | +| `Ember.String.fmt` | `import { fmt } from "@ember/string"` | +| `Ember.String.htmlSafe` | `import { htmlSafe } from "@ember/string"` | +| `Ember.String.isHtmlSafe` | `import { isHtmlSafe } from "@ember/string"` | +| `Ember.String.loc` | `import { loc } from "@ember/string"` | +| `Ember.String.underscore` | `import { underscore } from "@ember/string"` | +| `Ember.String.w` | `import { w } from "@ember/string"` | +| `Ember.Test.Adapter` | `import Test.Adapter from "@ember/test/adapter"` | +| `Ember.TextArea` | `import TextArea from "@ember/component/text-area"` | +| `Ember.TextField` | `import TextField from "@ember/component/text-field"` | +| `Ember.addListener` | `import { addListener } from "@ember/object/events"` | +| `Ember.addObserver` | `import { addObserver } from "@ember/object/observers"` | +| `Ember.aliasMethod` | `import { aliasMethod } from "@ember/object"` | +| `Ember.assert` | `import { assert } from "@ember/debug"` | +| `Ember.assign` | `import { assign } from "@ember/polyfills"` | +| `Ember.cacheFor` | `import { cacheFor } from "@ember/object/internals"` | +| `Ember.compare` | `import { compare } from "@ember/utils"` | +| `Ember.computed` | `import { computed } from "@ember/object"` | +| `Ember.computed.alias` | `import { alias } from "@ember/object/computed"` | +| `Ember.computed.and` | `import { and } from "@ember/object/computed"` | +| `Ember.computed.bool` | `import { bool } from "@ember/object/computed"` | +| `Ember.computed.collect` | `import { collect } from "@ember/object/computed"` | +| `Ember.computed.deprecatingAlias` | `import { deprecatingAlias } from "@ember/object/computed"` | +| `Ember.computed.empty` | `import { empty } from "@ember/object/computed"` | +| `Ember.computed.equal` | `import { equal } from "@ember/object/computed"` | +| `Ember.computed.filter` | `import { filter } from "@ember/object/computed"` | +| `Ember.computed.filterBy` | `import { filterBy } from "@ember/object/computed"` | +| `Ember.computed.filterProperty` | `import { filterProperty } from "@ember/object/computed"` | +| `Ember.computed.gt` | `import { gt } from "@ember/object/computed"` | +| `Ember.computed.gte` | `import { gte } from "@ember/object/computed"` | +| `Ember.computed.intersect` | `import { intersect } from "@ember/object/computed"` | +| `Ember.computed.lt` | `import { lt } from "@ember/object/computed"` | +| `Ember.computed.lte` | `import { lte } from "@ember/object/computed"` | +| `Ember.computed.map` | `import { map } from "@ember/object/computed"` | +| `Ember.computed.mapBy` | `import { mapBy } from "@ember/object/computed"` | +| `Ember.computed.mapProperty` | `import { mapProperty } from "@ember/object/computed"` | +| `Ember.computed.match` | `import { match } from "@ember/object/computed"` | +| `Ember.computed.max` | `import { max } from "@ember/object/computed"` | +| `Ember.computed.min` | `import { min } from "@ember/object/computed"` | +| `Ember.computed.none` | `import { none } from "@ember/object/computed"` | +| `Ember.computed.not` | `import { not } from "@ember/object/computed"` | +| `Ember.computed.notEmpty` | `import { notEmpty } from "@ember/object/computed"` | +| `Ember.computed.oneWay` | `import { oneWay } from "@ember/object/computed"` | +| `Ember.computed.or` | `import { or } from "@ember/object/computed"` | +| `Ember.computed.readOnly` | `import { readOnly } from "@ember/object/computed"` | +| `Ember.computed.reads` | `import { reads } from "@ember/object/computed"` | +| `Ember.computed.setDiff` | `import { setDiff } from "@ember/object/computed"` | +| `Ember.computed.sort` | `import { sort } from "@ember/object/computed"` | +| `Ember.computed.sum` | `import { sum } from "@ember/object/computed"` | +| `Ember.computed.union` | `import { union } from "@ember/object/computed"` | +| `Ember.computed.uniq` | `import { uniq } from "@ember/object/computed"` | +| `Ember.computed.uniqBy` | `import { uniqBy } from "@ember/object/computed"` | +| `Ember.copy` | `import { copy } from "@ember/object/internals"` | +| `Ember.create` | `import { create } from "@ember/polyfills"` | +| `Ember.debug` | `import { debug } from "@ember/debug"` | +| `Ember.defineProperty` | `import { defineProperty } from "@ember/object"` | +| `Ember.deprecate` | `import { deprecate } from "@ember/application/deprecations"` | +| `Ember.deprecateFunc` | `import { deprecateFunc } from "@ember/application/deprecations"` | +| `Ember.get` | `import { get } from "@ember/object"` | +| `Ember.getEngineParent` | `import { getEngineParent } from "@ember/engine"` | +| `Ember.getOwner` | `import { getOwner } from "@ember/application"` | +| `Ember.getProperties` | `import { getProperties } from "@ember/object"` | +| `Ember.getWithDefault` | `import { getWithDefault } from "@ember/object"` | +| `Ember.guidFor` | `import { guidFor } from "@ember/object/internals"` | +| `Ember.inject.controller` | `import { inject } from "@ember/controller"` | +| `Ember.inject.service` | `import { inject } from "@ember/service"` | +| `Ember.inspect` | `import { inspect } from "@ember/debug"` | +| `Ember.instrument` | `import { instrument } from "@ember/instrumentation"` | +| `Ember.isArray` | `import { isArray } from "@ember/array"` | +| `Ember.isBlank` | `import { isBlank } from "@ember/utils"` | +| `Ember.isEmpty` | `import { isEmpty } from "@ember/utils"` | +| `Ember.isEqual` | `import { isEqual } from "@ember/utils"` | +| `Ember.isNone` | `import { isNone } from "@ember/utils"` | +| `Ember.isPresent` | `import { isPresent } from "@ember/utils"` | +| `Ember.keys` | `import { keys } from "@ember/polyfills"` | +| `Ember.makeArray` | `import { makeArray } from "@ember/array"` | +| `Ember.merge` | `import { merge } from "@ember/polyfills"` | +| `Ember.observer` | `import { observer } from "@ember/object"` | +| `Ember.on` | `import { on } from "@ember/object/evented"` | +| `Ember.onLoad` | `import { onLoad } from "@ember/application"` | +| `Ember.platform.hasPropertyAccessors` | `import { hasPropertyAccessors } from "@ember/polyfills"` | +| `Ember.removeListener` | `import { removeListener } from "@ember/object/events"` | +| `Ember.removeObserver` | `import { removeObserver } from "@ember/object/observers"` | +| `Ember.reset` | `import { reset } from "@ember/instrumentation"` | +| `Ember.run` | `import { run } from "@ember/runloop"` | +| `Ember.run.begin` | `import { begin } from "@ember/runloop"` | +| `Ember.run.bind` | `import { bind } from "@ember/runloop"` | +| `Ember.run.cancel` | `import { cancel } from "@ember/runloop"` | +| `Ember.run.debounce` | `import { debounce } from "@ember/runloop"` | +| `Ember.run.end` | `import { end } from "@ember/runloop"` | +| `Ember.run.join` | `import { join } from "@ember/runloop"` | +| `Ember.run.later` | `import { later } from "@ember/runloop"` | +| `Ember.run.next` | `import { next } from "@ember/runloop"` | +| `Ember.run.once` | `import { once } from "@ember/runloop"` | +| `Ember.run.schedule` | `import { schedule } from "@ember/runloop"` | +| `Ember.run.scheduleOnce` | `import { scheduleOnce } from "@ember/runloop"` | +| `Ember.run.throttle` | `import { throttle } from "@ember/runloop"` | +| `Ember.runInDebug` | `import { runInDebug } from "@ember/debug"` | +| `Ember.runLoadHooks` | `import { runLoadHooks } from "@ember/application"` | +| `Ember.sendEvent` | `import { sendEvent } from "@ember/object/events"` | +| `Ember.set` | `import { set } from "@ember/object"` | +| `Ember.setOwner` | `import { setOwner } from "@ember/application"` | +| `Ember.setProperties` | `import { setProperties } from "@ember/object"` | +| `Ember.subscribe` | `import { subscribe } from "@ember/instrumentation"` | +| `Ember.tryInvoke` | `import { tryInvoke } from "@ember/utils"` | +| `Ember.trySet` | `import { trySet } from "@ember/object"` | +| `Ember.typeOf` | `import { typeOf } from "@ember/utils"` | +| `Ember.unsubscribe` | `import { unsubscribe } from "@ember/instrumentation"` | +| `Ember.warn` | `import { warn } from "@ember/debug"` | ### New Modules to Globals #### `@ember/application` -| Module | Global | -| --- | --- | -| `import Application from "@ember/application"` | `Ember.Application` | -| `import { getOwner } from "@ember/application"` | `Ember.getOwner` | -| `import { onLoad } from "@ember/application"` | `Ember.onLoad` | -| `import { runLoadHooks } from "@ember/application"` | `Ember.runLoadHooks` | -| `import { setOwner } from "@ember/application"` | `Ember.setOwner` | -| `import { deprecate } from "@ember/application/deprecations"` | `Ember.deprecate` | -| `import { deprecateFunc } from "@ember/application/deprecations"` | `Ember.deprecateFunc` | -| `import GlobalsResolver from "@ember/application/globals-resolver"` | `Ember.DefaultResolver` | -| `import Resolver from "@ember/application/resolver"` | `Ember.Resolver` | +| Module | Global | +| --- | --- | +| `import Application from "@ember/application"` | `Ember.Application` | +| `import { getOwner } from "@ember/application"` | `Ember.getOwner` | +| `import { onLoad } from "@ember/application"` | `Ember.onLoad` | +| `import { runLoadHooks } from "@ember/application"` | `Ember.runLoadHooks` | +| `import { setOwner } from "@ember/application"` | `Ember.setOwner` | +| `import { deprecate } from "@ember/application/deprecations"` | `Ember.deprecate` | +| `import { deprecateFunc } from "@ember/application/deprecations"` | `Ember.deprecateFunc` | +| `import GlobalsResolver from "@ember/application/globals-resolver"` | `Ember.DefaultResolver` | +| `import ApplicationInstance from "@ember/application/instance"` | `Ember.ApplicationInstance` | +| `import Resolver from "@ember/application/resolver"` | `Ember.Resolver` | #### `@ember/array` | Module | Global | @@ -199,21 +215,35 @@ JSON data for [RFC #176](https://github.com/emberjs/rfcs/blob/master/text/0176-j | `import { inject } from "@ember/controller"` | `Ember.inject.controller` | #### `@ember/debug` -| Module | Global | -| --- | --- | -| `import { assert } from "@ember/debug"` | `Ember.assert` | -| `import { debug } from "@ember/debug"` | `Ember.debug` | -| `import { inspect } from "@ember/debug"` | `Ember.inspect` | -| `import { runInDebug } from "@ember/debug"` | `Ember.runInDebug` | -| `import { warn } from "@ember/debug"` | `Ember.warn` | -| `import ContainerDebugAdapter from "@ember/debug/container-debug-adapter"` | `Ember.ContainerDebugAdapter` | -| `import DataAdapter from "@ember/debug/data-adapter"` | `Ember.DataAdapter` | +| Module | Global | +| --- | --- | +| `import { assert } from "@ember/debug"` | `Ember.assert` | +| `import { debug } from "@ember/debug"` | `Ember.debug` | +| `import { inspect } from "@ember/debug"` | `Ember.inspect` | +| `import { registerDeprecationHandler } from "@ember/debug"` | `Ember.Debug.registerDeprecationHandler` | +| `import { registerWarnHandler } from "@ember/debug"` | `Ember.Debug.registerWarnHandler` | +| `import { runInDebug } from "@ember/debug"` | `Ember.runInDebug` | +| `import { warn } from "@ember/debug"` | `Ember.warn` | +| `import ContainerDebugAdapter from "@ember/debug/container-debug-adapter"` | `Ember.ContainerDebugAdapter` | +| `import DataAdapter from "@ember/debug/data-adapter"` | `Ember.DataAdapter` | + +#### `@ember/engine` +| Module | Global | +| --- | --- | +| `import Engine from "@ember/engine"` | `Ember.Engine` | +| `import { getEngineParent } from "@ember/engine"` | `Ember.getEngineParent` | +| `import EngineInstance from "@ember/engine/instance"` | `Ember.EngineInstance` | #### `@ember/enumerable` | Module | Global | | --- | --- | | `import Enumerable from "@ember/enumerable"` | `Ember.Enumerable` | +#### `@ember/error` +| Module | Global | +| --- | --- | +| `import EmberError from "@ember/error"` | `Ember.Error` | + #### `@ember/instrumentation` | Module | Global | | --- | --- | @@ -229,62 +259,69 @@ JSON data for [RFC #176](https://github.com/emberjs/rfcs/blob/master/text/0176-j | `import MapWithDefault from "@ember/map/with-default"` | `Ember.MapWithDefault` | #### `@ember/object` -| Module | Global | -| --- | --- | -| `import EmberObject from "@ember/object"` | `Ember.Object` | -| `import { aliasMethod } from "@ember/object"` | `Ember.aliasMethod` | -| `import { computed } from "@ember/object"` | `Ember.computed` | -| `import { get } from "@ember/object"` | `Ember.get` | -| `import { getProperties } from "@ember/object"` | `Ember.getProperties` | -| `import { observer } from "@ember/object"` | `Ember.observer` | -| `import { set } from "@ember/object"` | `Ember.set` | -| `import { setProperties } from "@ember/object"` | `Ember.setProperties` | -| `import { trySet } from "@ember/object"` | `Ember.trySet` | -| `import { alias } from "@ember/object/computed"` | `Ember.computed.alias` | -| `import { and } from "@ember/object/computed"` | `Ember.computed.and` | -| `import { bool } from "@ember/object/computed"` | `Ember.computed.bool` | -| `import { collect } from "@ember/object/computed"` | `Ember.computed.collect` | -| `import { deprecatingAlias } from "@ember/object/computed"` | `Ember.computed.deprecatingAlias` | -| `import { empty } from "@ember/object/computed"` | `Ember.computed.empty` | -| `import { equal } from "@ember/object/computed"` | `Ember.computed.equal` | -| `import { filter } from "@ember/object/computed"` | `Ember.computed.filter` | -| `import { filterBy } from "@ember/object/computed"` | `Ember.computed.filterBy` | -| `import { filterProperty } from "@ember/object/computed"` | `Ember.computed.filterProperty` | -| `import { gt } from "@ember/object/computed"` | `Ember.computed.gt` | -| `import { gte } from "@ember/object/computed"` | `Ember.computed.gte` | -| `import { intersect } from "@ember/object/computed"` | `Ember.computed.intersect` | -| `import { lt } from "@ember/object/computed"` | `Ember.computed.lt` | -| `import { lte } from "@ember/object/computed"` | `Ember.computed.lte` | -| `import { map } from "@ember/object/computed"` | `Ember.computed.map` | -| `import { mapBy } from "@ember/object/computed"` | `Ember.computed.mapBy` | -| `import { mapProperty } from "@ember/object/computed"` | `Ember.computed.mapProperty` | -| `import { match } from "@ember/object/computed"` | `Ember.computed.match` | -| `import { max } from "@ember/object/computed"` | `Ember.computed.max` | -| `import { min } from "@ember/object/computed"` | `Ember.computed.min` | -| `import { none } from "@ember/object/computed"` | `Ember.computed.none` | -| `import { not } from "@ember/object/computed"` | `Ember.computed.not` | -| `import { notEmpty } from "@ember/object/computed"` | `Ember.computed.notEmpty` | -| `import { oneWay } from "@ember/object/computed"` | `Ember.computed.oneWay` | -| `import { or } from "@ember/object/computed"` | `Ember.computed.or` | -| `import { readOnly } from "@ember/object/computed"` | `Ember.computed.readOnly` | -| `import { reads } from "@ember/object/computed"` | `Ember.computed.reads` | -| `import { setDiff } from "@ember/object/computed"` | `Ember.computed.setDiff` | -| `import { sort } from "@ember/object/computed"` | `Ember.computed.sort` | -| `import { sum } from "@ember/object/computed"` | `Ember.computed.sum` | -| `import { union } from "@ember/object/computed"` | `Ember.computed.union` | -| `import { uniq } from "@ember/object/computed"` | `Ember.computed.uniq` | -| `import { uniqBy } from "@ember/object/computed"` | `Ember.computed.uniqBy` | -| `import Evented from "@ember/object/evented"` | `Ember.Evented` | -| `import { on } from "@ember/object/evented"` | `Ember.on` | -| `import { addListener } from "@ember/object/events"` | `Ember.addListener` | -| `import { removeListener } from "@ember/object/events"` | `Ember.removeListener` | -| `import { sendEvent } from "@ember/object/events"` | `Ember.sendEvent` | -| `import { cacheFor } from "@ember/object/internals"` | `Ember.cacheFor` | -| `import { copy } from "@ember/object/internals"` | `Ember.copy` | -| `import { guidFor } from "@ember/object/internals"` | `Ember.guidFor` | -| `import Mixin from "@ember/object/mixin"` | `Ember.Mixin` | -| `import { addObserver } from "@ember/object/observers"` | `Ember.addObserver` | -| `import { removeObserver } from "@ember/object/observers"` | `Ember.removeObserver` | +| Module | Global | +| --- | --- | +| `import EmberObject from "@ember/object"` | `Ember.Object` | +| `import { aliasMethod } from "@ember/object"` | `Ember.aliasMethod` | +| `import { computed } from "@ember/object"` | `Ember.computed` | +| `import { defineProperty } from "@ember/object"` | `Ember.defineProperty` | +| `import { get } from "@ember/object"` | `Ember.get` | +| `import { getProperties } from "@ember/object"` | `Ember.getProperties` | +| `import { getWithDefault } from "@ember/object"` | `Ember.getWithDefault` | +| `import { observer } from "@ember/object"` | `Ember.observer` | +| `import { set } from "@ember/object"` | `Ember.set` | +| `import { setProperties } from "@ember/object"` | `Ember.setProperties` | +| `import { trySet } from "@ember/object"` | `Ember.trySet` | +| `import ComputedProperty from "@ember/object/computed"` | `Ember.ComputedProperty` | +| `import { alias } from "@ember/object/computed"` | `Ember.computed.alias` | +| `import { and } from "@ember/object/computed"` | `Ember.computed.and` | +| `import { bool } from "@ember/object/computed"` | `Ember.computed.bool` | +| `import { collect } from "@ember/object/computed"` | `Ember.computed.collect` | +| `import { deprecatingAlias } from "@ember/object/computed"` | `Ember.computed.deprecatingAlias` | +| `import { empty } from "@ember/object/computed"` | `Ember.computed.empty` | +| `import { equal } from "@ember/object/computed"` | `Ember.computed.equal` | +| `import { filter } from "@ember/object/computed"` | `Ember.computed.filter` | +| `import { filterBy } from "@ember/object/computed"` | `Ember.computed.filterBy` | +| `import { filterProperty } from "@ember/object/computed"` | `Ember.computed.filterProperty` | +| `import { gt } from "@ember/object/computed"` | `Ember.computed.gt` | +| `import { gte } from "@ember/object/computed"` | `Ember.computed.gte` | +| `import { intersect } from "@ember/object/computed"` | `Ember.computed.intersect` | +| `import { lt } from "@ember/object/computed"` | `Ember.computed.lt` | +| `import { lte } from "@ember/object/computed"` | `Ember.computed.lte` | +| `import { map } from "@ember/object/computed"` | `Ember.computed.map` | +| `import { mapBy } from "@ember/object/computed"` | `Ember.computed.mapBy` | +| `import { mapProperty } from "@ember/object/computed"` | `Ember.computed.mapProperty` | +| `import { match } from "@ember/object/computed"` | `Ember.computed.match` | +| `import { max } from "@ember/object/computed"` | `Ember.computed.max` | +| `import { min } from "@ember/object/computed"` | `Ember.computed.min` | +| `import { none } from "@ember/object/computed"` | `Ember.computed.none` | +| `import { not } from "@ember/object/computed"` | `Ember.computed.not` | +| `import { notEmpty } from "@ember/object/computed"` | `Ember.computed.notEmpty` | +| `import { oneWay } from "@ember/object/computed"` | `Ember.computed.oneWay` | +| `import { or } from "@ember/object/computed"` | `Ember.computed.or` | +| `import { readOnly } from "@ember/object/computed"` | `Ember.computed.readOnly` | +| `import { reads } from "@ember/object/computed"` | `Ember.computed.reads` | +| `import { setDiff } from "@ember/object/computed"` | `Ember.computed.setDiff` | +| `import { sort } from "@ember/object/computed"` | `Ember.computed.sort` | +| `import { sum } from "@ember/object/computed"` | `Ember.computed.sum` | +| `import { union } from "@ember/object/computed"` | `Ember.computed.union` | +| `import { uniq } from "@ember/object/computed"` | `Ember.computed.uniq` | +| `import { uniqBy } from "@ember/object/computed"` | `Ember.computed.uniqBy` | +| `import CoreObject from "@ember/object/core"` | `Ember.CoreObject` | +| `import Evented from "@ember/object/evented"` | `Ember.Evented` | +| `import { on } from "@ember/object/evented"` | `Ember.on` | +| `import { addListener } from "@ember/object/events"` | `Ember.addListener` | +| `import { removeListener } from "@ember/object/events"` | `Ember.removeListener` | +| `import { sendEvent } from "@ember/object/events"` | `Ember.sendEvent` | +| `import { cacheFor } from "@ember/object/internals"` | `Ember.cacheFor` | +| `import { copy } from "@ember/object/internals"` | `Ember.copy` | +| `import { guidFor } from "@ember/object/internals"` | `Ember.guidFor` | +| `import Mixin from "@ember/object/mixin"` | `Ember.Mixin` | +| `import Observable from "@ember/object/observable"` | `Ember.Observable` | +| `import { addObserver } from "@ember/object/observers"` | `Ember.addObserver` | +| `import { removeObserver } from "@ember/object/observers"` | `Ember.removeObserver` | +| `import PromiseProxyMixin from "@ember/object/promise-proxy-mixin"` | `Ember.PromiseProxyMixin` | +| `import ObjectProxy from "@ember/object/proxy"` | `Ember.ObjectProxy` | #### `@ember/polyfills` | Module | Global | @@ -345,6 +382,11 @@ JSON data for [RFC #176](https://github.com/emberjs/rfcs/blob/master/text/0176-j | `import { underscore } from "@ember/string"` | `Ember.String.underscore` | | `import { w } from "@ember/string"` | `Ember.String.w` | +#### `@ember/test` +| Module | Global | +| --- | --- | +| `import Test.Adapter from "@ember/test/adapter"` | `Ember.Test.Adapter` | + #### `@ember/utils` | Module | Global | | --- | --- | diff --git a/globals.json b/globals.json index 9a5a0fd..4000c4d 100644 --- a/globals.json +++ b/globals.json @@ -1,5 +1,10 @@ { "Application": ["@ember/application"], + "ApplicationInstance": ["@ember/application/instance"], + "Engine": ["@ember/engine"], + "EngineInstance": ["@ember/engine/instance"], + "getEngineParent": ["@ember/engine", "getEngineParent"], + "Error": ["@ember/error"], "onLoad": ["@ember/application", "onLoad"], "runLoadHooks": ["@ember/application", "runLoadHooks"], "deprecate": ["@ember/application/deprecations", "deprecate"], @@ -14,13 +19,17 @@ "makeArray": ["@ember/array", "makeArray"], "MutableArray": ["@ember/array/mutable"], "ArrayProxy": ["@ember/array/proxy"], + "CoreObject": ["@ember/object/core"], "Object": ["@ember/object"], + "defineProperty": ["@ember/object", "defineProperty"], "get": ["@ember/object", "get"], "set": ["@ember/object", "set"], "getProperties": ["@ember/object", "getProperties"], "setProperties": ["@ember/object", "setProperties"], + "getWithDefault": ["@ember/object", "getWithDefault"], "observer": ["@ember/object", "observer"], "computed": ["@ember/object", "computed"], + "ComputedProperty": ["@ember/object/computed"], "trySet": ["@ember/object", "trySet"], "aliasMethod": ["@ember/object", "aliasMethod"], "computed.empty": ["@ember/object/computed", "empty"], @@ -63,8 +72,11 @@ "removeListener": ["@ember/object/events", "removeListener"], "sendEvent": ["@ember/object/events", "sendEvent"], "Mixin": ["@ember/object/mixin"], + "ObjectProxy": ["@ember/object/proxy"], + "PromiseProxyMixin": ["@ember/object/promise-proxy-mixin"], "addObserver": ["@ember/object/observers", "addObserver"], "removeObserver": ["@ember/object/observers", "removeObserver"], + "Observable": ["@ember/object/observable"], "copy": ["@ember/object/internals", "copy"], "guidFor": ["@ember/object/internals", "guidFor"], "cacheFor": ["@ember/object/internals", "cacheFor"], @@ -77,6 +89,8 @@ "runInDebug": ["@ember/debug", "runInDebug"], "warn": ["@ember/debug", "warn"], "assert": ["@ember/debug", "assert"], + "Debug.registerDeprecationHandler": ["@ember/debug", "registerDeprecationHandler"], + "Debug.registerWarnHandler": ["@ember/debug", "registerWarnHandler"], "ContainerDebugAdapter": ["@ember/debug/container-debug-adapter"], "DataAdapter": ["@ember/debug/data-adapter"], "Resolver": ["@ember/application/resolver"], @@ -129,6 +143,7 @@ "String.loc": ["@ember/string", "loc"], "String.underscore": ["@ember/string", "underscore"], "String.w": ["@ember/string", "w"], + "Test.Adapter": ["@ember/test/adapter"], "isBlank": ["@ember/utils", "isBlank"], "isEmpty": ["@ember/utils", "isEmpty"], "isEqual": ["@ember/utils", "isEqual"], diff --git a/old-shims.json b/old-shims.json index 6a9963c..17d01b3 100644 --- a/old-shims.json +++ b/old-shims.json @@ -229,7 +229,7 @@ "default": null }, "ember-test/adapter": { - "default": null + "default": ["@ember/test/adapter"] }, "ember-test/qunit-adapter": { "default": null