Comparing version 0.9.4 to 0.9.6
@@ -9,3 +9,3 @@ import { IncomingMessage, ServerResponse } from 'http'; | ||
declare type Source = (src: string, reqOptions?: any) => Promise<SourceData>; | ||
declare type SourceFactory = (options?: any) => Source; | ||
declare type SourceFactory<T = Record<string, any>> = (options: T) => Source; | ||
@@ -31,4 +31,6 @@ interface ImageMeta { | ||
dir?: false | string; | ||
maxAge?: number; | ||
domains?: false | string[]; | ||
alias: Record<string, string>; | ||
fetchOptions: RequestInit; | ||
sharp?: { | ||
@@ -35,0 +37,0 @@ [key: string]: any; |
{ | ||
"name": "ipx", | ||
"version": "0.9.4", | ||
"version": "0.9.6", | ||
"repository": "unjs/ipx", | ||
@@ -20,24 +20,14 @@ "license": "MIT", | ||
], | ||
"scripts": { | ||
"build": "unbuild", | ||
"dev": "nodemon", | ||
"lint": "eslint --ext .ts .", | ||
"prepack": "yarn build", | ||
"release": "yarn test && standard-version && git push --follow-tags && npm publish", | ||
"start": "node bin/ipx.js", | ||
"test": "yarn lint && jest" | ||
}, | ||
"dependencies": { | ||
"consola": "^2.15.3", | ||
"defu": "^5.0.1", | ||
"destr": "^1.1.0", | ||
"defu": "^6.0.0", | ||
"destr": "^1.1.1", | ||
"etag": "^1.8.1", | ||
"image-meta": "^0.1.1", | ||
"is-valid-path": "^0.1.1", | ||
"listhen": "^0.2.6", | ||
"ohmyfetch": "^0.4.15", | ||
"pathe": "^0.2.0", | ||
"sharp": "^0.30.1", | ||
"ufo": "^0.7.10", | ||
"xss": "^1.0.10" | ||
"listhen": "^0.2.13", | ||
"ohmyfetch": "^0.4.18", | ||
"pathe": "^0.3.0", | ||
"sharp": "^0.30.6", | ||
"ufo": "^0.8.4", | ||
"xss": "^1.0.13" | ||
}, | ||
@@ -48,14 +38,23 @@ "devDependencies": { | ||
"@types/is-valid-path": "latest", | ||
"@types/jest": "latest", | ||
"@types/node-fetch": "latest", | ||
"@types/sharp": "latest", | ||
"c8": "latest", | ||
"eslint": "latest", | ||
"jest": "latest", | ||
"jiti": "latest", | ||
"nodemon": "latest", | ||
"serve-handler": "^6.1.3", | ||
"standard-version": "latest", | ||
"ts-jest": "latest", | ||
"typescript": "latest", | ||
"unbuild": "latest" | ||
"unbuild": "latest", | ||
"vitest": "latest" | ||
}, | ||
"packageManager": "pnpm@7.3.0", | ||
"scripts": { | ||
"build": "unbuild", | ||
"dev": "nodemon", | ||
"lint": "eslint --ext .ts .", | ||
"release": "pnpm test && standard-version && git push --follow-tags && pnpm publish", | ||
"start": "node bin/ipx.js", | ||
"test": "pnpm lint && vitest run --coverage" | ||
} | ||
} | ||
} |
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
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
44455
11
1270
+ Addedpathe@0.3.9(transitive)
- Removedis-valid-path@^0.1.1
- Removeddefu@5.0.1(transitive)
- Removedis-extglob@1.0.0(transitive)
- Removedis-glob@2.0.1(transitive)
- Removedis-invalid-path@0.1.0(transitive)
- Removedis-valid-path@0.1.1(transitive)
- Removedpathe@0.2.0(transitive)
- Removedufo@0.7.11(transitive)
Updateddefu@^6.0.0
Updateddestr@^1.1.1
Updatedlisthen@^0.2.13
Updatedohmyfetch@^0.4.18
Updatedpathe@^0.3.0
Updatedsharp@^0.30.6
Updatedufo@^0.8.4
Updatedxss@^1.0.13