2
0
mirror of https://github.com/iconify/iconify.git synced 2024-06-22 00:22:22 +00:00

chore: update dependencies, fix svelte tests

This commit is contained in:
Vjacheslav Trushkin 2024-04-15 18:15:11 +03:00
parent 4bd7fd5d75
commit c7a114c76c
38 changed files with 5294 additions and 3730 deletions

View File

@ -9,7 +9,7 @@
},
"dependencies": {
"@iconify/react": "workspace:*",
"next": "^13.2.4",
"next": "^13.5.6",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},

View File

@ -8,7 +8,7 @@
},
"devDependencies": {
"nuxt": "npm:nuxt3@latest",
"ufo": "^0.8.4"
"ufo": "^0.8.6"
},
"dependencies": {
"@iconify/vue": "workspace:*"

View File

@ -16,10 +16,10 @@
"@iconify-icons/uil": "^1.2.3",
"@iconify/core": "workspace:*",
"@iconify/react": "workspace:*",
"@types/react": "^17.0.55",
"@types/react-dom": "^18.0.11",
"@types/react": "^17.0.80",
"@types/react-dom": "^18.2.25",
"@vitejs/plugin-react": "^3.1.0",
"typescript": "^5.0.3",
"vite": "^4.2.1"
"typescript": "^5.4.5",
"vite": "^4.5.3"
}
}

View File

@ -12,12 +12,12 @@
"devDependencies": {
"@iconify/svelte": "workspace:*",
"@sveltejs/vite-plugin-svelte": "^2.5.3",
"@tsconfig/svelte": "^5.0.2",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"@tsconfig/svelte": "^5.0.4",
"svelte": "^4.2.14",
"svelte-check": "^3.6.9",
"svelte-preprocess": "^5.1.3",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^5.0.10"
"typescript": "^5.4.5",
"vite": "^5.2.8"
}
}

View File

@ -13,15 +13,15 @@
"@sveltejs/adapter-auto": "next",
"@sveltejs/kit": "next",
"@types/cookie": "^0.6.0",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"svelte": "^4.2.14",
"svelte-check": "^3.6.9",
"svelte-preprocess": "^5.1.3",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^5.0.10"
"typescript": "^5.4.5",
"vite": "^5.2.8"
},
"type": "module",
"dependencies": {
"@fontsource/fira-mono": "^5.0.8"
"@fontsource/fira-mono": "^5.0.12"
}
}

View File

@ -7,15 +7,15 @@
"build": "vite build"
},
"dependencies": {
"vue": "^3.2.47"
"vue": "^3.4.21"
},
"devDependencies": {
"@iconify-icons/bx": "^1.2.6",
"@iconify-icons/dashicons": "^1.2.4",
"@iconify/types": "workspace:*",
"@iconify/vue": "workspace:*",
"@vitejs/plugin-vue": "^4.1.0",
"typescript": "^5.0.3",
"vite": "^4.2.1"
"@vitejs/plugin-vue": "^4.6.2",
"typescript": "^5.4.5",
"vite": "^4.5.3"
}
}

View File

@ -48,20 +48,20 @@
"@iconify/types": "workspace:^"
},
"devDependencies": {
"@babel/preset-env": "^7.22.4",
"@babel/preset-react": "^7.22.3",
"@babel/preset-env": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.35.1",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/react": "^18.2.8",
"babel-jest": "^29.5.0",
"jest": "^29.5.0",
"@microsoft/api-extractor": "^7.43.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/react": "^18.2.78",
"babel-jest": "^29.7.0",
"jest": "^29.7.0",
"react": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^4.4.1",
"rollup": "^3.23.1",
"typescript": "^5.1.3"
"rollup": "^3.29.4",
"typescript": "^5.4.5"
},
"peerDependencies": {
"react": ">=16"

View File

@ -58,21 +58,21 @@
"devDependencies": {
"@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.39.0",
"@microsoft/api-extractor": "^7.43.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.5",
"@rollup/plugin-typescript": "^11.1.6",
"@sveltejs/vite-plugin-svelte": "^2.5.3",
"@testing-library/jest-dom": "^6.1.5",
"@testing-library/svelte": "^4.0.5",
"@tsconfig/svelte": "^5.0.2",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.5",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/svelte": "^4.1.0",
"@tsconfig/svelte": "^5.0.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"rimraf": "^5.0.5",
"rollup": "^4.9.1",
"rollup-plugin-svelte": "^7.1.6",
"rollup": "^4.14.3",
"rollup-plugin-svelte": "^7.2.0",
"svelte": "4.2.8",
"svelte-preprocess": "^5.1.3",
"vitest": "^1.1.0"
"vitest": "^1.5.0"
},
"peerDependencies": {
"svelte": ">4.0.0"

View File

@ -1,46 +0,0 @@
/**
* @jest-environment jsdom
*/
import { loadIcons, iconLoaded } from '../../dist';
import { mockAPIData } from '@iconify/core/lib/api/modules/mock';
import { provider, nextPrefix } from './load';
describe('Testing fake API', () => {
test('using fake API to load icon', () => {
return new Promise((fulfill, reject) => {
const prefix = nextPrefix();
const name = 'mock-test';
const iconName = `@${provider}:${prefix}:${name}`;
mockAPIData({
type: 'icons',
provider,
prefix,
response: {
prefix,
icons: {
[name]: {
body: '<g />',
},
},
},
});
// Check if icon has been loaded
expect(iconLoaded(iconName)).toBe(false);
// Load icon
loadIcons([iconName], (loaded, missing, pending) => {
expect(loaded).toMatchObject([
{
provider,
prefix,
name,
},
]);
expect(missing).toMatchObject([]);
expect(pending).toMatchObject([]);
fulfill(true);
});
});
});
});

View File

@ -1,221 +0,0 @@
/**
* @jest-environment jsdom
*/
import { tick } from 'svelte';
import { render } from '@testing-library/svelte';
import Icon, { loadIcons, iconLoaded } from '../../dist';
import { mockAPIData } from '@iconify/core/lib/api/modules/mock';
import { provider, nextPrefix } from './load';
const iconData = {
body: '<path d="M4 19h16v2H4zm5-4h11v2H9zm-5-4h16v2H4zm0-8h16v2H4zm5 4h11v2H9z" fill="currentColor"/>',
width: 24,
height: 24,
};
describe('Rendering icon', () => {
test('rendering icon after loading it', () => {
return new Promise((fulfill, reject) => {
const prefix = nextPrefix();
const name = 'render-test';
const iconName = `@${provider}:${prefix}:${name}`;
const className = `iconify iconify--${prefix} iconify--${provider}`;
let onLoadCalled = false;
mockAPIData({
type: 'icons',
provider,
prefix,
response: {
prefix,
icons: {
[name]: iconData,
},
},
});
// Check if icon has been loaded
expect(iconLoaded(iconName)).toBe(false);
// Load icon
loadIcons([iconName], (loaded, missing, pending) => {
// Make sure icon has been loaded
expect(loaded).toMatchObject([
{
provider,
prefix,
name,
},
]);
expect(missing).toMatchObject([]);
expect(pending).toMatchObject([]);
expect(iconLoaded(iconName)).toBe(true);
// Render component
const component = render(Icon, {
icon: iconName,
onLoad: (name: string) => {
expect(name).toBe(iconName);
expect(onLoadCalled).toBe(false);
onLoadCalled = true;
},
});
const node = component.container.querySelector('svg')!;
const html = (node.parentNode as HTMLDivElement).innerHTML;
// Check HTML immediately
expect(html).toBe(
'<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" width="1em" height="1em" viewBox="0 0 24 24" class="' +
className +
'"><path d="M4 19h16v2H4zm5-4h11v2H9zm-5-4h16v2H4zm0-8h16v2H4zm5 4h11v2H9z" fill="currentColor"></path></svg>'
);
// Make sure onLoad has been called
expect(onLoadCalled).toBe(true);
fulfill(true);
});
});
});
test('rendering icon before loading it', () => {
return new Promise((fulfill, reject) => {
const prefix = nextPrefix();
const name = 'mock-test';
const iconName = `@${provider}:${prefix}:${name}`;
const className = `iconify iconify--${prefix} iconify--${provider}`;
let onLoadCalled = false;
mockAPIData({
type: 'icons',
provider,
prefix,
response: {
prefix,
icons: {
[name]: iconData,
},
},
delay: (next) => {
// Icon should not have loaded yet
expect(iconLoaded(iconName)).toBe(false);
// onLoad should not have been called yet
expect(onLoadCalled).toBe(false);
// Send icon data
next();
// Test it again
expect(iconLoaded(iconName)).toBe(true);
},
});
// Check if icon has been loaded
expect(iconLoaded(iconName)).toBe(false);
// Render component
const component = render(Icon, {
icon: iconName,
// Also testing simple class
class: 'test',
onLoad: (name: string) => {
expect(name).toBe(iconName);
expect(onLoadCalled).toBe(false);
onLoadCalled = true;
// Check component on next tick
tick()
.then(() => {
const node =
component.container.querySelector('svg')!;
const html = (node.parentNode as HTMLDivElement)
.innerHTML;
// Check HTML
expect(html).toBe(
'<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" class="test ' +
className +
'" width="1em" height="1em" viewBox="0 0 24 24"><path d="M4 19h16v2H4zm5-4h11v2H9zm-5-4h16v2H4zm0-8h16v2H4zm5 4h11v2H9z" fill="currentColor"></path></svg>'
);
fulfill(true);
})
.catch(reject);
},
});
// Should render empty icon
const html = component.container.innerHTML;
expect(html.replace(/<!--(.*?)-->/gm, '')).toBe('<div></div>');
// onLoad should not have been called yet
expect(onLoadCalled).toBe(false);
});
});
test('missing icon', () => {
return new Promise((fulfill, reject) => {
const prefix = nextPrefix();
const name = 'missing-icon';
const iconName = `@${provider}:${prefix}:${name}`;
mockAPIData({
type: 'icons',
provider,
prefix,
response: 404,
delay: (next) => {
// Icon should not have loaded yet
expect(iconLoaded(iconName)).toBe(false);
// Send icon data
next();
// Test it again
expect(iconLoaded(iconName)).toBe(false);
// Check if state was changed on next few ticks
tick()
.then(() => {
const html = component.container.innerHTML;
expect(html.replace(/<!--(.*?)-->/gm, '')).toBe(
'<div></div>'
);
return tick();
})
.then(() => {
const html = component.container.innerHTML;
expect(html.replace(/<!--(.*?)-->/gm, '')).toBe(
'<div></div>'
);
return tick();
})
.then(() => {
const html = component.container.innerHTML;
expect(html.replace(/<!--(.*?)-->/gm, '')).toBe(
'<div></div>'
);
fulfill(true);
})
.catch(reject);
},
});
// Check if icon has been loaded
expect(iconLoaded(iconName)).toBe(false);
// Render component
const component = render(Icon, {
icon: iconName,
onLoad: () => {
throw new Error('onLoad called for empty icon!');
},
});
// Should render empty icon
const html = component.container.innerHTML;
expect(html.replace(/<!--(.*?)-->/gm, '')).toBe('<div></div>');
});
});
});

View File

@ -1,15 +0,0 @@
import { _api, addAPIProvider } from '../../dist';
import { mockAPIModule } from '@iconify/core/lib/api/modules/mock';
// API provider for tests
export const provider = 'mock-api';
// Set API module for provider
addAPIProvider(provider, {
resources: ['http://localhost'],
});
_api.setAPIModule(provider, mockAPIModule);
// Prefix
let counter = 0;
export const nextPrefix = () => 'mock-' + counter++;

View File

@ -2,7 +2,7 @@
* @jest-environment jsdom
*/
import { render } from '@testing-library/svelte';
import Icon from '../../dist';
import Icon from '../..';
const iconData = {
body: '<path d="M4 19h16v2H4zm5-4h11v2H9zm-5-4h16v2H4zm0-8h16v2H4zm5 4h11v2H9z" fill="currentColor"/>',

View File

@ -2,9 +2,7 @@
* @jest-environment jsdom
*/
import { render } from '@testing-library/svelte';
// Test importing from offline.mjs
import Icon from '../../dist/offline';
import Icon from '../../offline';
describe('Empty icon', () => {
test('basic test', () => {
@ -12,6 +10,6 @@ describe('Empty icon', () => {
const html = component.container.innerHTML;
// Empty container div
expect(html).toBe('<div></div>');
expect(html.replaceAll('<!--<OfflineIcon>-->', '')).toBe('<div></div>');
});
});

View File

@ -2,7 +2,7 @@
* @jest-environment jsdom
*/
import { render } from '@testing-library/svelte';
import Icon from '../../dist/offline';
import Icon from '../../offline';
const iconData = {
body: '<path d="M4 19h16v2H4zm5-4h11v2H9zm-5-4h16v2H4zm0-8h16v2H4zm5 4h11v2H9z" fill="currentColor"/>',

View File

@ -2,7 +2,7 @@
* @jest-environment jsdom
*/
import { render } from '@testing-library/svelte';
import Icon from '../../dist/offline';
import Icon from '../../offline';
const iconData = {
body: '<path d="M4 19h16v2H4zm5-4h11v2H9zm-5-4h16v2H4zm0-8h16v2H4zm5 4h11v2H9z" fill="currentColor"/>',

View File

@ -2,7 +2,7 @@
* @jest-environment jsdom
*/
import { render } from '@testing-library/svelte';
import Icon from '../../dist/offline';
import Icon from '../../offline';
const iconDataWithID = {
body: '<defs><path id="ssvg-id-1st-place-medala" d="M.93.01h120.55v58.36H.93z"/><path id="ssvg-id-1st-place-medald" d="M.93.01h120.55v58.36H.93z"/><path id="ssvg-id-1st-place-medalf" d="M.93.01h120.55v58.36H.93z"/><path id="ssvg-id-1st-place-medalh" d="M.93.01h120.55v58.36H.93z"/><path id="ssvg-id-1st-place-medalj" d="M.93.01h120.55v58.36H.93z"/><path id="ssvg-id-1st-place-medalm" d="M.93.01h120.55v58.36H.93z"/><path d="M52.849 78.373v-3.908c3.681-.359 6.25-.958 7.703-1.798c1.454-.84 2.54-2.828 3.257-5.962h4.021v40.385h-5.437V78.373h-9.544z" id="ssvg-id-1st-place-medalp"/><linearGradient x1="49.998%" y1="-13.249%" x2="49.998%" y2="90.002%" id="ssvg-id-1st-place-medalb"><stop stop-color="#1E88E5" offset="13.55%"/><stop stop-color="#1565C0" offset="93.8%"/></linearGradient><linearGradient x1="26.648%" y1="2.735%" x2="77.654%" y2="105.978%" id="ssvg-id-1st-place-medalk"><stop stop-color="#64B5F6" offset="13.55%"/><stop stop-color="#2196F3" offset="94.62%"/></linearGradient><radialGradient cx="22.368%" cy="12.5%" fx="22.368%" fy="12.5%" r="95.496%" id="ssvg-id-1st-place-medalo"><stop stop-color="#FFEB3B" offset="29.72%"/><stop stop-color="#FBC02D" offset="95.44%"/></radialGradient></defs><g fill="none" fill-rule="evenodd"><g transform="translate(3 4)"><mask id="ssvg-id-1st-place-medalc" fill="#fff"><use xlink:href="#ssvg-id-1st-place-medala"/></mask><path fill="url(#ssvg-id-1st-place-medalb)" fill-rule="nonzero" mask="url(#ssvg-id-1st-place-medalc)" d="M45.44 42.18h31.43l30-48.43H75.44z"/></g><g transform="translate(3 4)"><mask id="ssvg-id-1st-place-medale" fill="#fff"><use xlink:href="#ssvg-id-1st-place-medald"/></mask><g opacity=".2" mask="url(#ssvg-id-1st-place-medale)" fill="#424242" fill-rule="nonzero"><path d="M101.23-3L75.2 39H50.85L77.11-3h24.12zm5.64-3H75.44l-30 48h31.42l30.01-48z"/></g></g><g transform="translate(3 4)"><mask id="ssvg-id-1st-place-medalg" fill="#fff"><use xlink:href="#ssvg-id-1st-place-medalf"/></mask><path d="M79 30H43c-4.42 0-8 3.58-8 8v16.04c0 2.17 1.8 3.95 4.02 3.96h.01c2.23-.01 4.97-1.75 4.97-3.96V44c0-1.1.9-2 2-2h30c1.1 0 2 .9 2 2v9.93c0 1.98 2.35 3.68 4.22 4.04c.26.05.52.08.78.08c2.21 0 4-1.79 4-4V38c0-4.42-3.58-8-8-8z" fill="#FDD835" fill-rule="nonzero" mask="url(#ssvg-id-1st-place-medalg)"/></g><g transform="translate(3 4)"><mask id="ssvg-id-1st-place-medali" fill="#fff"><use xlink:href="#ssvg-id-1st-place-medalh"/></mask><g opacity=".2" mask="url(#ssvg-id-1st-place-medali)" fill="#424242" fill-rule="nonzero"><path d="M79 32c3.31 0 6 2.69 6 6v16.04A2.006 2.006 0 0 1 82.59 56c-1.18-.23-2.59-1.35-2.59-2.07V44c0-2.21-1.79-4-4-4H46c-2.21 0-4 1.79-4 4v10.04c0 .88-1.64 1.96-2.97 1.96c-1.12-.01-2.03-.89-2.03-1.96V38c0-3.31 2.69-6 6-6h36zm0-2H43c-4.42 0-8 3.58-8 8v16.04c0 2.17 1.8 3.95 4.02 3.96h.01c2.23-.01 4.97-1.75 4.97-3.96V44c0-1.1.9-2 2-2h30c1.1 0 2 .9 2 2v9.93c0 1.98 2.35 3.68 4.22 4.04c.26.05.52.08.78.08c2.21 0 4-1.79 4-4V38c0-4.42-3.58-8-8-8z"/></g></g><g transform="translate(3 4)"><mask id="ssvg-id-1st-place-medall" fill="#fff"><use xlink:href="#ssvg-id-1st-place-medalj"/></mask><path fill="url(#ssvg-id-1st-place-medalk)" fill-rule="nonzero" mask="url(#ssvg-id-1st-place-medall)" d="M76.87 42.18H45.44l-30-48.43h31.43z"/></g><g transform="translate(3 4)"><mask id="ssvg-id-1st-place-medaln" fill="#fff"><use xlink:href="#ssvg-id-1st-place-medalm"/></mask><g opacity=".2" mask="url(#ssvg-id-1st-place-medaln)" fill="#424242" fill-rule="nonzero"><path d="M45.1-3l26.35 42H47.1L20.86-3H45.1zm1.77-3H15.44l30 48h31.42L46.87-6z"/></g></g><circle fill="url(#ssvg-id-1st-place-medalo)" fill-rule="nonzero" cx="64" cy="86" r="38"/><path d="M64 51c19.3 0 35 15.7 35 35s-15.7 35-35 35s-35-15.7-35-35s15.7-35 35-35zm0-3c-20.99 0-38 17.01-38 38s17.01 38 38 38s38-17.01 38-38s-17.01-38-38-38z" opacity=".2" fill="#424242" fill-rule="nonzero"/><path d="M47.3 63.59h33.4v44.4H47.3z"/><use fill="#000" xlink:href="#ssvg-id-1st-place-medalp"/><use fill="#FFA000" xlink:href="#ssvg-id-1st-place-medalp"/></g>',

View File

@ -2,7 +2,7 @@
* @jest-environment jsdom
*/
import { render } from '@testing-library/svelte';
import Icon, { addIcon, addCollection } from '../../dist/offline';
import Icon, { addIcon, addCollection } from '../../offline';
const iconData = {
body: '<path d="M4 19h16v2H4zm5-4h11v2H9zm-5-4h16v2H4zm0-8h16v2H4zm5 4h11v2H9z" fill="currentColor"/>',
@ -18,7 +18,7 @@ describe('Using storage', () => {
const node = component.container.querySelector('svg')!;
const html = (node.parentNode as HTMLDivElement).innerHTML;
expect(html).toBe(
expect(html.replaceAll('<!--<OfflineIcon>-->', '')).toBe(
'<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" width="1em" height="1em" viewBox="0 0 24 24"><path d="M4 19h16v2H4zm5-4h11v2H9zm-5-4h16v2H4zm0-8h16v2H4zm5 4h11v2H9z" fill="currentColor"></path></svg>'
);
});
@ -44,7 +44,7 @@ describe('Using storage', () => {
const node = component.container.querySelector('svg')!;
const html = (node.parentNode as HTMLDivElement).innerHTML;
expect(html).toBe(
expect(html.replaceAll('<!--<OfflineIcon>-->', '')).toBe(
'<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" width="1em" height="1em" viewBox="0 0 24 24"><path d="M11.5 14c4.142 0 7.5 1.567 7.5 3.5V20H4v-2.5c0-1.933 3.358-3.5 7.5-3.5zm6.5 3.5c0-1.38-2.91-2.5-6.5-2.5S5 16.12 5 17.5V19h13v-1.5zM11.5 5a3.5 3.5 0 1 1 0 7a3.5 3.5 0 0 1 0-7zm0 1a2.5 2.5 0 1 0 0 5a2.5 2.5 0 0 0 0-5z" fill="currentColor"></path></svg>'
);
});
@ -70,7 +70,7 @@ describe('Using storage', () => {
const node = component.container.querySelector('svg')!;
const html = (node.parentNode as HTMLDivElement).innerHTML;
expect(html).toBe(
expect(html.replaceAll('<!--<OfflineIcon>-->', '')).toBe(
'<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" width="1em" height="1em" viewBox="0 0 24 24"><path d="M8 13v-1h7v1H8zm7.5-6a5.5 5.5 0 1 1 0 11H13v-1h2.5a4.5 4.5 0 1 0 0-9H13V7h2.5zm-8 11a5.5 5.5 0 1 1 0-11H10v1H7.5a4.5 4.5 0 1 0 0 9H10v1H7.5z" fill="currentColor"></path></svg>'
);
});
@ -82,6 +82,6 @@ describe('Using storage', () => {
const html = component.container.innerHTML;
// Empty container div
expect(html).toBe('<div></div>');
expect(html.replaceAll('<!--<OfflineIcon>-->', '')).toBe('<div></div>');
});
});

View File

@ -2,7 +2,7 @@
* @jest-environment jsdom
*/
import { render } from '@testing-library/svelte';
import Icon from '../../dist/offline';
import Icon from '../../offline';
const iconData = {
body: '<path d="M4 19h16v2H4zm5-4h11v2H9zm-5-4h16v2H4zm0-8h16v2H4zm5 4h11v2H9z" fill="currentColor"/>',

View File

@ -45,19 +45,19 @@
"@iconify/types": "workspace:^"
},
"devDependencies": {
"@babel/preset-env": "^7.22.4",
"@babel/preset-env": "^7.24.4",
"@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.35.1",
"@rollup/plugin-node-resolve": "^15.1.0",
"@types/jest": "^29.5.2",
"@vitejs/plugin-vue": "^4.2.3",
"@vue/test-utils": "^2.3.2",
"@microsoft/api-extractor": "^7.43.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/jest": "^29.5.12",
"@vitejs/plugin-vue": "^4.6.2",
"@vue/test-utils": "^2.4.5",
"jsdom": "^21.1.2",
"rollup": "^3.23.1",
"typescript": "^5.1.3",
"rollup": "^3.29.4",
"typescript": "^5.4.5",
"vitest": "^0.29.8",
"vue": "^3.3.4"
"vue": "^3.4.21"
},
"peerDependencies": {
"vue": ">=3"

View File

@ -12,12 +12,12 @@
"start": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\""
},
"dependencies": {
"lit": "^2.7.6"
"lit": "^2.8.0"
},
"devDependencies": {
"@babel/preset-env": "^7.22.9",
"@babel/preset-env": "^7.24.4",
"@custom-elements-manifest/analyzer": "^0.6.9",
"@iconify-icons/line-md": "^1.2.23",
"@iconify-icons/line-md": "^1.2.30",
"@open-wc/building-rollup": "^2.2.3",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^14.1.0",
@ -32,8 +32,8 @@
"rollup": "^2.79.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-workbox": "^6.2.2",
"tslib": "^2.6.1",
"typescript": "^5.1.6"
"tslib": "^2.6.2",
"typescript": "^5.4.5"
},
"customElements": "custom-elements.json"
}

View File

@ -8,7 +8,7 @@
"start": "next start"
},
"dependencies": {
"next": "^13.4.12",
"next": "^13.5.6",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},

View File

@ -9,9 +9,9 @@
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@types/node": "^18.17.1",
"@types/node": "^18.19.31",
"iconify-icon": "workspace:*",
"nuxt": "^3.6.5",
"vue": "^3.3.4"
"nuxt": "^3.11.2",
"vue": "^3.4.21"
}
}

View File

@ -15,11 +15,11 @@
"@iconify-icon/react": "workspace:*",
"@iconify-icons/mdi-light": "^1.2.5",
"@iconify-icons/uil": "^1.2.3",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
"@types/react": "^18.2.78",
"@types/react-dom": "^18.2.25",
"@vitejs/plugin-react": "^3.1.0",
"iconify-icon": "workspace:*",
"typescript": "^5.1.6",
"vite": "^4.4.8"
"typescript": "^5.4.5",
"vite": "^4.5.3"
}
}

View File

@ -11,13 +11,13 @@
"license": "MIT",
"devDependencies": {
"@iconify-icon/solid": "workspace:*",
"@iconify-icons/line-md": "^1.2.23",
"@iconify-icons/line-md": "^1.2.30",
"iconify-icon": "workspace:*",
"typescript": "^5.1.6",
"vite": "^4.4.8",
"vite-plugin-solid": "^2.7.0"
"typescript": "^5.4.5",
"vite": "^4.5.3",
"vite-plugin-solid": "^2.10.2"
},
"dependencies": {
"solid-js": "^1.7.8"
"solid-js": "^1.8.16"
}
}

View File

@ -11,13 +11,13 @@
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^2.5.3",
"@tsconfig/svelte": "^5.0.2",
"@tsconfig/svelte": "^5.0.4",
"iconify-icon": "workspace:*",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"svelte": "^4.2.14",
"svelte-check": "^3.6.9",
"svelte-preprocess": "^5.1.3",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^5.0.10"
"typescript": "^5.4.5",
"vite": "^5.2.8"
}
}

View File

@ -14,15 +14,15 @@
"@sveltejs/kit": "next",
"@types/cookie": "^0.6.0",
"iconify-icon": "workspace:*",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"svelte": "^4.2.14",
"svelte-check": "^3.6.9",
"svelte-preprocess": "^5.1.3",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^5.0.10"
"typescript": "^5.4.5",
"vite": "^5.2.8"
},
"type": "module",
"dependencies": {
"@fontsource/fira-mono": "^5.0.8"
"@fontsource/fira-mono": "^5.0.12"
}
}

View File

@ -7,14 +7,14 @@
"build": "vite build"
},
"dependencies": {
"vue": "^3.3.4"
"vue": "^3.4.21"
},
"devDependencies": {
"@iconify-icons/bx": "^1.2.6",
"@iconify-icons/dashicons": "^1.2.4",
"@vitejs/plugin-vue": "^4.2.3",
"@vitejs/plugin-vue": "^4.6.2",
"iconify-icon": "workspace:*",
"typescript": "^5.1.6",
"vite": "^4.4.8"
"typescript": "^5.4.5",
"vite": "^4.5.3"
}
}

View File

@ -56,21 +56,21 @@
"devDependencies": {
"@iconify/core": "workspace:^",
"@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.36.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@types/jest": "^29.5.3",
"@types/jsdom": "^21.1.1",
"@types/node": "^18.17.1",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@microsoft/api-extractor": "^7.43.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^29.5.12",
"@types/jsdom": "^21.1.6",
"@types/node": "^18.19.31",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"cross-env": "^7.0.3",
"eslint": "^8.46.0",
"jest": "^29.6.2",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"jsdom": "^22.1.0",
"rimraf": "^5.0.1",
"rollup": "^3.27.0",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
"rimraf": "^5.0.5",
"rollup": "^3.29.4",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
}
}

View File

@ -38,16 +38,16 @@
"iconify-icon": "workspace:^"
},
"devDependencies": {
"@types/react": "^18.2.18",
"@types/react-test-renderer": "^18.0.0",
"@vitejs/plugin-react": "^4.0.4",
"jest": "^29.6.2",
"@types/react": "^18.2.78",
"@types/react-test-renderer": "^18.0.7",
"@vitejs/plugin-react": "^4.2.1",
"jest": "^29.7.0",
"react": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^5.0.1",
"tsup": "^7.1.0",
"typescript": "^5.1.6",
"vitest": "^0.34.1"
"rimraf": "^5.0.5",
"tsup": "^7.3.0",
"typescript": "^5.4.5",
"vitest": "^0.34.6"
},
"peerDependencies": {
"react": ">=16"

View File

@ -24,9 +24,9 @@
"iconify-icon": "workspace:^"
},
"devDependencies": {
"rimraf": "^5.0.1",
"solid-js": "^1.7.8",
"typescript": "^5.1.6"
"rimraf": "^5.0.5",
"solid-js": "^1.8.16",
"typescript": "^5.4.5"
},
"peerDependencies": {
"solid-js": ">=1"

View File

@ -10,7 +10,7 @@
"type": "git",
"url": "https://github.com/iconify/iconify.git"
},
"packageManager": "pnpm@8.6.12",
"packageManager": "pnpm@8.15.7",
"scripts": {
"clean": "rm -rf */*/node_modules",
"build": "pnpm recursive --filter \"./(packages|iconify-icon|components)/**\" run build",

View File

@ -28,13 +28,13 @@
"directory": "packages/api-redundancy"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/node": "^18.17.1",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"@typescript-eslint/parser": "^6.2.1",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.31",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"cross-env": "^7.0.3",
"eslint": "^8.46.0",
"tsup": "^7.1.0",
"vitest": "^0.34.1"
"eslint": "^8.57.0",
"tsup": "^7.3.0",
"vitest": "^0.34.6"
}
}

View File

@ -133,15 +133,15 @@
"@iconify/utils": "workspace:^"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/node": "^18.17.1",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.9.0",
"eslint-plugin-prettier": "^5.0.0",
"rimraf": "^5.0.1",
"typescript": "^5.1.6",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.31",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^5.1.3",
"rimraf": "^5.0.5",
"typescript": "^5.4.5",
"unbuild": "^1.2.1",
"vitest": "^0.34.1"
"vitest": "^0.34.6"
}
}

View File

@ -18,6 +18,6 @@
"directory": "packages/types"
},
"devDependencies": {
"typescript": "^5.1.6"
"typescript": "^5.4.5"
}
}

View File

@ -409,25 +409,25 @@
],
"dependencies": {
"@antfu/install-pkg": "^0.1.1",
"@antfu/utils": "^0.7.5",
"@antfu/utils": "^0.7.7",
"@iconify/types": "workspace:^",
"debug": "^4.3.4",
"kolorist": "^1.8.0",
"local-pkg": "^0.5.0",
"mlly": "^1.5.0"
"mlly": "^1.6.1"
},
"devDependencies": {
"@iconify-json/flat-color-icons": "^1.1.6",
"@types/debug": "^4.1.8",
"@types/jest": "^29.5.3",
"@types/node": "^18.17.1",
"@typescript-eslint/eslint-plugin": "^6.2.1",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.9.0",
"eslint-plugin-prettier": "^5.0.0",
"rimraf": "^5.0.1",
"typescript": "^5.1.6",
"@iconify-json/flat-color-icons": "^1.1.10",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/node": "^18.19.31",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "^5.1.3",
"rimraf": "^5.0.5",
"typescript": "^5.4.5",
"unbuild": "^1.2.1",
"vitest": "^0.34.1"
"vitest": "^0.34.6"
}
}

View File

@ -9,10 +9,10 @@
},
"keywords": [],
"devDependencies": {
"@iconify-json/mdi-light": "^1.1.6",
"@iconify-json/vscode-icons": "^1.1.24",
"@iconify-json/mdi-light": "^1.1.10",
"@iconify-json/vscode-icons": "^1.1.33",
"@iconify/tailwind": "workspace:*",
"@iconify/tools": "3.0.0-beta.3",
"tailwindcss": "^3.3.1"
"tailwindcss": "^3.4.3"
}
}

View File

@ -28,22 +28,22 @@
"@iconify/types": "workspace:^"
},
"devDependencies": {
"@iconify-json/line-md": "^1.1.24",
"@iconify-json/mdi-light": "^1.1.6",
"@iconify-json/line-md": "^1.1.37",
"@iconify-json/mdi-light": "^1.1.10",
"@iconify/utils": "workspace:^",
"@microsoft/api-extractor": "^7.35.1",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@types/jest": "^29.5.2",
"@types/jsdom": "^21.1.1",
"@types/node": "^18.16.16",
"@typescript-eslint/eslint-plugin": "^5.59.9",
"eslint": "^8.42.0",
"jest": "^29.5.0",
"@microsoft/api-extractor": "^7.43.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@types/jest": "^29.5.12",
"@types/jsdom": "^21.1.6",
"@types/node": "^18.19.31",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"rimraf": "^4.4.1",
"rollup": "^3.23.1",
"tailwindcss": "^3.3.2",
"ts-jest": "^29.1.0",
"typescript": "^5.1.3"
"rollup": "^3.29.4",
"tailwindcss": "^3.4.3",
"ts-jest": "^29.1.2",
"typescript": "^5.4.5"
}
}

File diff suppressed because it is too large Load Diff