Skip to content

Commit

Permalink
chore: Updated TypeScript configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShogunPanda committed Jan 24, 2024
1 parent 1482e06 commit 049c51d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
"version": "5.0.0",
"description": "A module that finds the size and type of an image by fetching and reading as little data as needed.",
"homepage": "https://sw.cowtech.it/fastimage",
"repository": "github:ShogunPanda/fastimage",
"repository": {
"type": "git",
"url": "git+https://github.com/ShogunPanda/fastimage.git"
},
"keywords": [
"fast",
"fastimage",
Expand Down Expand Up @@ -51,19 +54,19 @@
"postpublish": "git push origin && git push origin -f --tags"
},
"dependencies": {
"image-size": "^1.0.2",
"undici": "^6.1.0"
"image-size": "^1.1.1",
"undici": "^6.4.0"
},
"devDependencies": {
"@cowtech/eslint-config": "^9.0.0",
"@swc/cli": "^0.1.63",
"@swc/core": "^1.3.101",
"@types/node": "^20.10.5",
"@cowtech/eslint-config": "^9.0.3",
"@swc/cli": "^0.2.3",
"@swc/core": "^1.3.105",
"@types/node": "^20.11.6",
"@types/tap": "^15.0.11",
"c8": "^8.0.1",
"c8": "^9.1.0",
"chokidar": "^3.5.3",
"concurrently": "^8.2.2",
"prettier": "^3.1.1",
"prettier": "^3.2.4",
"tap": "^18.6.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
Expand Down
2 changes: 1 addition & 1 deletion src/internals.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import imageSize from 'image-size'
import { imageSize } from 'image-size'
import type EventEmitter from 'node:events'
import { createReadStream } from 'node:fs'
import { type IncomingHttpHeaders } from 'node:http'
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "node",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"jsx": "preserve",
"declaration": true,
"outDir": "dist",
Expand Down

0 comments on commit 049c51d

Please sign in to comment.