vite-imagetools
Advanced tools
Comparing version 7.0.2 to 7.0.4
import { basename, extname } from 'node:path'; | ||
import { join } from 'node:path/posix'; | ||
import { mkdirSync, statSync, createReadStream } from 'node:fs'; | ||
@@ -138,3 +137,3 @@ import { writeFile, readFile, opendir, stat, rm } from 'node:fs/promises'; | ||
else if (viteConfig.command === 'serve') { | ||
metadata.src = join((_f = (_e = viteConfig === null || viteConfig === void 0 ? void 0 : viteConfig.server) === null || _e === void 0 ? void 0 : _e.origin) !== null && _f !== void 0 ? _f : '', basePath) + id; | ||
metadata.src = ((_f = (_e = viteConfig === null || viteConfig === void 0 ? void 0 : viteConfig.server) === null || _e === void 0 ? void 0 : _e.origin) !== null && _f !== void 0 ? _f : '') + basePath + id; | ||
} | ||
@@ -141,0 +140,0 @@ else { |
{ | ||
"name": "vite-imagetools", | ||
"description": "Load and transform images using a toolbox of import directives!", | ||
"version": "7.0.2", | ||
"version": "7.0.4", | ||
"type": "module", | ||
@@ -33,3 +33,4 @@ "types": "dist/index.d.ts", | ||
"@rollup/pluginutils": "^5.0.5", | ||
"imagetools-core": "^7.0.0" | ||
"sharp": "^0.33.4", | ||
"imagetools-core": "^7.0.1" | ||
}, | ||
@@ -40,3 +41,3 @@ "devDependencies": { | ||
"@types/jsdom": "^21.1.1", | ||
"@types/picomatch": "^2.3.0", | ||
"@types/picomatch": "^3.0.0", | ||
"@vitest/coverage-v8": "^1.4.0", | ||
@@ -52,3 +53,3 @@ "jest-image-snapshot": "^6.2.0", | ||
"vitest": "^1.4.0", | ||
"imagetools-core": "^7.0.0" | ||
"imagetools-core": "^7.0.1" | ||
}, | ||
@@ -55,0 +56,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
43380
3
310
+ Addedsharp@^0.33.4
+ Added@emnapi/runtime@1.3.1(transitive)
+ Added@img/sharp-darwin-arm64@0.33.5(transitive)
+ Added@img/sharp-darwin-x64@0.33.5(transitive)
+ Added@img/sharp-libvips-darwin-arm64@1.0.4(transitive)
+ Added@img/sharp-libvips-darwin-x64@1.0.4(transitive)
+ Added@img/sharp-libvips-linux-arm@1.0.5(transitive)
+ Added@img/sharp-libvips-linux-arm64@1.0.4(transitive)
+ Added@img/sharp-libvips-linux-s390x@1.0.4(transitive)
+ Added@img/sharp-libvips-linux-x64@1.0.4(transitive)
+ Added@img/sharp-libvips-linuxmusl-arm64@1.0.4(transitive)
+ Added@img/sharp-libvips-linuxmusl-x64@1.0.4(transitive)
+ Added@img/sharp-linux-arm@0.33.5(transitive)
+ Added@img/sharp-linux-arm64@0.33.5(transitive)
+ Added@img/sharp-linux-s390x@0.33.5(transitive)
+ Added@img/sharp-linux-x64@0.33.5(transitive)
+ Added@img/sharp-linuxmusl-arm64@0.33.5(transitive)
+ Added@img/sharp-linuxmusl-x64@0.33.5(transitive)
+ Added@img/sharp-wasm32@0.33.5(transitive)
+ Added@img/sharp-win32-ia32@0.33.5(transitive)
+ Added@img/sharp-win32-x64@0.33.5(transitive)
+ Addedcolor@4.2.3(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcolor-string@1.9.1(transitive)
+ Addeddetect-libc@2.0.3(transitive)
+ Addedis-arrayish@0.3.2(transitive)
+ Addedsemver@7.7.1(transitive)
+ Addedsharp@0.33.5(transitive)
+ Addedsimple-swizzle@0.2.2(transitive)
+ Addedtslib@2.8.1(transitive)
Updatedimagetools-core@^7.0.1