Compare commits

...
Author SHA1 Message Date
valentinsilyutin dcc176f61a Publish
- @advdominion/tooltip@7.1.1
2026-09-24 21:45:58 +04:00
valentinsilyutin ff07b85241 Новая версия tooltip 2026-09-24 21:45:32 +04:00
valentinsilyutin 15298ef68f Fix CHANGELOG.md 2026-09-24 21:20:46 +04:00
valentinsilyutin 68a0bd8025 Publish
- @advdominion/tooltip@7.1.0
2026-09-24 16:51:07 +04:00
valentinsilyutin f76c615286 Новая версия tooltip 2026-09-24 16:50:42 +04:00
valentinsilyutin c5a92339ec Обновлены зависимости 2026-09-24 16:03:28 +04:00
14 changed files with 528 additions and 510 deletions

No files matched your search

+1 -1
View File
@@ -4,5 +4,5 @@
"quoteProps": "consistent", "quoteProps": "consistent",
"sortImports": true, "sortImports": true,
"sortPackageJson": false, "sortPackageJson": false,
"ignorePatterns": [".docker", ".yarn", "html"] "ignorePatterns": [".vscode", ".yarn"]
} }
+1 -27
View File
@@ -61,38 +61,12 @@
"unicorn/filename-case": ["warn", { "cases": { "kebabCase": true, "pascalCase": true } }], "unicorn/filename-case": ["warn", { "cases": { "kebabCase": true, "pascalCase": true } }],
"unicorn/no-empty-file": "warn", "unicorn/no-empty-file": "warn",
"unicorn/no-nested-ternary": "off", "unicorn/no-nested-ternary": "off",
"unicorn/prefer-ternary": "off",
"unicorn/no-useless-switch-case": "off", "unicorn/no-useless-switch-case": "off",
"unicorn/prefer-global-this": "off", "unicorn/prefer-global-this": "off",
"vue/define-props-destructuring": "off", "vue/define-props-destructuring": "off",
"vue/max-props": "off" "vue/max-props": "off"
}, },
"overrides": [
{
"files": ["build-scripts/*.js"],
"rules": {
"eslint/no-console": "off"
}
},
{
"files": ["src/scripts/mocks/**/*.js"],
"rules": {
"eslint/no-console": "off",
"unicorn/prefer-ternary": "off"
}
},
{
"files": ["src/scripts/blocks/**/*.js"],
"rules": {
"unicorn/prefer-top-level-await": "off"
}
},
{
"files": ["src/scripts/composables/*.js"],
"rules": {
"unicorn/filename-case": ["warn", { "cases": { "camelCase": true } }]
}
}
],
"ignorePatterns": [".yarn"], "ignorePatterns": [".yarn"],
"options": { "options": {
"maxWarnings": 10 "maxWarnings": 10
+6
View File
@@ -0,0 +1,6 @@
{
"recommendations": [
"arcanis.vscode-zipfs",
"oxc.oxc-vscode"
]
}
+10
View File
@@ -0,0 +1,10 @@
{
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.formatOnSave": true,
"search.exclude": {
"**/.yarn": true,
"**/.pnp.*": true
},
"oxc.path.oxfmt": ".yarn/sdks/oxfmt/bin/oxfmt",
"oxc.path.oxlint": ".yarn/sdks/oxlint/bin/oxlint"
}
+2
View File
@@ -1,3 +1,5 @@
# This file is automatically generated by @yarnpkg/sdks. # This file is automatically generated by @yarnpkg/sdks.
# Manual changes might be lost! # Manual changes might be lost!
integrations:
- vscode
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "oxfmt", "name": "oxfmt",
"version": "0.55.0-sdk", "version": "0.70.0-sdk",
"main": "dist/index.js", "main": "dist/index.js",
"type": "commonjs", "type": "commonjs",
"bin": { "bin": {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "oxlint", "name": "oxlint",
"version": "1.70.0-sdk", "version": "1.85.0-sdk",
"main": "dist/index.js", "main": "dist/index.js",
"type": "commonjs", "type": "commonjs",
"bin": { "bin": {
+1 -1
View File
@@ -21,7 +21,7 @@ yarn upgrade-interactive
yarn dedupe yarn dedupe
yarn dlx @yarnpkg/sdks base yarn dlx @yarnpkg/sdks
yarn install yarn install
``` ```
+4 -4
View File
@@ -10,9 +10,9 @@
}, },
"devDependencies": { "devDependencies": {
"husky": "^9.1.7", "husky": "^9.1.7",
"lerna": "^10.0.0", "lerna": "^10.0.1",
"lint-staged": "^17.3.0", "lint-staged": "^17.5.1",
"oxfmt": "^0.63.0", "oxfmt": "^0.70.0",
"oxlint": "^1.78.0" "oxlint": "^1.85.0"
} }
} }
+25 -6
View File
@@ -1,3 +1,22 @@
## v7.1.1
- Позиция при прокрутке обновляется без принудительного reflow: все измерения геометрии выполняются до записи стилей
- Массив middleware собирается один раз и переиспользуется между кадрами (сбрасывается при смене `offset`, `shiftPadding`, `arrow`)
- Классы и стили, зависящие от стороны размещения, применяются только при её смене
- `@floating-ui/dom` подгружается одним динамическим импортом вместо двух
- В пример базовых стилей добавлен `will-change: transform` — выносит подсказку на отдельный слой и убирает рывки при прокрутке
## v7.1.0
- Опция `arrow` теперь принимает объект: `active`, `centered`, `padding` (булево значение по-прежнему поддерживается)
- Добавлено поле `arrow.centered` — фиксирует стрелку по центру всплывающей подсказки, чтобы она не смещалась при прокрутке
- Автоматически рассчитываем `padding` стрелки, чтобы её повёрнутые углы не выходили за границы всплывающей подсказки
- `arrow` теперь корректно применяется через `updateOptions` — и до первого показа, и с уже показанной подсказкой (включение/выключение стрелки на лету)
- Исправлено: `updateOptions({ interactive })` больше не снимает обработчик скрытия по клику вне подсказки (раньше он попадал в общий список слушателей, который очищался при обновлении `interactive`)
- Устранены гонки при вызове `show`/`hide` подряд: устаревшие асинхронные операции отменяются
- `autoUpdate` теперь следит за тем же опорным элементом, что и позиционирование, поэтому при `virtualReference` подсказка продолжает обновляться при прокрутке
- `onCreate` вызывается в самом конце инициализации — раньше внутри него ещё не были доступны `show()`/`hide()`, теперь их можно вызывать прямо в `onCreate`
## v7.0.1 ## v7.0.1
- Исправление работы анимации - Исправление работы анимации
@@ -9,12 +28,12 @@
## v6.0.0 ## v6.0.0
- Корректная работа сообытий mouseenter/mouseleave на тач-устройствах - Корректная работа с событиями mouseenter/mouseleave на тач-устройствах
- Предовтращаем лишние показы всплывающей подсказки - Предотвращаем лишние показы всплывающей подсказки
## v5.0.0 ## v5.0.0
- Регистрируем сообытия mouseenter/mouseleave на тач-устройствах - Регистрируем события mouseenter/mouseleave на тач-устройствах
## v4.1.1 ## v4.1.1
@@ -22,7 +41,7 @@
## v4.1.0 ## v4.1.0
- Отключаем события mouseenter/mouseleave для toch-устройств - Отключаем события mouseenter/mouseleave для touch-устройств
## v4.0.0 ## v4.0.0
@@ -47,11 +66,11 @@
## v2.0.0 ## v2.0.0
- К `_tooltip.$tooltip` добавлено свойство `_reference` для доступа к элементу, на котором был вызван `createTooltip` - К `_tooltip.$tooltip` добавлено свойство `_reference` для доступа к элементу, на котором был вызван `createTooltip`
- Для функций `show/hide` добавлен параметр `immediately` для мнгновенного открытия/закрытия всплывающей подсказки (`_tooltip.hide({ immediately: true })`) - Для функций `show/hide` добавлен параметр `immediately` для мгновенного открытия/закрытия всплывающей подсказки (`_tooltip.hide({ immediately: true })`)
- Добавлена опция `shiftPadding` для добавления отступов от краёв области видимости по осям x/y - Добавлена опция `shiftPadding` для добавления отступов от краёв области видимости по осям x/y
- Добавлена опция `animation` для кастомизации анимации при открытии/закрытии всплывающей подсказки (для этого всё внутри `.tooltip` было обёрнуто в `.tooltip__root` и анимация применяется именно к этому блоку) - Добавлена опция `animation` для кастомизации анимации при открытии/закрытии всплывающей подсказки (для этого всё внутри `.tooltip` было обёрнуто в `.tooltip__root` и анимация применяется именно к этому блоку)
- Опция `_tooltip._options` переименована в `_tooltip.options` - Опция `_tooltip._options` переименована в `_tooltip.options`
- Оптимизция кода, исправление ошибок - Оптимизация кода, исправление ошибок
- Доработки по README.md - Доработки по README.md
- Доработки по .npmignore - Доработки по .npmignore
+22 -1
View File
@@ -33,7 +33,7 @@ createTooltip(document.querySelector('button'), 'Подсказка', {
[{ opacity: 1 }, { opacity: 0 }], [{ opacity: 1 }, { opacity: 0 }],
], ],
appendTo: document.body, appendTo: document.body,
arrow: true, arrow: { active: true, centered: false, padding: undefined },
delay: [0, 0], delay: [0, 0],
duration: [0, 0], duration: [0, 0],
easing: ['linear', 'linear'], easing: ['linear', 'linear'],
@@ -62,6 +62,26 @@ createTooltip(document.querySelector('button'), 'Подсказка', {
- `'all'` — всплывающая подсказка скрывается при клике по любому элементу на странице (**включая** саму всплывающую подсказку). - `'all'` — всплывающая подсказка скрывается при клике по любому элементу на странице (**включая** саму всплывающую подсказку).
- `'toggle'` — всплывающая подсказка скрывается только при клике по элементу, который её вызывает. - `'toggle'` — всплывающая подсказка скрывается только при клике по элементу, который её вызывает.
#### arrow
Настройка отображения и позиционирования стрелки. Поддерживает булево значение (`true`/`false`) для обратной совместимости либо объект:
- `active` (`true`) — показывать ли стрелку. Эквивалент `arrow: true`/`arrow: false`.
- `centered` (`false`) — фиксировать стрелку по центру всплывающей подсказки, вместо того чтобы следовать за центром элемента, который её вызывает. Полезно, когда подсказка прижата к краю области видимости и стрелка смещается при прокрутке.
- `padding` (`undefined`) — отступ стрелки от краёв всплывающей подсказки. По умолчанию рассчитывается автоматически исходя из размера стрелки, чтобы её повёрнутые под 45° углы не выходили за границы подсказки.
```js
createTooltip(document.querySelector('button'), 'Подсказка', {
arrow: { active: true, centered: true },
});
```
Так же настраивается через data-атрибут:
```html
<button type="button" data-tooltip-arrow='{"centered":true}'>Кнопка</button>
```
##### virtualReference ##### virtualReference
Настройка используется для кастомного позиционирования, ожидает объект с методом `getBoundingClientRect`. Настройка используется для кастомного позиционирования, ожидает объект с методом `getBoundingClientRect`.
@@ -150,6 +170,7 @@ $b: '.tooltip';
position: absolute; position: absolute;
top: 0; top: 0;
width: max-content; width: max-content;
will-change: transform;
z-index: 200; z-index: 200;
@media (min-width: 900px) { @media (min-width: 900px) {
+250 -124
View File
@@ -1,20 +1,34 @@
const roundByDPR = (value) => { const roundByDPR = (value) => {
const dpr = window.devicePixelRatio || 1; const dpr = window.devicePixelRatio || 1;
return Math.round(value * dpr) / dpr; return Math.round(value * dpr) / dpr;
},
attributeToOption = (attribute) => {
attribute = attribute.replace('tooltip', '');
return attribute.charAt(0).toLowerCase() + attribute.slice(1);
}; };
const attributeToOption = (attribute) => {
const option = attribute.replace('tooltip', '');
return option.charAt(0).toLowerCase() + option.slice(1);
};
/*
Приводит опцию arrow к единому виду { active, centered, padding }.
Поддерживает булево значение для обратной совместимости: arrow: true/false
*/
const normalizeArrow = (arrow) => {
const defaults = { active: Boolean(arrow), centered: false, padding: undefined };
return typeof arrow === 'object' && arrow !== null ? { ...defaults, active: true, ...arrow } : defaults;
};
// Слушатель visibilitychange один на всю страницу
let visibilityListenerRegistered = false; let visibilityListenerRegistered = false;
/*
Подсказки, оставшиеся открытыми при уходе со страницы, скрываются,
а их отложенный показ отменяется
*/
const handleVisibilityChange = () => { const handleVisibilityChange = () => {
if (document.hidden) { if (document.hidden) {
// Скрываем все активные всплывающие подсказки
for (const $tooltip of document.querySelectorAll('.tooltip')) { for (const $tooltip of document.querySelectorAll('.tooltip')) {
const ref = $tooltip._reference; const ref = $tooltip._reference;
if (ref?._tooltip) { if (ref?._tooltip) {
// Очищаем таймеры появления при скрытии страницы
clearTimeout(ref._tooltip._showTimeout); clearTimeout(ref._tooltip._showTimeout);
if (ref._tooltip.isVisible) { if (ref._tooltip.isVisible) {
ref._tooltip.hide({ immediately: true }); ref._tooltip.hide({ immediately: true });
@@ -22,8 +36,9 @@ const handleVisibilityChange = () => {
} }
} }
} }
}, };
templates = {
const templates = {
arrow: () => ` arrow: () => `
<div class="tooltip__arrow" style="pointer-events: none; position: absolute; transform: rotate(45deg);"></div> <div class="tooltip__arrow" style="pointer-events: none; position: absolute; transform: rotate(45deg);"></div>
`, `,
@@ -32,8 +47,9 @@ const handleVisibilityChange = () => {
`, `,
}; };
export const createTooltip = ($el, content, options) => { export const createTooltip = ($el, initialContent, initialOptions) => {
options = { let content = initialContent;
const options = {
animation: [ animation: [
[{ opacity: 0 }, { opacity: 1 }], [{ opacity: 0 }, { opacity: 1 }],
[{ opacity: 1 }, { opacity: 0 }], [{ opacity: 1 }, { opacity: 0 }],
@@ -52,7 +68,7 @@ export const createTooltip = ($el, content, options) => {
trigger: 'mouseenter click', trigger: 'mouseenter click',
virtualReference: undefined, virtualReference: undefined,
zIndex: '', zIndex: '',
...options, ...initialOptions,
}; };
for (const [key, value] of Object.entries($el.dataset)) { for (const [key, value] of Object.entries($el.dataset)) {
@@ -65,9 +81,82 @@ export const createTooltip = ($el, content, options) => {
} }
} }
/*
Нормализуем arrow после применения data-атрибутов,
чтобы поддержать и объект, и булево значение
*/
options.arrow = normalizeArrow(options.arrow);
let rafId; let rafId;
const listeners = []; const listeners = [];
const registerListeners = () => {
for (const trigger of options.trigger.split(' ')) {
switch (trigger) {
case 'mouseenter': {
$el.addEventListener('pointerenter', $el._tooltip.mouseEnterListener);
listeners.push({ el: $el, event: 'pointerenter', listener: $el._tooltip.mouseEnterListener });
$el.addEventListener('pointerleave', $el._tooltip.mouseLeaveListener);
listeners.push({ el: $el, event: 'pointerleave', listener: $el._tooltip.mouseLeaveListener });
break;
}
case 'click': {
$el.addEventListener('click', $el._tooltip.clickListener);
listeners.push({ el: $el, event: 'click', listener: $el._tooltip.clickListener });
if (!options.interactive) {
$el.addEventListener('pointerleave', $el._tooltip.mouseLeaveListener);
listeners.push({ el: $el, event: 'pointerleave', listener: $el._tooltip.mouseLeaveListener });
}
break;
}
case 'focus': {
$el.addEventListener('focus', $el._tooltip.focusListener);
listeners.push({ el: $el, event: 'focus', listener: $el._tooltip.focusListener });
break;
}
case 'blur': {
$el.addEventListener('blur', $el._tooltip.blurListener);
listeners.push({ el: $el, event: 'blur', listener: $el._tooltip.blurListener });
break;
}
default: {
break;
}
}
}
};
// Проигрывает анимацию появления (0) или скрытия (1) на корне подсказки
const animateRoot = async (index, immediately) => {
try {
const animation = $el._tooltip.$tooltip.querySelector('.tooltip__root').animate(options.animation[index], {
duration: immediately ? 0 : options.duration[index],
easing: options.easing[index],
});
$el._tooltip._currentAnimation = animation;
await animation.finished;
} catch {} // eslint-disable-line no-empty
};
// Добавляет стрелку, если она включена и ещё не создана
const mountArrow = () => {
if (options.arrow.active && !$el._tooltip.$arrow && $el._tooltip.$tooltip) {
$el._tooltip.$tooltip.querySelector('.tooltip__root').insertAdjacentHTML('afterbegin', templates.arrow());
$el._tooltip.$arrow = $el._tooltip.$tooltip.querySelector('.tooltip__arrow');
// Со стрелкой набор middleware другой
$el._tooltip._middleware = undefined;
}
};
// Удаляет стрелку из разметки
const unmountArrow = () => {
$el._tooltip.$arrow?.remove();
$el._tooltip.$arrow = undefined;
$el._tooltip._middleware = undefined;
};
$el._tooltip = { $el._tooltip = {
options, options,
isVisible: false, isVisible: false,
@@ -75,11 +164,24 @@ export const createTooltip = ($el, content, options) => {
$container: undefined, $container: undefined,
$arrow: undefined, $arrow: undefined,
$interactive: undefined, $interactive: undefined,
// Кэши позиционирования
_side: undefined,
_middleware: undefined,
_showTimeout: undefined, _showTimeout: undefined,
_hideTimeout: undefined, _hideTimeout: undefined,
_currentAnimation: undefined, _currentAnimation: undefined,
autoUpdateCleanup: () => {}, // Счётчик поколений show/hide: отменяет устаревшие асинхронные операции
updatePosition: async () => {}, _generation: 0,
/*
Заглушки до первого show(): настоящие функции создаются в show().
Нужны, чтобы вызовы из updateOptions/destroy не падали с ошибкой
*/
autoUpdateCleanup: () => {
// Переопределяется в show() после первого показа
},
updatePosition: () => {
// Переопределяется в show() после первого показа
},
setContent(updatedContent) { setContent(updatedContent) {
if (updatedContent !== undefined) { if (updatedContent !== undefined) {
@@ -100,17 +202,33 @@ export const createTooltip = ($el, content, options) => {
options[name] = value; options[name] = value;
} }
if (updatedOptions.arrow !== undefined && $el._tooltip.$tooltip) { if (
if (options.arrow) { updatedOptions.offset !== undefined ||
if (!$el._tooltip.$arrow) { updatedOptions.shiftPadding !== undefined ||
$el._tooltip.$tooltip updatedOptions.arrow !== undefined
.querySelector('.tooltip__root') ) {
.insertAdjacentHTML('afterbegin', templates.arrow()); $el._tooltip._middleware = undefined;
$el._tooltip.$arrow = $el._tooltip.$tooltip.querySelector('.tooltip__arrow');
} }
if (
updatedOptions.placement !== undefined ||
updatedOptions.offset !== undefined ||
updatedOptions.interactive !== undefined
) {
$el._tooltip._side = undefined;
}
if (updatedOptions.arrow !== undefined) {
/*
Опция могла прийти булевым значением — приводим к единому виду.
Нормализуем всегда, даже если подсказка ещё не создана
*/
options.arrow = normalizeArrow(options.arrow);
if ($el._tooltip.$tooltip) {
if (options.arrow.active) {
mountArrow();
} else { } else {
$el._tooltip.$arrow?.remove(); unmountArrow();
$el._tooltip.$arrow = undefined; }
} }
} }
@@ -137,17 +255,13 @@ export const createTooltip = ($el, content, options) => {
} }
if (updatedOptions.theme !== undefined && $el._tooltip.$tooltip) { if (updatedOptions.theme !== undefined && $el._tooltip.$tooltip) {
const classIndex = [...$el._tooltip.$tooltip.classList].findIndex((className) => const themeClass = [...$el._tooltip.$tooltip.classList].find((className) =>
className.startsWith('tooltip_theme_'), className.startsWith('tooltip_theme_'),
); );
if (classIndex === -1) { if (themeClass) {
$el._tooltip.$tooltip.classList.add(`tooltip_theme_${options.theme}`); $el._tooltip.$tooltip.classList.remove(themeClass);
} else {
$el._tooltip.$tooltip.classList.replace(
$el._tooltip.$tooltip.classList[classIndex],
`tooltip_theme_${options.theme}`,
);
} }
$el._tooltip.$tooltip.classList.add(`tooltip_theme_${options.theme}`);
} }
if (updatedOptions.zIndex !== undefined && $el._tooltip.$tooltip) { if (updatedOptions.zIndex !== undefined && $el._tooltip.$tooltip) {
@@ -171,7 +285,7 @@ export const createTooltip = ($el, content, options) => {
$el._tooltip.$tooltip?.remove(); $el._tooltip.$tooltip?.remove();
// Вызываем autoUpdateCleanup только если всплывающая подсказка была видна (иначе вызывать её не имеет смысла) // autoUpdateCleanup нужен только для показанной подсказки
if ($el._tooltip.isVisible) { if ($el._tooltip.isVisible) {
$el._tooltip.autoUpdateCleanup(); $el._tooltip.autoUpdateCleanup();
} }
@@ -187,16 +301,20 @@ export const createTooltip = ($el, content, options) => {
}, },
}; };
if (options.onCreate) {
options.onCreate($el._tooltip);
}
$el._tooltip.show = async ({ immediately } = {}) => { $el._tooltip.show = async ({ immediately } = {}) => {
clearTimeout($el._tooltip._hideTimeout); clearTimeout($el._tooltip._hideTimeout);
clearTimeout($el._tooltip._showTimeout);
$el._tooltip._generation += 1;
const generation = $el._tooltip._generation;
const { computePosition, autoUpdate, offset, flip, shift, arrow } = await import('@floating-ui/dom');
if (generation !== $el._tooltip._generation) {
return;
}
if (!$el._tooltip.$tooltip) { if (!$el._tooltip.$tooltip) {
const { computePosition, offset, flip, shift, arrow } = await import('@floating-ui/dom');
$el._tooltip.$tooltip = document.createElement('div'); $el._tooltip.$tooltip = document.createElement('div');
$el._tooltip.$tooltip._reference = $el; $el._tooltip.$tooltip._reference = $el;
$el._tooltip.$tooltip.classList.add('tooltip', `tooltip_theme_${options.theme}`); $el._tooltip.$tooltip.classList.add('tooltip', `tooltip_theme_${options.theme}`);
@@ -205,26 +323,19 @@ export const createTooltip = ($el, content, options) => {
$el._tooltip.$tooltip.innerHTML = ` $el._tooltip.$tooltip.innerHTML = `
<div class="tooltip__root"> <div class="tooltip__root">
${options.interactive ? templates.interactiveHelper() : ''} ${options.interactive ? templates.interactiveHelper() : ''}
${options.arrow ? templates.arrow() : ''}
<div class="tooltip__container"></div> <div class="tooltip__container"></div>
</div> </div>
`; `;
$el._tooltip.$container = $el._tooltip.$tooltip.querySelector('.tooltip__container'); $el._tooltip.$container = $el._tooltip.$tooltip.querySelector('.tooltip__container');
$el._tooltip.$arrow = $el._tooltip.$tooltip.querySelector('.tooltip__arrow');
$el._tooltip.$interactive = $el._tooltip.$tooltip.querySelector('.tooltip__interactive-helper'); $el._tooltip.$interactive = $el._tooltip.$tooltip.querySelector('.tooltip__interactive-helper');
$el._tooltip.setContent(); $el._tooltip.setContent();
mountArrow();
$el._tooltip.updatePosition = () => { const buildMiddleware = () => {
cancelAnimationFrame(rafId); const arrowSize = $el._tooltip.$arrow?.offsetWidth ?? 0;
rafId = requestAnimationFrame(async () => { return [
const { x, y, placement, middlewareData } = await computePosition(
options.virtualReference ?? $el,
$el._tooltip.$tooltip,
{
placement: options.placement,
middleware: [
offset({ mainAxis: options.offset[1], crossAxis: options.offset[0] }), offset({ mainAxis: options.offset[1], crossAxis: options.offset[0] }),
flip(), flip(),
shift({ shift({
@@ -235,8 +346,37 @@ export const createTooltip = ($el, content, options) => {
left: options.shiftPadding[0], left: options.shiftPadding[0],
}, },
}), }),
arrow({ element: $el._tooltip.$arrow }), arrow({
], element: $el._tooltip.$arrow,
/*
Отступ стрелки от краёв подсказки. По умолчанию считаем из размера стрелки:
квадрат со стороной size, повёрнутый на 45°, выступает за свою рамку
на (√2 − 1) / 2 · size — это не даёт его углам вылезать за границы.
Можно задать вручную через arrow.padding
*/
padding: options.arrow.padding ?? Math.ceil(((Math.SQRT2 - 1) / 2) * arrowSize),
}),
];
};
$el._tooltip.updatePosition = () => {
cancelAnimationFrame(rafId);
rafId = requestAnimationFrame(async () => {
/*
Все чтения геометрии делаем до первой записи стилей, иначе браузер
вынужден делать принудительный reflow на каждом кадре прокрутки
*/
const tooltipWidth = $el._tooltip.$tooltip.offsetWidth;
const tooltipHeight = $el._tooltip.$tooltip.offsetHeight;
const arrowWidth = $el._tooltip.$arrow?.offsetWidth ?? 0;
const arrowHeight = $el._tooltip.$arrow?.offsetHeight ?? 0;
const { x, y, placement, middlewareData } = await computePosition(
options.virtualReference ?? $el,
$el._tooltip.$tooltip,
{
placement: options.placement,
middleware: ($el._tooltip._middleware ??= buildMiddleware()),
}, },
); );
@@ -244,8 +384,12 @@ export const createTooltip = ($el, content, options) => {
transform: `translate(${roundByDPR(x)}px, ${roundByDPR(y)}px)`, transform: `translate(${roundByDPR(x)}px, ${roundByDPR(y)}px)`,
}); });
const side = placement.split('-')[0], const side = placement.split('-')[0];
staticSide = { top: 'bottom', right: 'left', bottom: 'top', left: 'right' }[side]; const staticSide = { top: 'bottom', right: 'left', bottom: 'top', left: 'right' }[side];
// Стили стороны применяем только при её смене
if (side !== $el._tooltip._side) {
$el._tooltip._side = side;
$el._tooltip.$tooltip.classList.remove( $el._tooltip.$tooltip.classList.remove(
'tooltip_side_top', 'tooltip_side_top',
@@ -262,13 +406,30 @@ export const createTooltip = ($el, content, options) => {
[staticSide]: `-${options.offset[1]}px`, [staticSide]: `-${options.offset[1]}px`,
}); });
} }
}
if ($el._tooltip.$arrow && middlewareData.arrow) { if ($el._tooltip.$arrow && middlewareData.arrow) {
const { x, y } = middlewareData.arrow; const { $arrow } = $el._tooltip;
Object.assign($el._tooltip.$arrow.style, { let { x, y } = middlewareData.arrow;
/*
centered: фиксируем стрелку по центру подсказки, чтобы она не смещалась
вслед за опорным элементом при прокрутке (например, когда подсказка
прижата к краю экрана). Ось центрирования зависит от стороны:
для left/right — вертикаль, для top/bottom — горизонталь
*/
if (options.arrow.centered) {
if (side === 'left' || side === 'right') {
y = (tooltipHeight - arrowHeight) / 2;
} else {
x = (tooltipWidth - arrowWidth) / 2;
}
}
Object.assign($arrow.style, {
left: x === undefined ? '' : `${x}px`, left: x === undefined ? '' : `${x}px`,
top: y === undefined ? '' : `${y}px`, top: y === undefined ? '' : `${y}px`,
[staticSide]: `-${$el._tooltip.$arrow.offsetWidth / 2}px`, [staticSide]: `-${arrowWidth / 2}px`,
}); });
} }
}); });
@@ -279,14 +440,16 @@ export const createTooltip = ($el, content, options) => {
} }
} }
const { autoUpdate } = await import('@floating-ui/dom');
$el._tooltip._showTimeout = setTimeout( $el._tooltip._showTimeout = setTimeout(
async () => { async () => {
const isMouseEnterTrigger = options.trigger.includes('mouseenter'), if (generation !== $el._tooltip._generation) {
isHovering = $el.matches(':hover'); return;
}
// Проверяем $el._tooltip на сущестование и актуальность показа всплывающей подсказки const isMouseEnterTrigger = options.trigger.includes('mouseenter');
const isHovering = $el.matches(':hover');
// За время задержки состояние могло измениться
if ( if (
!$el._tooltip || !$el._tooltip ||
$el._tooltip.isVisible || $el._tooltip.isVisible ||
@@ -298,31 +461,25 @@ export const createTooltip = ($el, content, options) => {
(options.appendTo === 'parent' ? $el.parentElement : options.appendTo).append($el._tooltip.$tooltip); (options.appendTo === 'parent' ? $el.parentElement : options.appendTo).append($el._tooltip.$tooltip);
$el._tooltip.isVisible = true; $el._tooltip.isVisible = true;
$el._tooltip.autoUpdateCleanup = autoUpdate($el, $el._tooltip.$tooltip, $el._tooltip.updatePosition); $el._tooltip.autoUpdateCleanup = autoUpdate(
options.virtualReference ?? $el,
$el._tooltip.$tooltip,
$el._tooltip.updatePosition,
);
if (options.hideOnClick && (options.trigger.includes('click') || options.trigger.includes('manual'))) { if (options.hideOnClick && (options.trigger.includes('click') || options.trigger.includes('manual'))) {
document.body.addEventListener('click', $el._tooltip.hideOnClickListener); document.body.addEventListener('click', $el._tooltip.hideOnClickListener);
listeners.push({
el: document.body,
event: 'click',
listener: $el._tooltip.hideOnClickListener,
});
} }
if (options.onShow) { if (options.onShow) {
options.onShow($el._tooltip); options.onShow($el._tooltip);
} }
try { await animateRoot(0, immediately);
const animation = $el._tooltip.$tooltip
.querySelector('.tooltip__root') if (generation !== $el._tooltip._generation) {
.animate(options.animation[0], { return;
duration: immediately ? 0 : options.duration[0], }
easing: options.easing[0],
});
$el._tooltip._currentAnimation = animation;
await animation.finished;
} catch {} // eslint-disable-line no-empty
if (options.onShown) { if (options.onShown) {
options.onShown($el._tooltip); options.onShown($el._tooltip);
@@ -334,9 +491,17 @@ export const createTooltip = ($el, content, options) => {
$el._tooltip.hide = ({ immediately } = {}) => { $el._tooltip.hide = ({ immediately } = {}) => {
clearTimeout($el._tooltip._showTimeout); clearTimeout($el._tooltip._showTimeout);
$el._tooltip._generation += 1;
const generation = $el._tooltip._generation;
$el._tooltip._hideTimeout = setTimeout( $el._tooltip._hideTimeout = setTimeout(
async () => { async () => {
// Проверяем $el._tooltip на сущестование if (generation !== $el._tooltip._generation) {
return;
}
// Подсказку могли удалить или скрыть за время задержки
if (!$el._tooltip || !$el._tooltip.isVisible) { if (!$el._tooltip || !$el._tooltip.isVisible) {
return; return;
} }
@@ -347,19 +512,10 @@ export const createTooltip = ($el, content, options) => {
document.body.removeEventListener('click', $el._tooltip.hideOnClickListener); document.body.removeEventListener('click', $el._tooltip.hideOnClickListener);
try { await animateRoot(1, immediately);
const animation = $el._tooltip.$tooltip
.querySelector('.tooltip__root')
.animate(options.animation[1], {
duration: immediately ? 0 : options.duration[1],
easing: options.easing[1],
});
$el._tooltip._currentAnimation = animation;
await animation.finished;
} catch {} // eslint-disable-line no-empty
// Ещё одна проверка на сущестование $el._tooltip после await // Пока шла анимация, подсказку могли скрыть повторно или удалить
if (!$el._tooltip) { if (generation !== $el._tooltip._generation || !$el._tooltip) {
return; return;
} }
@@ -446,45 +602,15 @@ export const createTooltip = ($el, content, options) => {
$el._tooltip.hide(); $el._tooltip.hide();
}; };
const registerListeners = () => {
for (const trigger of options.trigger.split(' ')) {
switch (trigger) {
case 'mouseenter': {
$el.addEventListener('pointerenter', $el._tooltip.mouseEnterListener);
listeners.push({ el: $el, event: 'pointerenter', listener: $el._tooltip.mouseEnterListener });
$el.addEventListener('pointerleave', $el._tooltip.mouseLeaveListener);
listeners.push({ el: $el, event: 'pointerleave', listener: $el._tooltip.mouseLeaveListener });
break;
}
case 'click': {
$el.addEventListener('click', $el._tooltip.clickListener);
listeners.push({ el: $el, event: 'click', listener: $el._tooltip.clickListener });
if (!options.interactive) {
$el.addEventListener('pointerleave', $el._tooltip.mouseLeaveListener);
listeners.push({ el: $el, event: 'pointerleave', listener: $el._tooltip.mouseLeaveListener });
}
break;
}
case 'focus': {
$el.addEventListener('focus', $el._tooltip.focusListener);
listeners.push({ el: $el, event: 'focus', listener: $el._tooltip.focusListener });
break;
}
case 'blur': {
$el.addEventListener('blur', $el._tooltip.blurListener);
listeners.push({ el: $el, event: 'blur', listener: $el._tooltip.blurListener });
break;
}
}
}
};
registerListeners(); registerListeners();
if (!visibilityListenerRegistered) { if (!visibilityListenerRegistered) {
document.addEventListener('visibilitychange', handleVisibilityChange); document.addEventListener('visibilitychange', handleVisibilityChange);
visibilityListenerRegistered = true; visibilityListenerRegistered = true;
} }
// Вызываем onCreate в конце, когда все методы и слушатели уже инициализированы
if (options.onCreate) {
options.onCreate($el._tooltip);
}
}; };
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@advdominion/tooltip", "name": "@advdominion/tooltip",
"version": "7.0.2", "version": "7.1.1",
"type": "module", "type": "module",
"main": "index.js", "main": "index.js",
"repository": { "repository": {
+203 -343
View File
@@ -138,17 +138,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@csstools/css-calc@npm:^3.1.1": "@csstools/css-calc@npm:^3.1.1, @csstools/css-calc@npm:^3.2.1":
version: 3.1.1
resolution: "@csstools/css-calc@npm:3.1.1"
peerDependencies:
"@csstools/css-parser-algorithms": ^4.0.0
"@csstools/css-tokenizer": ^4.0.0
checksum: 10c0/6efcc016d988edf66e54c7bad03e352d61752cbd1b56c7557fd013868aab23505052ded8f912cd4034e216943ea1e04c957d81012489e3eddc14a57b386510ef
languageName: node
linkType: hard
"@csstools/css-calc@npm:^3.2.1":
version: 3.3.0 version: 3.3.0
resolution: "@csstools/css-calc@npm:3.3.0" resolution: "@csstools/css-calc@npm:3.3.0"
peerDependencies: peerDependencies:
@@ -167,14 +157,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@csstools/css-syntax-patches-for-csstree@npm:^1.0.26": "@csstools/css-syntax-patches-for-csstree@npm:^1.0.26, @csstools/css-syntax-patches-for-csstree@npm:^1.1.4":
version: 1.0.27
resolution: "@csstools/css-syntax-patches-for-csstree@npm:1.0.27"
checksum: 10c0/ef3f2a639109758c0f3c04520465800ca4c830174bd6f7979795083877c82ace51ab8353857b06a818cb6c0de6d4dc88f84a86fc3b021be47f11a0f1c4b74e7e
languageName: node
linkType: hard
"@csstools/css-syntax-patches-for-csstree@npm:^1.1.4":
version: 1.1.12 version: 1.1.12
resolution: "@csstools/css-syntax-patches-for-csstree@npm:1.1.12" resolution: "@csstools/css-syntax-patches-for-csstree@npm:1.1.12"
peerDependencies: peerDependencies:
@@ -524,22 +507,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@isaacs/balanced-match@npm:^4.0.1":
version: 4.0.1
resolution: "@isaacs/balanced-match@npm:4.0.1"
checksum: 10c0/7da011805b259ec5c955f01cee903da72ad97c5e6f01ca96197267d3f33103d5b2f8a1af192140f3aa64526c593c8d098ae366c2b11f7f17645d12387c2fd420
languageName: node
linkType: hard
"@isaacs/brace-expansion@npm:^5.0.0":
version: 5.0.0
resolution: "@isaacs/brace-expansion@npm:5.0.0"
dependencies:
"@isaacs/balanced-match": "npm:^4.0.1"
checksum: 10c0/b4d4812f4be53afc2c5b6c545001ff7a4659af68d4484804e9d514e183d20269bb81def8682c01a22b17c4d6aed14292c8494f7d2ac664e547101c1a905aa977
languageName: node
linkType: hard
"@isaacs/cliui@npm:^8.0.2": "@isaacs/cliui@npm:^8.0.2":
version: 8.0.2 version: 8.0.2
resolution: "@isaacs/cliui@npm:8.0.2" resolution: "@isaacs/cliui@npm:8.0.2"
@@ -1120,268 +1087,268 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-android-arm-eabi@npm:0.63.0": "@oxfmt/binding-android-arm-eabi@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-android-arm-eabi@npm:0.63.0" resolution: "@oxfmt/binding-android-arm-eabi@npm:0.70.0"
conditions: os=android & cpu=arm conditions: os=android & cpu=arm
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-android-arm64@npm:0.63.0": "@oxfmt/binding-android-arm64@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-android-arm64@npm:0.63.0" resolution: "@oxfmt/binding-android-arm64@npm:0.70.0"
conditions: os=android & cpu=arm64 conditions: os=android & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-darwin-arm64@npm:0.63.0": "@oxfmt/binding-darwin-arm64@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-darwin-arm64@npm:0.63.0" resolution: "@oxfmt/binding-darwin-arm64@npm:0.70.0"
conditions: os=darwin & cpu=arm64 conditions: os=darwin & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-darwin-x64@npm:0.63.0": "@oxfmt/binding-darwin-x64@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-darwin-x64@npm:0.63.0" resolution: "@oxfmt/binding-darwin-x64@npm:0.70.0"
conditions: os=darwin & cpu=x64 conditions: os=darwin & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-freebsd-x64@npm:0.63.0": "@oxfmt/binding-freebsd-x64@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-freebsd-x64@npm:0.63.0" resolution: "@oxfmt/binding-freebsd-x64@npm:0.70.0"
conditions: os=freebsd & cpu=x64 conditions: os=freebsd & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-linux-arm-gnueabihf@npm:0.63.0": "@oxfmt/binding-linux-arm-gnueabihf@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-linux-arm-gnueabihf@npm:0.63.0" resolution: "@oxfmt/binding-linux-arm-gnueabihf@npm:0.70.0"
conditions: os=linux & cpu=arm conditions: os=linux & cpu=arm
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-linux-arm-musleabihf@npm:0.63.0": "@oxfmt/binding-linux-arm-musleabihf@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-linux-arm-musleabihf@npm:0.63.0" resolution: "@oxfmt/binding-linux-arm-musleabihf@npm:0.70.0"
conditions: os=linux & cpu=arm conditions: os=linux & cpu=arm
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-linux-arm64-gnu@npm:0.63.0": "@oxfmt/binding-linux-arm64-gnu@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-linux-arm64-gnu@npm:0.63.0" resolution: "@oxfmt/binding-linux-arm64-gnu@npm:0.70.0"
conditions: os=linux & cpu=arm64 & libc=glibc conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-linux-arm64-musl@npm:0.63.0": "@oxfmt/binding-linux-arm64-musl@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-linux-arm64-musl@npm:0.63.0" resolution: "@oxfmt/binding-linux-arm64-musl@npm:0.70.0"
conditions: os=linux & cpu=arm64 & libc=musl conditions: os=linux & cpu=arm64 & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-linux-ppc64-gnu@npm:0.63.0": "@oxfmt/binding-linux-ppc64-gnu@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-linux-ppc64-gnu@npm:0.63.0" resolution: "@oxfmt/binding-linux-ppc64-gnu@npm:0.70.0"
conditions: os=linux & cpu=ppc64 & libc=glibc conditions: os=linux & cpu=ppc64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-linux-riscv64-gnu@npm:0.63.0": "@oxfmt/binding-linux-riscv64-gnu@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-linux-riscv64-gnu@npm:0.63.0" resolution: "@oxfmt/binding-linux-riscv64-gnu@npm:0.70.0"
conditions: os=linux & cpu=riscv64 & libc=glibc conditions: os=linux & cpu=riscv64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-linux-riscv64-musl@npm:0.63.0": "@oxfmt/binding-linux-riscv64-musl@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-linux-riscv64-musl@npm:0.63.0" resolution: "@oxfmt/binding-linux-riscv64-musl@npm:0.70.0"
conditions: os=linux & cpu=riscv64 & libc=musl conditions: os=linux & cpu=riscv64 & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-linux-s390x-gnu@npm:0.63.0": "@oxfmt/binding-linux-s390x-gnu@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-linux-s390x-gnu@npm:0.63.0" resolution: "@oxfmt/binding-linux-s390x-gnu@npm:0.70.0"
conditions: os=linux & cpu=s390x & libc=glibc conditions: os=linux & cpu=s390x & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-linux-x64-gnu@npm:0.63.0": "@oxfmt/binding-linux-x64-gnu@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-linux-x64-gnu@npm:0.63.0" resolution: "@oxfmt/binding-linux-x64-gnu@npm:0.70.0"
conditions: os=linux & cpu=x64 & libc=glibc conditions: os=linux & cpu=x64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-linux-x64-musl@npm:0.63.0": "@oxfmt/binding-linux-x64-musl@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-linux-x64-musl@npm:0.63.0" resolution: "@oxfmt/binding-linux-x64-musl@npm:0.70.0"
conditions: os=linux & cpu=x64 & libc=musl conditions: os=linux & cpu=x64 & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-openharmony-arm64@npm:0.63.0": "@oxfmt/binding-openharmony-arm64@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-openharmony-arm64@npm:0.63.0" resolution: "@oxfmt/binding-openharmony-arm64@npm:0.70.0"
conditions: os=openharmony & cpu=arm64 conditions: os=openharmony & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-win32-arm64-msvc@npm:0.63.0": "@oxfmt/binding-win32-arm64-msvc@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-win32-arm64-msvc@npm:0.63.0" resolution: "@oxfmt/binding-win32-arm64-msvc@npm:0.70.0"
conditions: os=win32 & cpu=arm64 conditions: os=win32 & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-win32-ia32-msvc@npm:0.63.0": "@oxfmt/binding-win32-ia32-msvc@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-win32-ia32-msvc@npm:0.63.0" resolution: "@oxfmt/binding-win32-ia32-msvc@npm:0.70.0"
conditions: os=win32 & cpu=ia32 conditions: os=win32 & cpu=ia32
languageName: node languageName: node
linkType: hard linkType: hard
"@oxfmt/binding-win32-x64-msvc@npm:0.63.0": "@oxfmt/binding-win32-x64-msvc@npm:0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "@oxfmt/binding-win32-x64-msvc@npm:0.63.0" resolution: "@oxfmt/binding-win32-x64-msvc@npm:0.70.0"
conditions: os=win32 & cpu=x64 conditions: os=win32 & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-android-arm-eabi@npm:1.78.0": "@oxlint/binding-android-arm-eabi@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-android-arm-eabi@npm:1.78.0" resolution: "@oxlint/binding-android-arm-eabi@npm:1.85.0"
conditions: os=android & cpu=arm conditions: os=android & cpu=arm
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-android-arm64@npm:1.78.0": "@oxlint/binding-android-arm64@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-android-arm64@npm:1.78.0" resolution: "@oxlint/binding-android-arm64@npm:1.85.0"
conditions: os=android & cpu=arm64 conditions: os=android & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-darwin-arm64@npm:1.78.0": "@oxlint/binding-darwin-arm64@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-darwin-arm64@npm:1.78.0" resolution: "@oxlint/binding-darwin-arm64@npm:1.85.0"
conditions: os=darwin & cpu=arm64 conditions: os=darwin & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-darwin-x64@npm:1.78.0": "@oxlint/binding-darwin-x64@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-darwin-x64@npm:1.78.0" resolution: "@oxlint/binding-darwin-x64@npm:1.85.0"
conditions: os=darwin & cpu=x64 conditions: os=darwin & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-freebsd-x64@npm:1.78.0": "@oxlint/binding-freebsd-x64@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-freebsd-x64@npm:1.78.0" resolution: "@oxlint/binding-freebsd-x64@npm:1.85.0"
conditions: os=freebsd & cpu=x64 conditions: os=freebsd & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-linux-arm-gnueabihf@npm:1.78.0": "@oxlint/binding-linux-arm-gnueabihf@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-linux-arm-gnueabihf@npm:1.78.0" resolution: "@oxlint/binding-linux-arm-gnueabihf@npm:1.85.0"
conditions: os=linux & cpu=arm conditions: os=linux & cpu=arm
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-linux-arm-musleabihf@npm:1.78.0": "@oxlint/binding-linux-arm-musleabihf@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-linux-arm-musleabihf@npm:1.78.0" resolution: "@oxlint/binding-linux-arm-musleabihf@npm:1.85.0"
conditions: os=linux & cpu=arm conditions: os=linux & cpu=arm
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-linux-arm64-gnu@npm:1.78.0": "@oxlint/binding-linux-arm64-gnu@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-linux-arm64-gnu@npm:1.78.0" resolution: "@oxlint/binding-linux-arm64-gnu@npm:1.85.0"
conditions: os=linux & cpu=arm64 & libc=glibc conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-linux-arm64-musl@npm:1.78.0": "@oxlint/binding-linux-arm64-musl@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-linux-arm64-musl@npm:1.78.0" resolution: "@oxlint/binding-linux-arm64-musl@npm:1.85.0"
conditions: os=linux & cpu=arm64 & libc=musl conditions: os=linux & cpu=arm64 & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-linux-ppc64-gnu@npm:1.78.0": "@oxlint/binding-linux-ppc64-gnu@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-linux-ppc64-gnu@npm:1.78.0" resolution: "@oxlint/binding-linux-ppc64-gnu@npm:1.85.0"
conditions: os=linux & cpu=ppc64 & libc=glibc conditions: os=linux & cpu=ppc64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-linux-riscv64-gnu@npm:1.78.0": "@oxlint/binding-linux-riscv64-gnu@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-linux-riscv64-gnu@npm:1.78.0" resolution: "@oxlint/binding-linux-riscv64-gnu@npm:1.85.0"
conditions: os=linux & cpu=riscv64 & libc=glibc conditions: os=linux & cpu=riscv64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-linux-riscv64-musl@npm:1.78.0": "@oxlint/binding-linux-riscv64-musl@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-linux-riscv64-musl@npm:1.78.0" resolution: "@oxlint/binding-linux-riscv64-musl@npm:1.85.0"
conditions: os=linux & cpu=riscv64 & libc=musl conditions: os=linux & cpu=riscv64 & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-linux-s390x-gnu@npm:1.78.0": "@oxlint/binding-linux-s390x-gnu@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-linux-s390x-gnu@npm:1.78.0" resolution: "@oxlint/binding-linux-s390x-gnu@npm:1.85.0"
conditions: os=linux & cpu=s390x & libc=glibc conditions: os=linux & cpu=s390x & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-linux-x64-gnu@npm:1.78.0": "@oxlint/binding-linux-x64-gnu@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-linux-x64-gnu@npm:1.78.0" resolution: "@oxlint/binding-linux-x64-gnu@npm:1.85.0"
conditions: os=linux & cpu=x64 & libc=glibc conditions: os=linux & cpu=x64 & libc=glibc
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-linux-x64-musl@npm:1.78.0": "@oxlint/binding-linux-x64-musl@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-linux-x64-musl@npm:1.78.0" resolution: "@oxlint/binding-linux-x64-musl@npm:1.85.0"
conditions: os=linux & cpu=x64 & libc=musl conditions: os=linux & cpu=x64 & libc=musl
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-openharmony-arm64@npm:1.78.0": "@oxlint/binding-openharmony-arm64@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-openharmony-arm64@npm:1.78.0" resolution: "@oxlint/binding-openharmony-arm64@npm:1.85.0"
conditions: os=openharmony & cpu=arm64 conditions: os=openharmony & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-win32-arm64-msvc@npm:1.78.0": "@oxlint/binding-win32-arm64-msvc@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-win32-arm64-msvc@npm:1.78.0" resolution: "@oxlint/binding-win32-arm64-msvc@npm:1.85.0"
conditions: os=win32 & cpu=arm64 conditions: os=win32 & cpu=arm64
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-win32-ia32-msvc@npm:1.78.0": "@oxlint/binding-win32-ia32-msvc@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-win32-ia32-msvc@npm:1.78.0" resolution: "@oxlint/binding-win32-ia32-msvc@npm:1.85.0"
conditions: os=win32 & cpu=ia32 conditions: os=win32 & cpu=ia32
languageName: node languageName: node
linkType: hard linkType: hard
"@oxlint/binding-win32-x64-msvc@npm:1.78.0": "@oxlint/binding-win32-x64-msvc@npm:1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "@oxlint/binding-win32-x64-msvc@npm:1.78.0" resolution: "@oxlint/binding-win32-x64-msvc@npm:1.85.0"
conditions: os=win32 & cpu=x64 conditions: os=win32 & cpu=x64
languageName: node languageName: node
linkType: hard linkType: hard
@@ -2054,19 +2021,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"conventional-commits-parser@npm:7.1.0": "conventional-commits-parser@npm:7.1.2, conventional-commits-parser@npm:^7.1.0":
version: 7.1.0
resolution: "conventional-commits-parser@npm:7.1.0"
dependencies:
"@simple-libs/stream-utils": "npm:^2.0.0"
argue-cli: "npm:^3.1.0"
bin:
conventional-commits-parser: ./dist/cli/index.js
checksum: 10c0/7056dbe22c844561675dc08b9a3062da07d56e93fa4360fa1cb72dc5df5811b165cc5b2a317a6e05803cc3399ddcb641d701ed456443cffb36c407b2a17d1f97
languageName: node
linkType: hard
"conventional-commits-parser@npm:^7.1.0":
version: 7.1.2 version: 7.1.2
resolution: "conventional-commits-parser@npm:7.1.2" resolution: "conventional-commits-parser@npm:7.1.2"
dependencies: dependencies:
@@ -2128,17 +2083,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"css-tree@npm:^3.1.0": "css-tree@npm:^3.1.0, css-tree@npm:^3.2.1":
version: 3.1.0
resolution: "css-tree@npm:3.1.0"
dependencies:
mdn-data: "npm:2.12.2"
source-map-js: "npm:^1.0.1"
checksum: 10c0/b5715852c2f397c715ca00d56ec53fc83ea596295ae112eb1ba6a1bda3b31086380e596b1d8c4b980fe6da09e7d0fc99c64d5bb7313030dd0fba9c1415f30979
languageName: node
linkType: hard
"css-tree@npm:^3.2.1":
version: 3.2.1 version: 3.2.1
resolution: "css-tree@npm:3.2.1" resolution: "css-tree@npm:3.2.1"
dependencies: dependencies:
@@ -2932,7 +2877,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"hasown@npm:2.0.4, hasown@npm:^2.0.4": "hasown@npm:2.0.4, hasown@npm:^2.0.2, hasown@npm:^2.0.4":
version: 2.0.4 version: 2.0.4
resolution: "hasown@npm:2.0.4" resolution: "hasown@npm:2.0.4"
dependencies: dependencies:
@@ -2941,15 +2886,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"hasown@npm:^2.0.2":
version: 2.0.2
resolution: "hasown@npm:2.0.2"
dependencies:
function-bind: "npm:^1.1.2"
checksum: 10c0/3769d434703b8ac66b209a4cca0737519925bbdb61dd887f93a16372b14694c63ff4e797686d87c90f08168e81082248b9b028bad60d4da9e0d1148766f56eb9
languageName: node
linkType: hard
"hookified@npm:^1.14.0, hookified@npm:^1.15.0": "hookified@npm:^1.14.0, hookified@npm:^1.15.0":
version: 1.15.1 version: 1.15.1
resolution: "hookified@npm:1.15.1" resolution: "hookified@npm:1.15.1"
@@ -3357,7 +3293,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"js-yaml@npm:4.3.0": "js-yaml@npm:4.3.0, js-yaml@npm:^4.1.0":
version: 4.3.0 version: 4.3.0
resolution: "js-yaml@npm:4.3.0" resolution: "js-yaml@npm:4.3.0"
dependencies: dependencies:
@@ -3368,17 +3304,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"js-yaml@npm:^4.1.0":
version: 4.1.1
resolution: "js-yaml@npm:4.1.1"
dependencies:
argparse: "npm:^2.0.1"
bin:
js-yaml: bin/js-yaml.js
checksum: 10c0/561c7d7088c40a9bb53cc75becbfb1df6ae49b34b5e6e5a81744b14ae8667ec564ad2527709d1a6e7d5e5fa6d483aa0f373a50ad98d42fde368ec4a190d4fae7
languageName: node
linkType: hard
"json-parse-even-better-errors@npm:^2.3.0": "json-parse-even-better-errors@npm:^2.3.0":
version: 2.3.1 version: 2.3.1
resolution: "json-parse-even-better-errors@npm:2.3.1" resolution: "json-parse-even-better-errors@npm:2.3.1"
@@ -3487,9 +3412,9 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"lerna@npm:^10.0.0": "lerna@npm:^10.0.1":
version: 10.0.0 version: 10.0.1
resolution: "lerna@npm:10.0.0" resolution: "lerna@npm:10.0.1"
dependencies: dependencies:
"@npmcli/arborist": "npm:9.1.6" "@npmcli/arborist": "npm:9.1.6"
"@npmcli/package-json": "npm:7.0.2" "@npmcli/package-json": "npm:7.0.2"
@@ -3503,7 +3428,7 @@ __metadata:
conventional-changelog: "npm:8.1.0" conventional-changelog: "npm:8.1.0"
conventional-changelog-angular: "npm:9.2.1" conventional-changelog-angular: "npm:9.2.1"
conventional-commits-filter: "npm:6.0.1" conventional-commits-filter: "npm:6.0.1"
conventional-commits-parser: "npm:7.1.0" conventional-commits-parser: "npm:7.1.2"
conventional-recommended-bump: "npm:12.1.0" conventional-recommended-bump: "npm:12.1.0"
cosmiconfig: "npm:9.0.0" cosmiconfig: "npm:9.0.0"
dedent: "npm:1.5.3" dedent: "npm:1.5.3"
@@ -3534,7 +3459,7 @@ __metadata:
signal-exit: "npm:3.0.7" signal-exit: "npm:3.0.7"
ssri: "npm:12.0.0" ssri: "npm:12.0.0"
string-width: "npm:^4.2.3" string-width: "npm:^4.2.3"
tar: "npm:7.5.20" tar: "npm:7.5.22"
tinyglobby: "npm:0.2.12" tinyglobby: "npm:0.2.12"
validate-npm-package-license: "npm:3.0.4" validate-npm-package-license: "npm:3.0.4"
validate-npm-package-name: "npm:6.0.2" validate-npm-package-name: "npm:6.0.2"
@@ -3542,7 +3467,7 @@ __metadata:
yargs: "npm:17.7.2" yargs: "npm:17.7.2"
bin: bin:
lerna: dist/cli.js lerna: dist/cli.js
checksum: 10c0/49e09f922df4eda5860cde0035873e6393960e828f81aabf14fe94538760ece86908233d1d0a85f0570c70140949dca8c89989c3093ef6c8f05b10e1eaf4dec4 checksum: 10c0/f5c162eef98ebe98c830ff0b60424ac8ce49b8451c03411f1cc79039c924e337f6330d468c43b8208b3b5d34acda4ea7850211728beaa33a39a3c430fbd62bf2
languageName: node languageName: node
linkType: hard linkType: hard
@@ -3586,20 +3511,20 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"lint-staged@npm:^17.3.0": "lint-staged@npm:^17.5.1":
version: 17.3.0 version: 17.5.1
resolution: "lint-staged@npm:17.3.0" resolution: "lint-staged@npm:17.5.1"
dependencies: dependencies:
picomatch: "npm:^4.0.5" picomatch: "npm:^4.0.7"
string-argv: "npm:^0.3.2" string-argv: "npm:^0.3.2"
tinyexec: "npm:^1.2.4" tinyexec: "npm:^1.3.1"
yaml: "npm:^2.9.0" yaml: "npm:^2.9.0"
dependenciesMeta: dependenciesMeta:
yaml: yaml:
optional: true optional: true
bin: bin:
lint-staged: bin/lint-staged.js lint-staged: bin/lint-staged.js
checksum: 10c0/48703bf88fd834a5575b4f7fc77aadc7be21017ca66db4255b8962515f7b3df523ec23a1f198fb89eddc838268f2472a613723a7b058ad9260367a1698ce76e1 checksum: 10c0/8063dab2c1d44b126432bd08a74ed98fcd90976dc5ed94172c3e70f2466b1268aa98c4b646f810c22e9b56923be7772f549f70e5b985d59b4bd0c68e36fe6524
languageName: node languageName: node
linkType: hard linkType: hard
@@ -3707,13 +3632,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"mdn-data@npm:2.12.2":
version: 2.12.2
resolution: "mdn-data@npm:2.12.2"
checksum: 10c0/b22443b71d70f72ccc3c6ba1608035431a8fc18c3c8fc53523f06d20e05c2ac10f9b53092759a2ca85cf02f0d37036f310b581ce03e7b99ac74d388ef8152ade
languageName: node
linkType: hard
"mdn-data@npm:2.27.1": "mdn-data@npm:2.27.1":
version: 2.27.1 version: 2.27.1
resolution: "mdn-data@npm:2.27.1" resolution: "mdn-data@npm:2.27.1"
@@ -3775,7 +3693,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"minimatch@npm:10.2.5": "minimatch@npm:10.2.5, minimatch@npm:^10.0.3, minimatch@npm:^10.1.1":
version: 10.2.5 version: 10.2.5
resolution: "minimatch@npm:10.2.5" resolution: "minimatch@npm:10.2.5"
dependencies: dependencies:
@@ -3793,15 +3711,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"minimatch@npm:^10.0.3, minimatch@npm:^10.1.1":
version: 10.1.1
resolution: "minimatch@npm:10.1.1"
dependencies:
"@isaacs/brace-expansion": "npm:^5.0.0"
checksum: 10c0/c85d44821c71973d636091fddbfbffe62370f5ee3caf0241c5b60c18cd289e916200acb2361b7e987558cd06896d153e25d505db9fc1e43e6b4b6752e2702902
languageName: node
linkType: hard
"minimist@npm:1.2.8, minimist@npm:^1.2.5, minimist@npm:^1.2.6": "minimist@npm:1.2.8, minimist@npm:^1.2.5, minimist@npm:^1.2.6":
version: 1.2.8 version: 1.2.8
resolution: "minimist@npm:1.2.8" resolution: "minimist@npm:1.2.8"
@@ -3914,15 +3823,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"nanoid@npm:^3.3.11":
version: 3.3.11
resolution: "nanoid@npm:3.3.11"
bin:
nanoid: bin/nanoid.cjs
checksum: 10c0/40e7f70b3d15f725ca072dfc4f74e81fcf1fbb02e491cf58ac0c79093adc9b0a73b152bcde57df4b79cd097e13023d7504acb38404a4da7bc1cd8e887b82fe0b
languageName: node
linkType: hard
"nanoid@npm:^3.3.17": "nanoid@npm:^3.3.17":
version: 3.3.18 version: 3.3.18
resolution: "nanoid@npm:3.3.18" resolution: "nanoid@npm:3.3.18"
@@ -4373,30 +4273,30 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"oxfmt@npm:^0.63.0": "oxfmt@npm:^0.70.0":
version: 0.63.0 version: 0.70.0
resolution: "oxfmt@npm:0.63.0" resolution: "oxfmt@npm:0.70.0"
dependencies: dependencies:
"@oxfmt/binding-android-arm-eabi": "npm:0.63.0" "@oxfmt/binding-android-arm-eabi": "npm:0.70.0"
"@oxfmt/binding-android-arm64": "npm:0.63.0" "@oxfmt/binding-android-arm64": "npm:0.70.0"
"@oxfmt/binding-darwin-arm64": "npm:0.63.0" "@oxfmt/binding-darwin-arm64": "npm:0.70.0"
"@oxfmt/binding-darwin-x64": "npm:0.63.0" "@oxfmt/binding-darwin-x64": "npm:0.70.0"
"@oxfmt/binding-freebsd-x64": "npm:0.63.0" "@oxfmt/binding-freebsd-x64": "npm:0.70.0"
"@oxfmt/binding-linux-arm-gnueabihf": "npm:0.63.0" "@oxfmt/binding-linux-arm-gnueabihf": "npm:0.70.0"
"@oxfmt/binding-linux-arm-musleabihf": "npm:0.63.0" "@oxfmt/binding-linux-arm-musleabihf": "npm:0.70.0"
"@oxfmt/binding-linux-arm64-gnu": "npm:0.63.0" "@oxfmt/binding-linux-arm64-gnu": "npm:0.70.0"
"@oxfmt/binding-linux-arm64-musl": "npm:0.63.0" "@oxfmt/binding-linux-arm64-musl": "npm:0.70.0"
"@oxfmt/binding-linux-ppc64-gnu": "npm:0.63.0" "@oxfmt/binding-linux-ppc64-gnu": "npm:0.70.0"
"@oxfmt/binding-linux-riscv64-gnu": "npm:0.63.0" "@oxfmt/binding-linux-riscv64-gnu": "npm:0.70.0"
"@oxfmt/binding-linux-riscv64-musl": "npm:0.63.0" "@oxfmt/binding-linux-riscv64-musl": "npm:0.70.0"
"@oxfmt/binding-linux-s390x-gnu": "npm:0.63.0" "@oxfmt/binding-linux-s390x-gnu": "npm:0.70.0"
"@oxfmt/binding-linux-x64-gnu": "npm:0.63.0" "@oxfmt/binding-linux-x64-gnu": "npm:0.70.0"
"@oxfmt/binding-linux-x64-musl": "npm:0.63.0" "@oxfmt/binding-linux-x64-musl": "npm:0.70.0"
"@oxfmt/binding-openharmony-arm64": "npm:0.63.0" "@oxfmt/binding-openharmony-arm64": "npm:0.70.0"
"@oxfmt/binding-win32-arm64-msvc": "npm:0.63.0" "@oxfmt/binding-win32-arm64-msvc": "npm:0.70.0"
"@oxfmt/binding-win32-ia32-msvc": "npm:0.63.0" "@oxfmt/binding-win32-ia32-msvc": "npm:0.70.0"
"@oxfmt/binding-win32-x64-msvc": "npm:0.63.0" "@oxfmt/binding-win32-x64-msvc": "npm:0.70.0"
tinypool: "npm:2.1.0" tinypool: "npm:2.1.2"
peerDependencies: peerDependencies:
svelte: ^5.0.0 svelte: ^5.0.0
vite-plus: "*" vite-plus: "*"
@@ -4446,33 +4346,33 @@ __metadata:
optional: true optional: true
bin: bin:
oxfmt: bin/oxfmt oxfmt: bin/oxfmt
checksum: 10c0/8599015a2b5e4d7e35d9f2c26f2e232eb46e77f5e5d2446e7c809ca36e39f9aab832474e58e212f047d28d9661b3d996446280466944f78bac68d0a6efc172fe checksum: 10c0/9641cb661ed50183daacd90ecae767972f6c1cc8725b44d4f093014a9104cdc05659575ba94178b830fbe1ea53238bc0f81e70e132b4bcaaca2cbd4bb8ebbd42
languageName: node languageName: node
linkType: hard linkType: hard
"oxlint@npm:^1.78.0": "oxlint@npm:^1.85.0":
version: 1.78.0 version: 1.85.0
resolution: "oxlint@npm:1.78.0" resolution: "oxlint@npm:1.85.0"
dependencies: dependencies:
"@oxlint/binding-android-arm-eabi": "npm:1.78.0" "@oxlint/binding-android-arm-eabi": "npm:1.85.0"
"@oxlint/binding-android-arm64": "npm:1.78.0" "@oxlint/binding-android-arm64": "npm:1.85.0"
"@oxlint/binding-darwin-arm64": "npm:1.78.0" "@oxlint/binding-darwin-arm64": "npm:1.85.0"
"@oxlint/binding-darwin-x64": "npm:1.78.0" "@oxlint/binding-darwin-x64": "npm:1.85.0"
"@oxlint/binding-freebsd-x64": "npm:1.78.0" "@oxlint/binding-freebsd-x64": "npm:1.85.0"
"@oxlint/binding-linux-arm-gnueabihf": "npm:1.78.0" "@oxlint/binding-linux-arm-gnueabihf": "npm:1.85.0"
"@oxlint/binding-linux-arm-musleabihf": "npm:1.78.0" "@oxlint/binding-linux-arm-musleabihf": "npm:1.85.0"
"@oxlint/binding-linux-arm64-gnu": "npm:1.78.0" "@oxlint/binding-linux-arm64-gnu": "npm:1.85.0"
"@oxlint/binding-linux-arm64-musl": "npm:1.78.0" "@oxlint/binding-linux-arm64-musl": "npm:1.85.0"
"@oxlint/binding-linux-ppc64-gnu": "npm:1.78.0" "@oxlint/binding-linux-ppc64-gnu": "npm:1.85.0"
"@oxlint/binding-linux-riscv64-gnu": "npm:1.78.0" "@oxlint/binding-linux-riscv64-gnu": "npm:1.85.0"
"@oxlint/binding-linux-riscv64-musl": "npm:1.78.0" "@oxlint/binding-linux-riscv64-musl": "npm:1.85.0"
"@oxlint/binding-linux-s390x-gnu": "npm:1.78.0" "@oxlint/binding-linux-s390x-gnu": "npm:1.85.0"
"@oxlint/binding-linux-x64-gnu": "npm:1.78.0" "@oxlint/binding-linux-x64-gnu": "npm:1.85.0"
"@oxlint/binding-linux-x64-musl": "npm:1.78.0" "@oxlint/binding-linux-x64-musl": "npm:1.85.0"
"@oxlint/binding-openharmony-arm64": "npm:1.78.0" "@oxlint/binding-openharmony-arm64": "npm:1.85.0"
"@oxlint/binding-win32-arm64-msvc": "npm:1.78.0" "@oxlint/binding-win32-arm64-msvc": "npm:1.85.0"
"@oxlint/binding-win32-ia32-msvc": "npm:1.78.0" "@oxlint/binding-win32-ia32-msvc": "npm:1.85.0"
"@oxlint/binding-win32-x64-msvc": "npm:1.78.0" "@oxlint/binding-win32-x64-msvc": "npm:1.85.0"
peerDependencies: peerDependencies:
oxlint-tsgolint: ">=7.0.2001" oxlint-tsgolint: ">=7.0.2001"
vite-plus: "*" vite-plus: "*"
@@ -4522,7 +4422,7 @@ __metadata:
optional: true optional: true
bin: bin:
oxlint: bin/oxlint oxlint: bin/oxlint
checksum: 10c0/f9f1f9c6dfd7794ec9ef38ead5850bf2e9714249401fed1cfd2f1df76993b43de62b710521329f02f4e376cf015528c1eb9dc06f8a9f5688658166abca210ad9 checksum: 10c0/8ed3d50ddd19a3beea4b0ceed69596c7587036ec830c8bd2d71cd6317d6bebaaf2d6b9b1783c3806e6187a310e37dbe42347cfd103f4bbff83cf5f99ba1d35b5
languageName: node languageName: node
linkType: hard linkType: hard
@@ -4742,17 +4642,10 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"picomatch@npm:^4.0.2, picomatch@npm:^4.0.3": "picomatch@npm:^4.0.2, picomatch@npm:^4.0.3, picomatch@npm:^4.0.7":
version: 4.0.4 version: 4.0.7
resolution: "picomatch@npm:4.0.4" resolution: "picomatch@npm:4.0.7"
checksum: 10c0/e2c6023372cc7b5764719a5ffb9da0f8e781212fa7ca4bd0562db929df8e117460f00dff3cb7509dacfc06b86de924b247f504d0ce1806a37fac4633081466b0 checksum: 10c0/beb6ae02c43ae44e84883b90830196d9046b1726ead292adcf7f57945e0bb0d992d68563d87e03b484b6f3c9a5c6defda7523477f047d7f0e663f126cc01787f
languageName: node
linkType: hard
"picomatch@npm:^4.0.5":
version: 4.0.5
resolution: "picomatch@npm:4.0.5"
checksum: 10c0/947bc6b6e1ff1e6c5aaf95b107a0839d12802f4f7b867663f67d47accba939ca1cb582cf99dfc30438efa1c4648ac5990967e783e8929c36b03e8440704ef1bd
languageName: node languageName: node
linkType: hard linkType: hard
@@ -4836,7 +4729,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"postcss@npm:^8.5.26, postcss@npm:^8.5.8": "postcss@npm:^8.5.26, postcss@npm:^8.5.6, postcss@npm:^8.5.8":
version: 8.5.26 version: 8.5.26
resolution: "postcss@npm:8.5.26" resolution: "postcss@npm:8.5.26"
dependencies: dependencies:
@@ -4847,17 +4740,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"postcss@npm:^8.5.6":
version: 8.5.6
resolution: "postcss@npm:8.5.6"
dependencies:
nanoid: "npm:^3.3.11"
picocolors: "npm:^1.1.1"
source-map-js: "npm:^1.2.1"
checksum: 10c0/5127cc7c91ed7a133a1b7318012d8bfa112da9ef092dddf369ae699a1f10ebbd89b1b9f25f3228795b84585c72aabd5ced5fc11f2ba467eedf7b081a66fad024
languageName: node
linkType: hard
"proc-log@npm:^5.0.0": "proc-log@npm:^5.0.0":
version: 5.0.0 version: 5.0.0
resolution: "proc-log@npm:5.0.0" resolution: "proc-log@npm:5.0.0"
@@ -5049,10 +4931,10 @@ __metadata:
resolution: "root-workspace-0b6124@workspace:." resolution: "root-workspace-0b6124@workspace:."
dependencies: dependencies:
husky: "npm:^9.1.7" husky: "npm:^9.1.7"
lerna: "npm:^10.0.0" lerna: "npm:^10.0.1"
lint-staged: "npm:^17.3.0" lint-staged: "npm:^17.5.1"
oxfmt: "npm:^0.63.0" oxfmt: "npm:^0.70.0"
oxlint: "npm:^1.78.0" oxlint: "npm:^1.85.0"
languageName: unknown languageName: unknown
linkType: soft linkType: soft
@@ -5127,16 +5009,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"semver@npm:^7.1.1, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.6.3, semver@npm:^7.7.2": "semver@npm:^7.1.1, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.2, semver@npm:^7.5.3, semver@npm:^7.6.3, semver@npm:^7.7.2, semver@npm:^7.8.5":
version: 7.7.3
resolution: "semver@npm:7.7.3"
bin:
semver: bin/semver.js
checksum: 10c0/4afe5c986567db82f44c8c6faef8fe9df2a9b1d98098fc1721f57c696c4c21cebd572f297fc21002f81889492345b8470473bc6f4aff5fb032a6ea59ea2bc45e
languageName: node
linkType: hard
"semver@npm:^7.5.2, semver@npm:^7.8.5":
version: 7.8.5 version: 7.8.5
resolution: "semver@npm:7.8.5" resolution: "semver@npm:7.8.5"
bin: bin:
@@ -5242,7 +5115,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.1": "source-map-js@npm:^1.2.1":
version: 1.2.1 version: 1.2.1
resolution: "source-map-js@npm:1.2.1" resolution: "source-map-js@npm:1.2.1"
checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf checksum: 10c0/7bda1fc4c197e3c6ff17de1b8b2c20e60af81b63a52cb32ec5a5d67a20a7d42651e2cb34ebe93833c5a2a084377e17455854fee3e21e7925c64a51b6a52b0faf
@@ -5562,36 +5435,23 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"tar@npm:7.5.20": "tar@npm:7.5.22, tar@npm:^7.4.3, tar@npm:^7.5.2":
version: 7.5.20 version: 7.5.22
resolution: "tar@npm:7.5.20" resolution: "tar@npm:7.5.22"
dependencies: dependencies:
"@isaacs/fs-minipass": "npm:^4.0.0" "@isaacs/fs-minipass": "npm:^4.0.0"
chownr: "npm:^3.0.0" chownr: "npm:^3.0.0"
minipass: "npm:^7.1.2" minipass: "npm:^7.1.2"
minizlib: "npm:^3.1.0" minizlib: "npm:^3.1.0"
yallist: "npm:^5.0.0" yallist: "npm:^5.0.0"
checksum: 10c0/4df4335c6d958b76adf1eaced55889dec3ca1c51f450658a074af80694bb0d9c154a8e93fdf4da617372d1575b121295379993961bbe4cd4b0867c0e5689846a checksum: 10c0/1311f6be85a8157ac4c9147bae43e13923d2a1aae15e4aa1bd5239e4e03d2cf53cfe103dde7f35832fbb4c938b042856bc8e9a0afd29abd05e2d1608788c4fea
languageName: node languageName: node
linkType: hard linkType: hard
"tar@npm:^7.4.3, tar@npm:^7.5.2": "tinyexec@npm:^1.3.1":
version: 7.5.11 version: 1.3.1
resolution: "tar@npm:7.5.11" resolution: "tinyexec@npm:1.3.1"
dependencies: checksum: 10c0/c590369cb3fa73cc18a3998caec8a00f9712d91309c881be3ac52b160fb2f80c7b1fbf3591858ab6abab47ad55385b0c86ec19982e32441a01f55298dab9ccd2
"@isaacs/fs-minipass": "npm:^4.0.0"
chownr: "npm:^3.0.0"
minipass: "npm:^7.1.2"
minizlib: "npm:^3.1.0"
yallist: "npm:^5.0.0"
checksum: 10c0/b6bb420550ef50ef23356018155e956cd83282c97b6128d8d5cfe5740c57582d806a244b2ef0bf686a74ce526babe8b8b9061527623e935e850008d86d838929
languageName: node
linkType: hard
"tinyexec@npm:^1.2.4":
version: 1.2.4
resolution: "tinyexec@npm:1.2.4"
checksum: 10c0/153b8db6b080194b558ff145b9cffc36b80a6e07babd644dcfbe49c807eee668c876049d28bdee90b96304476f883352f2dad91b3f86bc23832532f4363e66ff
languageName: node languageName: node
linkType: hard linkType: hard
@@ -5615,10 +5475,10 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"tinypool@npm:2.1.0": "tinypool@npm:2.1.2":
version: 2.1.0 version: 2.1.2
resolution: "tinypool@npm:2.1.0" resolution: "tinypool@npm:2.1.2"
checksum: 10c0/9fb1c760558c6264e0f4cfde96a63b12450b43f1730fbe6274aa24ddbdf488745c08924d0dea7a1303b47d555416a6415f2113898c69b6ecf731e75ac95238a5 checksum: 10c0/4d8c0cf2d9710eff4aa9cb4318fecaac09d847f1d7dce3eb314d36bea35ed23f754315592a3c00c1d0aa21d9eb4a1f69e84c69feb8517b4cd769e1e0a7ee308e
languageName: node languageName: node
linkType: hard linkType: hard