ember-source 6.6.0-alpha.6 → 6.6.0
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/ember-template-compiler.js +2 -2
- package/dist/ember-template-compiler.js.map +1 -1
- package/dist/ember-testing.js +1 -1
- package/dist/ember.debug.js +10 -53
- package/dist/ember.debug.js.map +1 -1
- package/dist/ember.prod.js +10 -53
- package/dist/ember.prod.js.map +1 -1
- package/dist/packages/@ember/-internals/glimmer/index.js +2 -2
- package/dist/packages/@ember/application/index.js +2 -2
- package/dist/packages/@ember/application/instance.js +1 -1
- package/dist/packages/@ember/component/helper.js +1 -1
- package/dist/packages/@ember/component/index.js +1 -1
- package/dist/packages/@ember/engine/index.js +2 -2
- package/dist/packages/@ember/helper/index.js +1 -1
- package/dist/packages/@ember/modifier/index.js +1 -1
- package/dist/packages/@ember/renderer/index.js +1 -1
- package/dist/packages/@ember/routing/index.js +1 -1
- package/dist/packages/@ember/template/index.js +1 -1
- package/dist/packages/@ember/template-compiler/lib/template.js +3 -5
- package/dist/packages/ember/barrel.js +2 -4
- package/dist/packages/ember/version.js +1 -1
- package/dist/packages/ember-testing/lib/initializers.js +1 -1
- package/dist/packages/shared-chunks/{index-YU6dOE3v.js → index-BCp6wOJU.js} +8 -48
- package/dist/packages/shared-chunks/{setup-registry-CD3BNZix.js → setup-registry-D07VAwbJ.js} +1 -1
- package/docs/data.json +5 -5
- package/package.json +3 -6
- package/types/stable/@ember/-internals/glimmer/index.d.ts +1 -1
- package/types/stable/@ember/-internals/glimmer/lib/utils/string.d.ts +1 -2
- package/types/stable/ember/barrel.d.ts +2 -4
- package/types/stable/ember/index.d.ts +2 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { templateFactory as template, templateCacheCounters } from '../../../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
export { C as Component, H as Helper, I as Input, L as LinkTo, O as OutletView, b as Renderer, R as RootTemplate, S as SafeString, T as Textarea, _ as _resetRenderers,
|
|
2
|
+
export { C as Component, H as Helper, I as Input, L as LinkTo, O as OutletView, b as Renderer, R as RootTemplate, S as SafeString, T as Textarea, _ as _resetRenderers, h as helper, a as htmlSafe, i as isHTMLSafe, r as renderSettled, u as uniqueId } from '../../../shared-chunks/index-BCp6wOJU.js';
|
|
3
3
|
export { g as getTemplate, a as getTemplates, h as hasTemplate, s as setTemplate, b as setTemplates } from '../../../shared-chunks/template_registry-DigcUg9m.js';
|
|
4
|
-
export { a as setupApplicationRegistry, s as setupEngineRegistry } from '../../../shared-chunks/setup-registry-
|
|
4
|
+
export { a as setupApplicationRegistry, s as setupEngineRegistry } from '../../../shared-chunks/setup-registry-D07VAwbJ.js';
|
|
5
5
|
export { DOMChanges, DOMTreeConstruction, isSerializationFirstNode } from '../../../@glimmer/runtime/index.js';
|
|
6
6
|
export { NodeDOMTreeConstruction } from '../../../@glimmer/node/index.js';
|
|
7
7
|
export { s as setComponentManager } from '../../../shared-chunks/managers-CbMgnSoo.js';
|
|
@@ -47,8 +47,8 @@ import ApplicationInstance from './instance.js';
|
|
|
47
47
|
import Engine, { buildInitializerMethod } from '../engine/index.js';
|
|
48
48
|
import { p as privatize } from '../../shared-chunks/registry-BJpQx6hv.js';
|
|
49
49
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
50
|
-
import '../../shared-chunks/index-
|
|
51
|
-
import { a as setupApplicationRegistry } from '../../shared-chunks/setup-registry-
|
|
50
|
+
import '../../shared-chunks/index-BCp6wOJU.js';
|
|
51
|
+
import { a as setupApplicationRegistry } from '../../shared-chunks/setup-registry-D07VAwbJ.js';
|
|
52
52
|
import '../../@glimmer/runtime/index.js';
|
|
53
53
|
import '../../@glimmer/reference/index.js';
|
|
54
54
|
import RouterService from '../routing/router-service.js';
|
|
@@ -2,7 +2,7 @@ import '../object/index.js';
|
|
|
2
2
|
import { h as hasDOM, e as environment } from '../../shared-chunks/index-BGP1rw3B.js';
|
|
3
3
|
import EngineInstance from '../engine/instance.js';
|
|
4
4
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
5
|
-
import { r as renderSettled } from '../../shared-chunks/index-
|
|
5
|
+
import { r as renderSettled } from '../../shared-chunks/index-BCp6wOJU.js';
|
|
6
6
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
7
7
|
import '../debug/index.js';
|
|
8
8
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
export { H as default, h as helper } from '../../shared-chunks/index-
|
|
2
|
+
export { H as default, h as helper } from '../../shared-chunks/index-BCp6wOJU.js';
|
|
3
3
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
4
4
|
import '../debug/index.js';
|
|
5
5
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { componentCapabilities as capabilities, getComponentTemplate, setComponentTemplate } from '../../@glimmer/manager/index.js';
|
|
2
2
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
3
|
-
export { I as Input, T as Textarea, C as default } from '../../shared-chunks/index-
|
|
3
|
+
export { I as Input, T as Textarea, C as default } from '../../shared-chunks/index-BCp6wOJU.js';
|
|
4
4
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
5
5
|
import '../debug/index.js';
|
|
6
6
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -30,8 +30,8 @@ import '../-internals/views/lib/mixins/view_state_support.js';
|
|
|
30
30
|
import '../-internals/views/lib/mixins/view_support.js';
|
|
31
31
|
import '../-internals/views/lib/mixins/action_support.js';
|
|
32
32
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
33
|
-
import '../../shared-chunks/index-
|
|
34
|
-
import { s as setupEngineRegistry } from '../../shared-chunks/setup-registry-
|
|
33
|
+
import '../../shared-chunks/index-BCp6wOJU.js';
|
|
34
|
+
import { s as setupEngineRegistry } from '../../shared-chunks/setup-registry-D07VAwbJ.js';
|
|
35
35
|
import '../../@glimmer/runtime/index.js';
|
|
36
36
|
import '../runloop/index.js';
|
|
37
37
|
import '../../@glimmer/reference/index.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { helperCapabilities, setHelperManager as setHelperManager$1 } from '../../@glimmer/manager/index.js';
|
|
2
2
|
import { invokeHelper as invokeHelper$1, hash as hash$1, array as array$1, concat as concat$1, get as get$1, fn as fn$1 } from '../../@glimmer/runtime/index.js';
|
|
3
3
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
4
|
-
import { u as uniqueId$1 } from '../../shared-chunks/index-
|
|
4
|
+
import { u as uniqueId$1 } from '../../shared-chunks/index-BCp6wOJU.js';
|
|
5
5
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
6
6
|
import '../debug/index.js';
|
|
7
7
|
import '../runloop/index.js';
|
|
@@ -2,7 +2,7 @@ import { setModifierManager as setModifierManager$1 } from '../../@glimmer/manag
|
|
|
2
2
|
export { modifierCapabilities as capabilities } from '../../@glimmer/manager/index.js';
|
|
3
3
|
export { on } from './on.js';
|
|
4
4
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
5
|
-
import '../../shared-chunks/index-
|
|
5
|
+
import '../../shared-chunks/index-BCp6wOJU.js';
|
|
6
6
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
7
7
|
import '../debug/index.js';
|
|
8
8
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
export { r as renderSettled } from '../../shared-chunks/index-
|
|
2
|
+
export { r as renderSettled } from '../../shared-chunks/index-BCp6wOJU.js';
|
|
3
3
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
4
4
|
import '../debug/index.js';
|
|
5
5
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
export { L as LinkTo } from '../../shared-chunks/index-
|
|
2
|
+
export { L as LinkTo } from '../../shared-chunks/index-BCp6wOJU.js';
|
|
3
3
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
4
4
|
import '../debug/index.js';
|
|
5
5
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
2
|
-
export { a as htmlSafe, i as isHTMLSafe } from '../../shared-chunks/index-
|
|
2
|
+
export { a as htmlSafe, i as isHTMLSafe } from '../../shared-chunks/index-BCp6wOJU.js';
|
|
3
3
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
4
4
|
import '../debug/index.js';
|
|
5
5
|
import '../../@glimmer/runtime/index.js';
|
|
@@ -2110,11 +2110,9 @@ function template(templateString, providedOptions) {
|
|
|
2110
2110
|
const evaluate = buildEvaluator(options);
|
|
2111
2111
|
const normalizedOptions = compileOptions(options);
|
|
2112
2112
|
const component = normalizedOptions.component ?? templateOnly();
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
setComponentTemplate(template, component);
|
|
2117
|
-
});
|
|
2113
|
+
const source = precompile(templateString, normalizedOptions);
|
|
2114
|
+
const template = templateFactory(evaluate(`(${source})`));
|
|
2115
|
+
setComponentTemplate(template, component);
|
|
2118
2116
|
return component;
|
|
2119
2117
|
}
|
|
2120
2118
|
const evaluator = source => {
|
|
@@ -39,7 +39,7 @@ import MutableEnumerable from '../@ember/enumerable/mutable.js';
|
|
|
39
39
|
import '../@ember/-internals/runtime/lib/mixins/target_action_support.js';
|
|
40
40
|
import '../@ember/-internals/runtime/lib/ext/rsvp.js';
|
|
41
41
|
import { templateFactory } from '../@glimmer/opcode-compiler/index.js';
|
|
42
|
-
import { I as Input, C as Component, H as Helper
|
|
42
|
+
import { I as Input, C as Component, H as Helper } from '../shared-chunks/index-BCp6wOJU.js';
|
|
43
43
|
import { b as setTemplates, a as getTemplates } from '../shared-chunks/template_registry-DigcUg9m.js';
|
|
44
44
|
import { isSerializationFirstNode, templateOnlyComponent, invokeHelper, hash, array, concat, get as get$1, on as on$1, fn } from '../@glimmer/runtime/index.js';
|
|
45
45
|
import { run } from '../@ember/runloop/index.js';
|
|
@@ -437,9 +437,7 @@ Object.defineProperty(Ember, 'testing', {
|
|
|
437
437
|
runLoadHooks('Ember.Application', Application);
|
|
438
438
|
let EmberHandlebars = {
|
|
439
439
|
template: templateFactory,
|
|
440
|
-
Utils: {
|
|
441
|
-
escapeExpression
|
|
442
|
-
}
|
|
440
|
+
Utils: {}
|
|
443
441
|
};
|
|
444
442
|
let EmberHTMLBars = {
|
|
445
443
|
template: templateFactory
|
|
@@ -36,7 +36,7 @@ import '../../shared-chunks/unrecognized-url-error-Csk7hcJF.js';
|
|
|
36
36
|
import '../../@ember/routing/lib/routing-service.js';
|
|
37
37
|
import '../../@ember/controller/index.js';
|
|
38
38
|
import '../../@glimmer/opcode-compiler/index.js';
|
|
39
|
-
import '../../shared-chunks/index-
|
|
39
|
+
import '../../shared-chunks/index-BCp6wOJU.js';
|
|
40
40
|
import '../../shared-chunks/registry-BJpQx6hv.js';
|
|
41
41
|
import '../../@glimmer/runtime/index.js';
|
|
42
42
|
import '../../@glimmer/reference/index.js';
|
|
@@ -3082,52 +3082,6 @@ class SafeString {
|
|
|
3082
3082
|
return this.toString();
|
|
3083
3083
|
}
|
|
3084
3084
|
}
|
|
3085
|
-
const escape = {
|
|
3086
|
-
'&': '&',
|
|
3087
|
-
'<': '<',
|
|
3088
|
-
'>': '>',
|
|
3089
|
-
'"': '"',
|
|
3090
|
-
"'": ''',
|
|
3091
|
-
'`': '`',
|
|
3092
|
-
'=': '='
|
|
3093
|
-
};
|
|
3094
|
-
const possible = /[&<>"'`=]/;
|
|
3095
|
-
const badChars = /[&<>"'`=]/g;
|
|
3096
|
-
function escapeChar(chr) {
|
|
3097
|
-
return escape[chr];
|
|
3098
|
-
}
|
|
3099
|
-
function escapeExpression(string) {
|
|
3100
|
-
let s;
|
|
3101
|
-
if (typeof string !== 'string') {
|
|
3102
|
-
// don't escape SafeStrings, since they're already safe
|
|
3103
|
-
if (isHTMLSafe(string)) {
|
|
3104
|
-
return string.toHTML();
|
|
3105
|
-
} else if (string === null || string === undefined) {
|
|
3106
|
-
return '';
|
|
3107
|
-
} else if (!string) {
|
|
3108
|
-
return String(string);
|
|
3109
|
-
}
|
|
3110
|
-
|
|
3111
|
-
// Force a string conversion as this will be done by the append regardless and
|
|
3112
|
-
// the regex test will do this transparently behind the scenes, causing issues if
|
|
3113
|
-
// an object's to string has escaped characters in it.
|
|
3114
|
-
s = String(string);
|
|
3115
|
-
} else {
|
|
3116
|
-
s = string;
|
|
3117
|
-
}
|
|
3118
|
-
if (!possible.test(s)) {
|
|
3119
|
-
return s;
|
|
3120
|
-
}
|
|
3121
|
-
|
|
3122
|
-
// SAFETY: this is technically a lie, but it's a true lie as long as the
|
|
3123
|
-
// invariant it depends on is upheld: `escapeChar` will always return a string
|
|
3124
|
-
// as long as its input is one of the characters in `escape`, and it will only
|
|
3125
|
-
// be called if it matches one of the characters in the `badChar` regex, which
|
|
3126
|
-
// is hand-maintained to match the set escaped. (It would be nice if TS could
|
|
3127
|
-
// "see" into the regex to see how this works, but that'd be quite a lot of
|
|
3128
|
-
// extra fanciness.)
|
|
3129
|
-
return s.replace(badChars, escapeChar);
|
|
3130
|
-
}
|
|
3131
3085
|
|
|
3132
3086
|
/**
|
|
3133
3087
|
Use this method to indicate that a string should be rendered as HTML
|
|
@@ -3187,7 +3141,13 @@ function htmlSafe(str) {
|
|
|
3187
3141
|
@public
|
|
3188
3142
|
*/
|
|
3189
3143
|
function isHTMLSafe(str) {
|
|
3190
|
-
return
|
|
3144
|
+
return (
|
|
3145
|
+
// SAFETY: cast `as SafeString` only present to make this check "legal"; we
|
|
3146
|
+
// can further improve this by changing the behavior to do an `in` check
|
|
3147
|
+
// instead, but that's worth landing as a separate change for bisecting if
|
|
3148
|
+
// it happens to have an impact on e.g. perf.
|
|
3149
|
+
str !== null && typeof str === 'object' && typeof str.toHTML === 'function'
|
|
3150
|
+
);
|
|
3191
3151
|
}
|
|
3192
3152
|
|
|
3193
3153
|
function instrumentationPayload$1(def) {
|
|
@@ -5048,4 +5008,4 @@ const OutletTemplate = templateFactory(
|
|
|
5048
5008
|
"isStrictMode": true
|
|
5049
5009
|
});
|
|
5050
5010
|
|
|
5051
|
-
export { Component as C, Helper as H, Input as I, LinkTo as L, OutletView as O, RootTemplate as R, SafeString as S, Textarea as T, _resetRenderers as _, htmlSafe as a, Renderer as b, OutletTemplate as c,
|
|
5011
|
+
export { Component as C, Helper as H, Input as I, LinkTo as L, OutletView as O, RootTemplate as R, SafeString as S, Textarea as T, _resetRenderers as _, htmlSafe as a, Renderer as b, OutletTemplate as c, helper$1 as h, isHTMLSafe as i, renderSettled as r, uniqueId$1 as u };
|
package/dist/packages/shared-chunks/{setup-registry-CD3BNZix.js → setup-registry-D07VAwbJ.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as privatize } from './registry-BJpQx6hv.js';
|
|
2
2
|
import { getOwner } from '../@ember/-internals/owner/index.js';
|
|
3
3
|
import '../@ember/debug/index.js';
|
|
4
|
-
import { O as OutletView, c as OutletTemplate, I as Input, L as LinkTo, T as Textarea, R as RootTemplate, b as Renderer } from './index-
|
|
4
|
+
import { O as OutletView, c as OutletTemplate, I as Input, L as LinkTo, T as Textarea, R as RootTemplate, b as Renderer } from './index-BCp6wOJU.js';
|
|
5
5
|
import { clientBuilder, rehydrationBuilder } from '../@glimmer/runtime/index.js';
|
|
6
6
|
import { serializeBuilder } from '../@glimmer/node/index.js';
|
|
7
7
|
import { isDevelopingApp } from '@embroider/macros';
|
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": "6.6.0
|
|
6
|
+
"version": "6.6.0"
|
|
7
7
|
},
|
|
8
8
|
"files": {
|
|
9
9
|
"node_modules/rsvp/lib/rsvp/promise/all.js": {
|
|
@@ -6409,7 +6409,7 @@
|
|
|
6409
6409
|
},
|
|
6410
6410
|
{
|
|
6411
6411
|
"file": "packages/@ember/-internals/glimmer/lib/utils/string.ts",
|
|
6412
|
-
"line":
|
|
6412
|
+
"line": 70,
|
|
6413
6413
|
"description": "Use this method to indicate that a string should be rendered as HTML\nwhen the string is used in a template. To say this another way,\nstrings marked with `htmlSafe` will not be HTML escaped.\n\nA word of warning - The `htmlSafe` method does not make the string safe;\nit only tells the framework to treat the string as if it is safe to render\nas HTML. If a string contains user inputs or other untrusted\ndata, you must sanitize the string before using the `htmlSafe` method.\nOtherwise your code is vulnerable to\n[Cross-Site Scripting](https://owasp.org/www-community/attacks/DOM_Based_XSS).\nThere are many open source sanitization libraries to choose from,\nboth for front end and server-side sanitization.\n\n```javascript\nimport { htmlSafe } from '@ember/template';\n\nconst someTrustedOrSanitizedString = \"<div>Hello!</div>\"\n\nhtmlSafe(someTrustedorSanitizedString)\n```",
|
|
6414
6414
|
"itemtype": "method",
|
|
6415
6415
|
"name": "htmlSafe",
|
|
@@ -6432,7 +6432,7 @@
|
|
|
6432
6432
|
},
|
|
6433
6433
|
{
|
|
6434
6434
|
"file": "packages/@ember/-internals/glimmer/lib/utils/string.ts",
|
|
6435
|
-
"line":
|
|
6435
|
+
"line": 108,
|
|
6436
6436
|
"description": "Detects if a string was decorated using `htmlSafe`.\n\n```javascript\nimport { htmlSafe, isHTMLSafe } from '@ember/template';\n\nlet plainString = 'plain string';\nlet safeString = htmlSafe('<div>someValue</div>');\n\nisHTMLSafe(plainString); // false\nisHTMLSafe(safeString); // true\n```",
|
|
6437
6437
|
"itemtype": "method",
|
|
6438
6438
|
"name": "isHTMLSafe",
|
|
@@ -6788,7 +6788,7 @@
|
|
|
6788
6788
|
},
|
|
6789
6789
|
{
|
|
6790
6790
|
"file": "packages/@ember/-internals/glimmer/tests/integration/components/runtime-template-compiler-implicit-test.ts",
|
|
6791
|
-
"line":
|
|
6791
|
+
"line": 469,
|
|
6792
6792
|
"description": "This function is used to hide a variable from the transpiler, so that it\ndoesn't get removed as \"unused\". It does not actually do anything with the\nvariable, it just makes it be part of an expression that the transpiler\nwon't remove.\n\nIt's a bit of a hack, but it's necessary for testing.",
|
|
6793
6793
|
"params": [
|
|
6794
6794
|
{
|
|
@@ -19902,7 +19902,7 @@
|
|
|
19902
19902
|
},
|
|
19903
19903
|
{
|
|
19904
19904
|
"message": "Missing item type\nThis function is used to hide a variable from the transpiler, so that it\ndoesn't get removed as \"unused\". It does not actually do anything with the\nvariable, it just makes it be part of an expression that the transpiler\nwon't remove.\n\nIt's a bit of a hack, but it's necessary for testing.",
|
|
19905
|
-
"line": " packages/@ember/-internals/glimmer/tests/integration/components/runtime-template-compiler-implicit-test.ts:
|
|
19905
|
+
"line": " packages/@ember/-internals/glimmer/tests/integration/components/runtime-template-compiler-implicit-test.ts:469"
|
|
19906
19906
|
},
|
|
19907
19907
|
{
|
|
19908
19908
|
"message": "Missing item type\nThe template-compiler does not support strict mode at this time.\nprecompile from ember-template-compiler returns a string and\nnot a template-factory, so it doesn't help with strict-mode testing.\n\nWe also can't import from `@ember/template-compiler` because it\ndoesn't exist to this kind of test, otherwise we'd be able to use\nprecompileTemplate, which would be perfect :D\n\nCopied(ish) from https://github.com/NullVoxPopuli/ember-repl/blob/main/addon/hbs.ts#L51",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-source",
|
|
3
|
-
"version": "6.6.0
|
|
3
|
+
"version": "6.6.0",
|
|
4
4
|
"description": "A JavaScript framework for creating ambitious web applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -400,9 +400,6 @@
|
|
|
400
400
|
}
|
|
401
401
|
},
|
|
402
402
|
"packageManager": "pnpm@10.5.0",
|
|
403
|
-
"_originalVersion": "6.6.0
|
|
404
|
-
"_versionPreviouslyCalculated": true
|
|
405
|
-
"publishConfig": {
|
|
406
|
-
"tag": "alpha"
|
|
407
|
-
}
|
|
403
|
+
"_originalVersion": "6.6.0",
|
|
404
|
+
"_versionPreviouslyCalculated": true
|
|
408
405
|
}
|
|
@@ -444,7 +444,7 @@ declare module '@ember/-internals/glimmer' {
|
|
|
444
444
|
export { default as Textarea } from "@ember/-internals/glimmer/lib/components/textarea";
|
|
445
445
|
export { default as Component } from "@ember/-internals/glimmer/lib/component";
|
|
446
446
|
export { default as Helper, helper, type FunctionBasedHelper, type FunctionBasedHelperInstance, } from "@ember/-internals/glimmer/lib/helper";
|
|
447
|
-
export { SafeString,
|
|
447
|
+
export { SafeString, htmlSafe, isHTMLSafe } from "@ember/-internals/glimmer/lib/utils/string";
|
|
448
448
|
export { Renderer, _resetRenderers, renderSettled } from "@ember/-internals/glimmer/lib/renderer";
|
|
449
449
|
export { getTemplate, setTemplate, hasTemplate, getTemplates, setTemplates, type TemplatesRegistry, } from "@ember/-internals/glimmer/lib/template_registry";
|
|
450
450
|
export { setupEngineRegistry, setupApplicationRegistry } from "@ember/-internals/glimmer/lib/setup-registry";
|
|
@@ -37,7 +37,7 @@ declare module '@ember/-internals/glimmer/lib/utils/string' {
|
|
|
37
37
|
@public
|
|
38
38
|
*/
|
|
39
39
|
export class SafeString implements GlimmerSafeString {
|
|
40
|
-
private __string;
|
|
40
|
+
private readonly __string;
|
|
41
41
|
constructor(string: string);
|
|
42
42
|
/**
|
|
43
43
|
Get the string back to use as a string.
|
|
@@ -56,7 +56,6 @@ declare module '@ember/-internals/glimmer/lib/utils/string' {
|
|
|
56
56
|
*/
|
|
57
57
|
toHTML(): string;
|
|
58
58
|
}
|
|
59
|
-
export function escapeExpression(string: unknown): string;
|
|
60
59
|
/**
|
|
61
60
|
Use this method to indicate that a string should be rendered as HTML
|
|
62
61
|
when the string is used in a template. To say this another way,
|
|
@@ -15,7 +15,7 @@ declare module 'ember/barrel' {
|
|
|
15
15
|
import { dependentKeyCompat } from "@ember/object/compat";
|
|
16
16
|
import EmberComputedProperty from "@ember/object/computed";
|
|
17
17
|
import { RSVP as _RSVP, Comparable as InternalComparable, ActionHandler as InternalActionHandler } from "@ember/-internals/runtime";
|
|
18
|
-
import { componentCapabilities, modifierCapabilities, setComponentManager,
|
|
18
|
+
import { componentCapabilities, modifierCapabilities, setComponentManager, template, isSerializationFirstNode, type TemplatesRegistry } from "@ember/-internals/glimmer";
|
|
19
19
|
import * as views from "@ember/-internals/views";
|
|
20
20
|
import EmberContainerDebugAdapter from "@ember/debug/container-debug-adapter";
|
|
21
21
|
import EmberDataAdapter from "@ember/debug/data-adapter";
|
|
@@ -355,9 +355,7 @@ declare module 'ember/barrel' {
|
|
|
355
355
|
}
|
|
356
356
|
interface EmberHandlebars {
|
|
357
357
|
template: typeof template;
|
|
358
|
-
Utils: {
|
|
359
|
-
escapeExpression: typeof escapeExpression;
|
|
360
|
-
};
|
|
358
|
+
Utils: {};
|
|
361
359
|
compile?: typeof compile;
|
|
362
360
|
precompile?: typeof precompile;
|
|
363
361
|
}
|
|
@@ -15,7 +15,7 @@ declare module 'ember' {
|
|
|
15
15
|
import { dependentKeyCompat } from "@ember/object/compat";
|
|
16
16
|
import EmberComputedProperty from "@ember/object/computed";
|
|
17
17
|
import { RSVP as _RSVP, Comparable as InternalComparable, ActionHandler as InternalActionHandler } from "@ember/-internals/runtime";
|
|
18
|
-
import { componentCapabilities, modifierCapabilities, setComponentManager,
|
|
18
|
+
import { componentCapabilities, modifierCapabilities, setComponentManager, template, isSerializationFirstNode, type TemplatesRegistry } from "@ember/-internals/glimmer";
|
|
19
19
|
import * as views from "@ember/-internals/views";
|
|
20
20
|
import EmberContainerDebugAdapter from "@ember/debug/container-debug-adapter";
|
|
21
21
|
import EmberDataAdapter from "@ember/debug/data-adapter";
|
|
@@ -355,9 +355,7 @@ declare module 'ember' {
|
|
|
355
355
|
}
|
|
356
356
|
interface EmberHandlebars {
|
|
357
357
|
template: typeof template;
|
|
358
|
-
Utils: {
|
|
359
|
-
escapeExpression: typeof escapeExpression;
|
|
360
|
-
};
|
|
358
|
+
Utils: {};
|
|
361
359
|
compile?: typeof compile;
|
|
362
360
|
precompile?: typeof precompile;
|
|
363
361
|
}
|