Skip to content

Commit 9cdc64c

Browse files
committed
Update dependencies and ESLint config
1 parent 9f4e5ec commit 9cdc64c

9 files changed

+1245
-889
lines changed

Diff for: eslint.config.mjs

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import loguxTsConfig from '@logux/eslint-config/ts'
2+
3+
export default [
4+
...loguxTsConfig,
5+
{
6+
files: ['test/update.js'],
7+
rules: {
8+
'n/no-missing-require': 'off'
9+
}
10+
}
11+
]

Diff for: get.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
let https = require('node:https')
2-
let pico = require('picocolors')
32
let zlib = require('node:zlib')
3+
let pico = require('picocolors')
44

55
function showError(url, message) {
66
process.stderr.write(

Diff for: index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
let testOnReal = require('./test-on-real')
21
let eachTest = require('./each-test')
3-
let testPath = require('./test-path')
42
let jsonify = require('./jsonify')
3+
let testOnReal = require('./test-on-real')
4+
let testPath = require('./test-path')
55

66
module.exports = { eachTest, jsonify, testOnReal, testPath }

Diff for: index.mjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import testOnReal from './test-on-real.js'
21
import eachTest from './each-test.js'
3-
import testPath from './test-path.js'
42
import jsonify from './jsonify.js'
3+
import testOnReal from './test-on-real.js'
4+
import testPath from './test-path.js'
55

6-
export { jsonify, testPath, eachTest, testOnReal }
6+
export { eachTest, jsonify, testOnReal, testPath }

Diff for: package.json

+6-24
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
}
2828
],
2929
"dependencies": {
30-
"picocolors": "^1.0.0"
30+
"picocolors": "^1.1.1"
3131
},
3232
"exports": {
3333
".": {
@@ -37,31 +37,13 @@
3737
"./package.json": "./package.json"
3838
},
3939
"devDependencies": {
40-
"@logux/eslint-config": "^52.0.1",
41-
"clean-publish": "^4.2.0",
42-
"eslint": "^8.51.0",
43-
"eslint-config-standard": "^17.1.0",
44-
"eslint-plugin-import": "^2.28.1",
45-
"eslint-plugin-n": "^16.1.0",
46-
"eslint-plugin-node-import": "^1.0.4",
47-
"eslint-plugin-perfectionist": "^2.1.0",
48-
"eslint-plugin-prefer-let": "^3.0.1",
49-
"eslint-plugin-promise": "^6.1.1",
50-
"postcss": "^8.4.31",
51-
"typescript": "^5.2.2",
40+
"@logux/eslint-config": "^53.5.1",
41+
"clean-publish": "^5.1.0",
42+
"eslint": "^9.20.0",
43+
"postcss": "^8.5.1",
44+
"typescript": "^5.7.3",
5245
"uvu": "^0.5.6"
5346
},
54-
"eslintConfig": {
55-
"extends": "@logux/eslint-config",
56-
"overrides": [
57-
{
58-
"files": "test/update.js",
59-
"rules": {
60-
"n/no-missing-require": "off"
61-
}
62-
}
63-
]
64-
},
6547
"prettier": {
6648
"arrowParens": "avoid",
6749
"jsxSingleQuote": false,

0 commit comments

Comments
 (0)