Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade dependencies to their latest versions #373

Merged
merged 2 commits into from
Nov 24, 2023
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 .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"env": {
"mocha": true
},
"ignorePatterns": ["dist", "coverage", ".nyc_output"]
"ignorePatterns": ["dist", "coverage", ".nyc_output", "examples"]
}
16 changes: 8 additions & 8 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import ObserveWriteStream from './lib/observe_write_stream'
import { parameters, refreshTiming, defaultTiming } from './lib/parameters'
import { isIPv6 } from 'net'
import { registerOption, registerFormat, ignoreOption } from './lib/option_converter'
import { CoapServerOptions, requestListener, CoapRequestParams, ParametersUpdate, AgentOptions, CoapPacket, Option, OptionValue } from './models/models'
import type { CoapServerOptions, requestListener, CoapRequestParams, ParametersUpdate, AgentOptions, CoapPacket, Option, OptionValue } from './models/models'

export let globalAgent = new Agent({ type: 'udp4' })
export let globalAgentIPv6 = new Agent({ type: 'udp6' })
Expand Down Expand Up @@ -98,11 +98,11 @@ export {
ObserveWriteStream,
Agent,
Server,
ParametersUpdate,
CoapRequestParams,
AgentOptions,
CoapPacket,
Option,
OptionValue,
CoapServerOptions
type ParametersUpdate,
type CoapRequestParams,
type AgentOptions,
type CoapPacket,
type Option,
type OptionValue,
type CoapServerOptions
}
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"prepublishOnly": "npm run build",
"test": "mocha ./dist/test --exit",
"coverage": "c8 -a --reporter=lcov --reporter=text --reporter=html npm run test",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
"lint": "eslint *.ts",
"lint:fix": "eslint *.ts --fix"
},
"repository": {
"type": "git",
Expand All @@ -35,23 +35,23 @@
"@types/chai": "^4.3.3",
"@types/debug": "^4.1.7",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.0",
"@types/node": "^20.9.2",
"@types/sinon": "^10.0.13",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"chai": "^4.3.6",
"eslint": "^8.25.0",
"eslint-config-standard-with-typescript": "^24.0.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.3.0",
"eslint-plugin-n": "^16.3.1",
"eslint-plugin-promise": "^6.1.0",
"mocha": "^10.1.0",
"c8": "^7.12.0",
"c8": "^8.0.1",
"sinon": "^12.0.1",
"source-map-support": "^0.5.21",
"timekeeper": "^2.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
"typescript": "^5.2.2"
},
"dependencies": {
"@types/lru-cache": "^7.10.10",
Expand Down
Loading