Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Oct 5, 2024
1 parent f311013 commit 972d5e5
Show file tree
Hide file tree
Showing 15 changed files with 2,746 additions and 2,155 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@iconify-json/carbon": "^1.2.1",
"unocss": "^0.62.3",
"unocss": "^0.63.3",
"vitepress": "^1.3.4"
}
}
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
import antfu from '@antfu/eslint-config'

export default antfu()
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.11.3",
"private": true,
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.12.0",
"scripts": {
"build": "pnpm -r --filter=./packages/** run build",
"dev:prepare": "pnpm -r --filter=./packages/** run dev:prepare",
Expand All @@ -18,15 +18,15 @@
"prepare": "pnpm run dev:prepare"
},
"devDependencies": {
"@antfu/eslint-config": "^3.6.0",
"@types/node": "^20.16.5",
"bumpp": "^9.5.2",
"eslint": "^9.10.0",
"@antfu/eslint-config": "^3.7.3",
"@types/node": "^20.16.10",
"bumpp": "^9.6.1",
"eslint": "^9.12.0",
"happy-dom": "^15.7.4",
"typescript": "^5.5.4",
"unbuild": "^3.0.0-rc.7",
"vite": "^5.4.5",
"vitest": "^2.1.0",
"unbuild": "^3.0.0-rc.9",
"vite": "^5.4.8",
"vitest": "^2.1.2",
"vue-tsc": "^2.1.6"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@unlazy/core",
"type": "module",
"version": "0.11.3",
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.12.0",
"description": "Universal lazy loading library for placeholder images leveraging native browser APIs",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions packages/core/src/lazyLoad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ function updateSizesAttribute(
element.parentElement?.tagName.toLowerCase() === 'picture'
&& !options?.skipChildren
) {
[...element.parentElement.getElementsByTagName('source')].forEach(
sourceTag => updateSizesAttribute(sourceTag, { skipChildren: true }),
)
for (const sourceTag of [...element.parentElement.getElementsByTagName('source')]) {
updateSizesAttribute(sourceTag, { skipChildren: true })
}
}

if (options?.updateOnResize) {
Expand Down
14 changes: 7 additions & 7 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@unlazy/nuxt",
"version": "0.11.3",
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.12.0",
"description": "Nuxt lazy loading module for placeholder images",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -45,16 +45,16 @@
"test:types": "vue-tsc --noEmit"
},
"dependencies": {
"@nuxt/kit": "^3.13.1",
"@nuxt/kit": "^3.13.2",
"defu": "^6.1.4",
"unlazy": "workspace:*"
},
"devDependencies": {
"@nuxt/module-builder": "^0.8.4",
"@nuxt/schema": "^3.13.1",
"@types/node": "^20.16.5",
"@unocss/nuxt": "^0.62.3",
"@unocss/reset": "^0.62.3",
"nuxt": "^3.13.1"
"@nuxt/schema": "^3.13.2",
"@types/node": "^20.16.10",
"@unocss/nuxt": "^0.63.3",
"@unocss/reset": "^0.63.3",
"nuxt": "^3.13.2"
}
}
1 change: 1 addition & 0 deletions packages/react/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
import antfu from '@antfu/eslint-config'

export default antfu({
Expand Down
12 changes: 6 additions & 6 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@unlazy/react",
"type": "module",
"version": "0.11.3",
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.12.0",
"description": "React lazy loading library for placeholder images",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -48,13 +48,13 @@
"unlazy": "workspace:*"
},
"devDependencies": {
"@eslint-react/eslint-plugin": "^1.14.1",
"@types/node": "^20.16.5",
"@types/react": "^18.3.5",
"@eslint-react/eslint-plugin": "^1.14.3",
"@types/node": "^20.16.10",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react": "^4.3.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.11",
"eslint-plugin-react-refresh": "^0.4.12",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
Expand Down
1 change: 1 addition & 0 deletions packages/solid/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
import antfu from '@antfu/eslint-config'

export default antfu({
Expand Down
8 changes: 4 additions & 4 deletions packages/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@unlazy/solid",
"type": "module",
"version": "0.11.3",
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.12.0",
"description": "Solid lazy loading library for placeholder images",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -55,10 +55,10 @@
"unlazy": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.16.5",
"@types/node": "^20.16.10",
"eslint-plugin-solid": "^0.14.3",
"solid-js": "^1.8.22",
"tsup": "^8.2.4",
"solid-js": "^1.9.1",
"tsup": "^8.3.0",
"tsup-preset-solid": "^2.2.0",
"vite-plugin-solid": "^2.10.2"
}
Expand Down
1 change: 1 addition & 0 deletions packages/svelte/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-check
import antfu from '@antfu/eslint-config'

export default antfu(
Expand Down
12 changes: 6 additions & 6 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@unlazy/svelte",
"type": "module",
"version": "0.11.3",
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.12.0",
"description": "Svelte lazy loading library for placeholder images",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -55,12 +55,12 @@
"unlazy": "workspace:*"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.2.4",
"@sveltejs/kit": "^2.5.26",
"@sveltejs/package": "^2.3.4",
"eslint-plugin-svelte": "^2.44.0",
"@sveltejs/adapter-auto": "^3.2.5",
"@sveltejs/kit": "^2.6.1",
"@sveltejs/package": "^2.3.5",
"eslint-plugin-svelte": "^2.44.1",
"svelte": "^4.2.19",
"svelte-check": "^4.0.2",
"svelte-check": "^4.0.4",
"tslib": "^2.7.0"
}
}
2 changes: 1 addition & 1 deletion packages/unlazy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "unlazy",
"type": "module",
"version": "0.11.3",
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.12.0",
"description": "Universal lazy loading library for placeholder images leveraging native browser APIs",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@unlazy/vue",
"type": "module",
"version": "0.11.3",
"packageManager": "pnpm@9.10.0",
"packageManager": "pnpm@9.12.0",
"description": "Vue lazy loading library for placeholder images",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -59,8 +59,8 @@
"unlazy": "workspace:*"
},
"devDependencies": {
"@types/node": "^20.16.5",
"@vitejs/plugin-vue": "^5.1.3",
"vue": "^3.5.5"
"@types/node": "^20.16.10",
"@vitejs/plugin-vue": "^5.1.4",
"vue": "^3.5.11"
}
}
Loading

0 comments on commit 972d5e5

Please sign in to comment.