ipx 1.3.0 → 2.0.0-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "ipx",
3
- "version": "1.3.0",
3
+ "version": "2.0.0-0",
4
4
  "repository": "unjs/ipx",
5
+ "description": "High performance, secure and easy-to-use image optimizer.",
5
6
  "license": "MIT",
6
7
  "exports": {
7
8
  ".": {
@@ -23,43 +24,46 @@
23
24
  "dist",
24
25
  "bin"
25
26
  ],
26
- "scripts": {
27
- "build": "unbuild",
28
- "dev": "listhen -w playground",
29
- "lint": "eslint --ext .ts . && prettier -c src test",
30
- "lint:fix": "eslint --ext .ts . --fix && prettier -w src test",
31
- "prepack": "pnpm build",
32
- "release": "pnpm test && changelogen --release --push && npm publish",
33
- "start": "node bin/ipx.js",
34
- "test": "pnpm lint && vitest run --coverage"
35
- },
36
27
  "dependencies": {
37
28
  "@fastify/accept-negotiator": "^1.1.0",
29
+ "citty": "^0.1.4",
38
30
  "consola": "^3.2.3",
39
31
  "defu": "^6.1.2",
40
32
  "destr": "^2.0.1",
41
33
  "etag": "^1.8.1",
34
+ "h3": "^1.8.1",
42
35
  "image-meta": "^0.1.1",
43
- "listhen": "^1.4.4",
36
+ "listhen": "^1.5.2",
44
37
  "node-fetch-native": "^1.4.0",
45
38
  "pathe": "^1.1.1",
46
39
  "sharp": "^0.32.5",
47
40
  "ufo": "^1.3.0",
48
- "xss": "^1.0.14"
41
+ "unstorage": "^1.9.0"
49
42
  },
50
43
  "devDependencies": {
51
44
  "@types/etag": "^1.8.1",
52
45
  "@types/is-valid-path": "^0.1.0",
53
- "@vitest/coverage-v8": "^0.34.3",
46
+ "@vitest/coverage-v8": "^0.34.4",
54
47
  "changelogen": "^0.5.5",
55
- "eslint": "^8.48.0",
48
+ "eslint": "^8.49.0",
56
49
  "eslint-config-unjs": "^0.2.1",
57
- "jiti": "^1.19.3",
50
+ "jiti": "^1.20.0",
58
51
  "prettier": "^3.0.3",
59
52
  "serve-handler": "^6.1.5",
60
53
  "typescript": "^5.2.2",
61
54
  "unbuild": "^2.0.0",
62
- "vitest": "^0.34.3"
55
+ "vitest": "^0.34.4"
63
56
  },
64
- "packageManager": "pnpm@8.7.1"
57
+ "packageManager": "pnpm@8.7.5",
58
+ "scripts": {
59
+ "build": "unbuild",
60
+ "dev": "listhen -w playground",
61
+ "ipx": "jiti ./src/cli.ts",
62
+ "lint": "eslint --ext .ts . && prettier -c src test",
63
+ "lint:fix": "eslint --ext .ts . --fix && prettier -w src test",
64
+ "release": "pnpm test && changelogen --release --push && npm publish",
65
+ "prerelease": "pnpm test && pnpm build && changelogen --release --prerelease --push --publish --publishTag v2",
66
+ "start": "node bin/ipx.js",
67
+ "test": "pnpm lint && vitest run --coverage"
68
+ }
65
69
  }