Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Jul 9, 2024
1 parent 130aa22 commit ffd2f03
Show file tree
Hide file tree
Showing 13 changed files with 3,404 additions and 4,272 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
// Enable the ESLint flat config support
"eslint.experimental.useFlatConfig": true,
"eslint.useFlatConfig": true,

// Disable the default formatter, use ESLint instead
"prettier.enable": false,
Expand All @@ -15,6 +15,7 @@
// Silent the stylistic rules in you IDE, but still auto-fix them
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off" },
{ "rule": "format/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
Expand Down
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"serve": "vitepress serve"
},
"devDependencies": {
"@iconify-json/carbon": "^1.1.32",
"unocss": "^0.59.4",
"vitepress": "^1.1.4"
"@iconify-json/carbon": "^1.1.36",
"unocss": "^0.61.3",
"vitepress": "^1.3.0"
}
}
20 changes: 10 additions & 10 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.0.6",
"packageManager": "pnpm@9.5.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": "^2.16.1",
"@types/node": "^20.12.8",
"@antfu/eslint-config": "^2.21.3",
"@types/node": "^20.14.10",
"bumpp": "^9.4.1",
"eslint": "^9.2.0",
"happy-dom": "^14.7.1",
"typescript": "^5.4.5",
"unbuild": "^3.0.0-rc.1",
"vite": "^5.2.11",
"vitest": "^1.6.0",
"vue-tsc": "^2.0.16"
"eslint": "^9.6.0",
"happy-dom": "^14.12.3",
"typescript": "^5.5.3",
"unbuild": "^3.0.0-rc.6",
"vite": "^5.3.3",
"vitest": "^2.0.1",
"vue-tsc": "^2.0.26"
}
}
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.0.6",
"packageManager": "pnpm@9.5.0",
"description": "Universal lazy loading library for placeholder images leveraging native browser APIs",
"author": "Johann Schopplich <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const isSSR = typeof window === 'undefined'
export const isLazyLoadingSupported = !isSSR && 'loading' in HTMLImageElement.prototype
export const isCrawler = !isSSR && (!('onscroll' in window) || /(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent))
export const isCrawler = !isSSR && (!('onscroll' in window) || /(?:gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent))

export function toElementArray<T extends HTMLElement>(
target: string | T | NodeListOf<T> | T[],
Expand Down
16 changes: 8 additions & 8 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.0.6",
"packageManager": "pnpm@9.5.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.11.2",
"@nuxt/kit": "^3.12.3",
"defu": "^6.1.4",
"unlazy": "workspace:*"
},
"devDependencies": {
"@nuxt/module-builder": "^0.6.0",
"@nuxt/schema": "^3.11.2",
"@types/node": "^20.12.8",
"@unocss/nuxt": "^0.59.4",
"@unocss/reset": "^0.59.4",
"nuxt": "^3.11.2"
"@nuxt/module-builder": "^0.8.1",
"@nuxt/schema": "^3.12.3",
"@types/node": "^20.14.10",
"@unocss/nuxt": "^0.61.3",
"@unocss/reset": "^0.61.3",
"nuxt": "^3.12.3"
}
}
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.0.6",
"packageManager": "pnpm@9.5.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.5.10",
"@types/node": "^20.12.8",
"@types/react": "^18.3.1",
"@eslint-react/eslint-plugin": "^1.5.23",
"@types/node": "^20.14.10",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-react": "^4.3.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.6",
"eslint-plugin-react-refresh": "^0.4.7",
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
Expand Down
10 changes: 5 additions & 5 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.0.6",
"packageManager": "pnpm@9.5.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.12.8",
"eslint-plugin-solid": "^0.14.0",
"solid-js": "^1.8.17",
"tsup": "^8.0.2",
"@types/node": "^20.14.10",
"eslint-plugin-solid": "^0.14.1",
"solid-js": "^1.8.18",
"tsup": "^8.1.0",
"tsup-preset-solid": "^2.2.0",
"vite-plugin-solid": "^2.10.2"
}
Expand Down
16 changes: 8 additions & 8 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.0.6",
"packageManager": "pnpm@9.5.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.0",
"@sveltejs/kit": "^2.5.7",
"@sveltejs/package": "^2.3.1",
"eslint-plugin-svelte": "^2.38.0",
"svelte": "^4.2.15",
"svelte-check": "^3.7.1",
"tslib": "^2.6.2"
"@sveltejs/adapter-auto": "^3.2.2",
"@sveltejs/kit": "^2.5.18",
"@sveltejs/package": "^2.3.2",
"eslint-plugin-svelte": "^2.41.0",
"svelte": "^4.2.18",
"svelte-check": "^3.8.4",
"tslib": "^2.6.3"
}
}
5 changes: 3 additions & 2 deletions packages/svelte/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"module": "ESNext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"allowJs": true,
"checkJs": true,
"strict": true,
"sourceMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"verbatimModuleSyntax": true,
"skipLibCheck": true
}
}
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.0.6",
"packageManager": "pnpm@9.5.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.0.6",
"packageManager": "pnpm@9.5.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.12.8",
"@vitejs/plugin-vue": "^5.0.4",
"vue": "^3.4.26"
"@types/node": "^20.14.10",
"@vitejs/plugin-vue": "^5.0.5",
"vue": "^3.4.31"
}
}
Loading

0 comments on commit ffd2f03

Please sign in to comment.