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
14 changes: 3 additions & 11 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
version: 2
updates:
- package-ecosystem: npm
directories:
- "/"
- "/benchmarks/*"
- "/docs/*"
- "/examples/*"
- "/interop/*"
- "/packages/*"
directory: "/"
schedule:
interval: daily
time: "10:00"
Expand All @@ -16,16 +10,14 @@ updates:
prefix: "deps"
prefix-development: "chore"
groups:
helia-deps: # group all deps that should be updated when Helia deps need updated
interplanetary-deps: # Helia/libp2p deps
patterns:
- "*helia*"
- "*libp2p*"
- "*multiformats*"
store-deps: # group all blockstore and datastore updates (interface & impl)
patterns:
- "*blockstore*"
- "*datastore*"
kubo-deps: # group kubo, kubo-rpc-client, and ipfsd-ctl updates
kubo-deps: # kubo deps
patterns:
- "*kubo*"
- "ipfsd-ctl"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ on:

jobs:
main:
uses: pl-strflt/.github/.github/workflows/reusable-semantic-pull-request.yml@v0.3
uses: ipdxco/unified-github-workflows/.github/workflows/reusable-semantic-pull-request.yml@v1
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Close Stale Issues
name: Close and mark stale issue

on:
schedule:
Expand Down
9 changes: 1 addition & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,6 @@
"import": "./dist/src/utils.js"
}
},
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"project": true,
"sourceType": "module"
}
},
"release": {
"branches": [
"main"
Expand Down Expand Up @@ -174,6 +167,6 @@
"multiformats": "^13.0.0"
},
"devDependencies": {
"aegir": "^46.0.1"
"aegir": "^47.0.19"
}
}
10 changes: 5 additions & 5 deletions test/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('multiaddr matcher', () => {

const goodTCP = [
...exactTCP,
'/ip4/0.0.7.6/tcp/wss',
'/ip4/0.0.7.6/tcp/0/wss',
'/ip6/::/tcp/0/p2p/QmTysQQiTGMdfRsDQp516oZ9bR3FiSCDnicUnqny2q1d79/p2p-circuit/p2p/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64',
'/dns4/protocol.ai/tcp/80/webrtc'
]
Expand Down Expand Up @@ -98,7 +98,7 @@ describe('multiaddr matcher', () => {

const badQUIC = [
'/ip4/0.0.0.0/tcp/12345/quic',
'/ip6/1.2.3.4/ip4/0.0.0.0/udp/1234/quic',
'/ip6/fc00::/ip4/0.0.0.0/udp/1234/quic',
'/quic'
]

Expand All @@ -117,7 +117,7 @@ describe('multiaddr matcher', () => {

const badQUICv1 = [
'/ip4/0.0.0.0/tcp/12345/quic-v1',
'/ip6/1.2.3.4/ip4/0.0.0.0/udp/1234/quic-v1',
'/ip6/fc00::/ip4/0.0.0.0/udp/1234/quic-v1',
'/quic-v1',
'/quic',
'/ip4/1.2.3.4/udp/1234/quic',
Expand Down Expand Up @@ -264,7 +264,7 @@ describe('multiaddr matcher', () => {
]

const badWebRTC = [
'/ip4/0.0.0.0/udp/webrtc',
'/ip4/0.0.0.0/udp/0/webrtc',
'/ip4/0.0.0.0/tcp/12345/udp/2222/wss/webrtc'
]

Expand Down Expand Up @@ -296,7 +296,7 @@ describe('multiaddr matcher', () => {
const badIPorDomain = [
'/webrtc/p2p/12D3KooWQF6Q3i1QkziJQ9mkNNcyFD8GPQz6R6oEvT75wgsVXm4v',
'/quic',
'/unix/var/log'
'/unix/var%2Flog'
]

const exactHTTP = [
Expand Down
4 changes: 1 addition & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"extends": "aegir/src/config/tsconfig.aegir.json",
"compilerOptions": {
"outDir": "dist",
"emitDeclarationOnly": false,
"module": "ES2020"
"outDir": "dist"
},
"include": [
"src",
Expand Down
1 change: 1 addition & 0 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"readme": "none",
"entryPoints": [
"./src/index.ts",
"./src/utils.ts"
Expand Down