@boundaries/elements 1.1.0 → 1.1.2
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/README.md +1 -1
- package/dist/index.browser.d.mts +4 -1
- package/dist/index.browser.d.ts +4 -1
- package/dist/index.browser.js +6 -2
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +6 -2
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.browser.mjs
CHANGED
|
@@ -169,7 +169,7 @@ function isExternalLibrariesSelector(value) {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
// src/Matcher/BaseElementsMatcher.ts
|
|
172
|
-
var HANDLEBARS_TEMPLATE_REGEX = /{{\s*[^}]
|
|
172
|
+
var HANDLEBARS_TEMPLATE_REGEX = /{{\s*[^}\s]+(?:\s+[^}\s]+)*\s*}}/;
|
|
173
173
|
var LEGACY_TEMPLATE_REGEX = /\$\{([^}]+)\}/g;
|
|
174
174
|
function normalizeSelector(selector) {
|
|
175
175
|
if (isSimpleElementSelectorByType(selector)) {
|
|
@@ -978,11 +978,14 @@ function isCoreDependencyElement(value) {
|
|
|
978
978
|
// src/Descriptor/DependenciesDescriptor.types.ts
|
|
979
979
|
var DEPENDENCY_KIND_TYPE = "type";
|
|
980
980
|
var DEPENDENCY_KIND_VALUE = "value";
|
|
981
|
+
var DEPENDENCY_KIND_TYPEOF = "typeof";
|
|
981
982
|
var DEPENDENCY_KINDS_MAP = {
|
|
982
983
|
/** Type import, e.g., `import type { X } from 'module'` */
|
|
983
984
|
TYPE: DEPENDENCY_KIND_TYPE,
|
|
984
985
|
/** Value import, e.g., `import { X } from 'module'` */
|
|
985
|
-
VALUE: DEPENDENCY_KIND_VALUE
|
|
986
|
+
VALUE: DEPENDENCY_KIND_VALUE,
|
|
987
|
+
/** typeof import, e.g. `type ModuleType = typeof import("./my_module");` */
|
|
988
|
+
TYPE_OF: DEPENDENCY_KIND_TYPEOF
|
|
986
989
|
};
|
|
987
990
|
var DEPENDENCY_RELATIONSHIPS_MAP = {
|
|
988
991
|
/** The dependency is internal to the element */
|
|
@@ -2339,6 +2342,7 @@ export {
|
|
|
2339
2342
|
CacheManager,
|
|
2340
2343
|
DEPENDENCY_KINDS_MAP,
|
|
2341
2344
|
DEPENDENCY_KIND_TYPE,
|
|
2345
|
+
DEPENDENCY_KIND_TYPEOF,
|
|
2342
2346
|
DEPENDENCY_KIND_VALUE,
|
|
2343
2347
|
DEPENDENCY_RELATIONSHIPS_INVERTED_MAP,
|
|
2344
2348
|
DEPENDENCY_RELATIONSHIPS_MAP,
|