Skip to content

Commit

Permalink
disable deprecation for htmlSafe and isHTMLSafe
Browse files Browse the repository at this point in the history
  • Loading branch information
locks committed Feb 11, 2021
1 parent c180944 commit 4ee3d4c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/ember/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ if (EMBER_MODERNIZED_BUILT_IN_COMPONENTS) {
`Using Ember.${name} or importing from '${path}' has been deprecated, install the ` +
`\`ember-legacy-built-in-components\` addon and use \`import { ${name} } from ` +
`'ember-legacy-built-in-components';\` instead`,
false,
true,
{
id: 'ember.legacy-built-in-components',
until: '4.0.0',
Expand Down Expand Up @@ -661,7 +661,9 @@ const deprecateImportFromString = function (
name,
message = `Importing ${name} from '@ember/string' is deprecated. Please import ${name} from '@ember/template' instead.`
) {
deprecate(message, false, {
// Disabling this deprecation due to unintended errors in 3.25
// See https://github.com/emberjs/ember.js/issues/19393 fo more information.
deprecate(message, true, {
id: 'ember-string.htmlsafe-ishtmlsafe',
for: 'ember-source',
since: {
Expand Down

0 comments on commit 4ee3d4c

Please sign in to comment.