Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Dmitry Shirokov
Copyright (c) 2026 Dmitry Shirokov

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
testEnvironment: 'node',
testRegex: '.*test.ts$',
transform: { '^.+\\.ts?$': 'ts-jest' },
transform: { '^.+\\.ts?$': '@swc/jest' },
moduleFileExtensions: ['ts', 'js', 'json'],
rootDir: 'src',
collectCoverage: true,
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
"tiny-lru": "13.0.0"
},
"devDependencies": {
"@swc/core": "1.15.3",
"@swc/jest": "0.2.39",
"@types/ip6addr": "0.2.6",
"@types/jest": "30.0.0",
"@types/netmask": "2.0.6",
Expand All @@ -42,8 +44,7 @@
"prettier": "3.8.1",
"semantic-release": "25.0.3",
"sinon": "21.0.3",
"ts-jest": "29.4.6",
"typescript": "5.9.3"
"typescript": "6.0.2"
},
"repository": "https://github.com/runk/node-maxmind",
"bugs": {
Expand All @@ -63,7 +64,6 @@
"scripts": {
"build": "rm -rf lib/* && tsc",
"format": "prettier --write .",
"prepublish": "npm run build",
"semantic-release": "semantic-release",
"test": "jest"
},
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"removeComments": true,
"sourceMap": true,
"strict": true,
"types": ["node"],
"lib": ["ES2020"],
"target": "ES2020"
},
Expand Down