Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ipx

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipx - npm Package Compare versions

Comparing version 2.0.0-0 to 2.0.0-1

dist/shared/ipx.57fad794.mjs

6

dist/index.d.ts

@@ -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;

41

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc