Comparing version 2.0.0-0 to 2.0.0-1
@@ -131,3 +131,7 @@ import { Color, KernelEnum, Sharp, SharpOptions } from 'sharp'; | ||
declare function createIPXH3Handler(ipx: IPX): h3.EventHandler<h3.EventHandlerRequest, Promise<Buffer | null>>; | ||
declare function createIPXH3Handler(ipx: IPX): h3.EventHandler<h3.EventHandlerRequest, Promise<Buffer | { | ||
error: { | ||
message: string; | ||
}; | ||
} | null>>; | ||
declare function createIPXH3App(ipx: IPX): h3.App; | ||
@@ -134,0 +138,0 @@ declare function createIPXWebServer(ipx: IPX): h3.WebHandler; |
{ | ||
"name": "ipx", | ||
"version": "2.0.0-0", | ||
"version": "2.0.0-1", | ||
"repository": "unjs/ipx", | ||
@@ -27,2 +27,14 @@ "description": "High performance, secure and easy-to-use image optimizer.", | ||
], | ||
"scripts": { | ||
"build": "unbuild", | ||
"dev": "listhen -w playground", | ||
"ipx": "jiti ./src/cli.ts", | ||
"lint": "eslint --ext .ts . && prettier -c src test", | ||
"lint:fix": "eslint --ext .ts . --fix && prettier -w src test", | ||
"prepack": "pnpm build", | ||
"release": "pnpm test && changelogen --release --push && npm publish", | ||
"prerelease": "pnpm test && pnpm build && changelogen --release --prerelease --push --publish --publishTag next-2", | ||
"start": "node bin/ipx.js", | ||
"test": "pnpm lint && vitest run --coverage" | ||
}, | ||
"dependencies": { | ||
@@ -35,8 +47,8 @@ "@fastify/accept-negotiator": "^1.1.0", | ||
"etag": "^1.8.1", | ||
"h3": "^1.8.1", | ||
"h3": "^1.8.2", | ||
"image-meta": "^0.1.1", | ||
"listhen": "^1.5.2", | ||
"node-fetch-native": "^1.4.0", | ||
"listhen": "^1.5.5", | ||
"ofetch": "^1.3.3", | ||
"pathe": "^1.1.1", | ||
"sharp": "^0.32.5", | ||
"sharp": "^0.32.6", | ||
"ufo": "^1.3.0", | ||
@@ -48,5 +60,5 @@ "unstorage": "^1.9.0" | ||
"@types/is-valid-path": "^0.1.0", | ||
"@vitest/coverage-v8": "^0.34.4", | ||
"@vitest/coverage-v8": "^0.34.5", | ||
"changelogen": "^0.5.5", | ||
"eslint": "^8.49.0", | ||
"eslint": "^8.50.0", | ||
"eslint-config-unjs": "^0.2.1", | ||
@@ -58,16 +70,5 @@ "jiti": "^1.20.0", | ||
"unbuild": "^2.0.0", | ||
"vitest": "^0.34.4" | ||
"vitest": "^0.34.5" | ||
}, | ||
"packageManager": "pnpm@8.7.5", | ||
"scripts": { | ||
"build": "unbuild", | ||
"dev": "listhen -w playground", | ||
"ipx": "jiti ./src/cli.ts", | ||
"lint": "eslint --ext .ts . && prettier -c src test", | ||
"lint:fix": "eslint --ext .ts . --fix && prettier -w src test", | ||
"release": "pnpm test && changelogen --release --push && npm publish", | ||
"prerelease": "pnpm test && pnpm build && changelogen --release --prerelease --push --publish --publishTag v2", | ||
"start": "node bin/ipx.js", | ||
"test": "pnpm lint && vitest run --coverage" | ||
} | ||
"packageManager": "pnpm@8.8.0" | ||
} |
@@ -10,4 +10,4 @@ # 🖼️ IPX | ||
> [!IMPORTANT] | ||
> This is the development branch for IPX v2. Check out [ipx/v1](https://github.com/unjs/ipx/tree/v1) for latest stable docs. | ||
> [!IMPORTANT] | ||
> This is the development branch for IPX v2. Check out [ipx/v1](https://github.com/unjs/ipx/tree/v1) for latest stable docs and [#71](https://github.com/unjs/ipx/issues/171) for v2 roadmap. | ||
@@ -21,3 +21,3 @@ ## Using CLI | ||
```bash | ||
npx ipx@latest serve --dir ./ | ||
npx ipx@next-2 serve --dir ./ | ||
``` | ||
@@ -28,3 +28,3 @@ | ||
```bash | ||
bun x ipx@latest serve --dir ./ | ||
bun x npx ipx@next-2 serve --dir ./ | ||
``` | ||
@@ -44,3 +44,3 @@ | ||
ipxHttpStorage, | ||
} from "./src"; | ||
} from "ipx"; | ||
@@ -47,0 +47,0 @@ const ipx = createIPX({ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
76146
1758
1
16
+ Addedofetch@^1.3.3
- Removednode-fetch-native@^1.4.0
Updatedh3@^1.8.2
Updatedlisthen@^1.5.5
Updatedsharp@^0.32.6