Address the copy/copyable deprecation
This commit is contained in:
parent
96ef93ca5f
commit
b6b2fd2114
|
@ -2,7 +2,8 @@ import Component from '@ember/component';
|
|||
import { computed, observer, set } from '@ember/object';
|
||||
import { run } from '@ember/runloop';
|
||||
import { assign } from '@ember/polyfills';
|
||||
import { guidFor, copy } from '@ember/object/internals';
|
||||
import { guidFor } from '@ember/object/internals';
|
||||
import { copy } from 'ember-copy';
|
||||
import d3 from 'd3-selection';
|
||||
import 'd3-transition';
|
||||
import WindowResizable from '../mixins/window-resizable';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { copy } from '@ember/object/internals';
|
||||
import { copy } from 'ember-copy';
|
||||
import { get } from '@ember/object';
|
||||
import { makeArray } from '@ember/array';
|
||||
import JSONSerializer from 'ember-data/serializers/json';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { copy } from '@ember/object/internals';
|
||||
import { copy } from 'ember-copy';
|
||||
import ApplicationSerializer from './application';
|
||||
|
||||
export default ApplicationSerializer.extend({
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { copy } from '@ember/object/internals';
|
||||
import { copy } from 'ember-copy';
|
||||
import ApplicationSerializer from './application';
|
||||
|
||||
export default ApplicationSerializer.extend({
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { readOnly } from '@ember/object/computed';
|
||||
import { copy } from '@ember/object/internals';
|
||||
import { copy } from 'ember-copy';
|
||||
import Service from '@ember/service';
|
||||
|
||||
let list = {};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { copy } from '@ember/object/internals';
|
||||
import { copy } from 'ember-copy';
|
||||
|
||||
// Used with fetch.
|
||||
// Fetch only goes into the promise catch if there is a network error.
|
||||
|
|
|
@ -3,7 +3,7 @@ self.deprecationWorkflow = self.deprecationWorkflow || {};
|
|||
self.deprecationWorkflow.config = {
|
||||
workflow: [
|
||||
{ handler: 'throw', matchId: 'ember-inflector.globals' },
|
||||
{ handler: 'silence', matchId: 'ember-runtime.deprecate-copy-copyable' },
|
||||
{ handler: 'throw', matchId: 'ember-runtime.deprecate-copy-copyable' },
|
||||
{ handler: 'silence', matchId: 'ember-console.deprecate-logger' },
|
||||
{ handler: 'silence', matchId: 'ember-component.send-action' },
|
||||
],
|
||||
|
|
|
@ -4,8 +4,7 @@ import { HOSTS } from './common';
|
|||
import { logFrames, logEncode } from './data/logs';
|
||||
import { generateDiff } from './factories/job-version';
|
||||
import { generateTaskGroupFailures } from './factories/evaluation';
|
||||
|
||||
const { copy } = Ember;
|
||||
import { copy } from 'ember-copy';
|
||||
|
||||
export function findLeader(schema) {
|
||||
const agent = schema.agents.first();
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
"ember-cli-uglify": "^2.1.0",
|
||||
"ember-composable-helpers": "^2.0.3",
|
||||
"ember-concurrency": "^0.8.12",
|
||||
"ember-copy": "^1.0.0",
|
||||
"ember-data": "~3.4.0",
|
||||
"ember-data-model-fragments": "3.3.0",
|
||||
"ember-export-application-global": "^2.0.0",
|
||||
|
|
|
@ -4950,7 +4950,7 @@ ember-concurrency@^0.8.26:
|
|||
ember-cli-babel "^6.8.2"
|
||||
ember-maybe-import-regenerator "^0.1.5"
|
||||
|
||||
ember-copy@1.0.0:
|
||||
ember-copy@1.0.0, ember-copy@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/ember-copy/-/ember-copy-1.0.0.tgz#426554ba6cf65920f31d24d0a3ca2cb1be16e4aa"
|
||||
integrity sha512-aiZNAvOmdemHdvZNn0b5b/0d9g3JFpcOsrDgfhYEbfd7SzE0b69YiaVK2y3wjqfjuuiA54vOllGN4pjSzECNSw==
|
||||
|
|
Loading…
Reference in a new issue