From 1d4f9d17d4e05a82313410ea07f9f078da540395 Mon Sep 17 00:00:00 2001 From: Matthew Beale Date: Sun, 18 Jul 2021 17:09:43 -0400 Subject: [PATCH] Remove meta-destruction-apis --- packages/@ember/-internals/meta/lib/meta.ts | 66 --------------------- 1 file changed, 66 deletions(-) diff --git a/packages/@ember/-internals/meta/lib/meta.ts b/packages/@ember/-internals/meta/lib/meta.ts index 0c97fda893f..63ef0a65efd 100644 --- a/packages/@ember/-internals/meta/lib/meta.ts +++ b/packages/@ember/-internals/meta/lib/meta.ts @@ -133,72 +133,6 @@ export class Meta { return parent; } - // These methods are here to prevent errors in legacy compat with some addons - // that used them as intimate API - setSourceDestroying() { - deprecate( - 'setSourceDestroying is deprecated, use the destroy() API to destroy the object directly instead', - false, - { - id: 'meta-destruction-apis', - until: '3.25.0', - for: 'ember-source', - since: { - enabled: '3.21.0', - }, - } - ); - } - - setSourceDestroyed() { - deprecate( - 'setSourceDestroyed is deprecated, use the destroy() API to destroy the object directly instead', - false, - { - id: 'meta-destruction-apis', - until: '3.25.0', - for: 'ember-source', - since: { - enabled: '3.21.0', - }, - } - ); - } - - isSourceDestroying() { - deprecate( - 'isSourceDestroying is deprecated, use the isDestroying() API to check the object destruction state directly instead', - false, - { - id: 'meta-destruction-apis', - until: '3.25.0', - for: 'ember-source', - since: { - enabled: '3.21.0', - }, - } - ); - - return isDestroying(this.source); - } - - isSourceDestroyed() { - deprecate( - 'isSourceDestroyed is deprecated, use the isDestroyed() API to check the object destruction state directly instead', - false, - { - id: 'meta-destruction-apis', - until: '3.25.0', - for: 'ember-source', - since: { - enabled: '3.21.0', - }, - } - ); - - return isDestroyed(this.source); - } - setInitializing() { this._isInit = true; }