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

fix: update eik dependencies #609

Merged
merged 3 commits into from
Nov 15, 2024
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
20 changes: 11 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"eik-service": "bin/eik-server.js",
"service": "bin/eik-server.js"
},
"engines": {
"node": ">=20.5.0"
},
"scripts": {
"clean": "rimraf .tap node_modules types",
"lint": "eslint .",
Expand Down Expand Up @@ -41,10 +44,10 @@
},
"homepage": "https://github.com/eik-lib/service#readme",
"dependencies": {
"@eik/core": "1.4.2",
"@eik/core": "2.0.0",
"@eik/sink": "1.2.5",
"@eik/sink-file-system": "1.0.1",
"@eik/sink-memory": "1.1.2",
"@eik/sink-file-system": "2.0.0",
"@eik/sink-memory": "2.0.0",
"@fastify/compress": "8.0.1",
"@fastify/cors": "10.0.1",
"@fastify/jwt": "9.0.1",
Expand All @@ -59,19 +62,18 @@
"@eik/prettier-config": "1.0.1",
"@eik/semantic-release-config": "1.0.0",
"@eik/typescript-config": "1.0.0",
"@types/mime": "3.0.4",
"@types/readable-stream": "4.0.18",
"cross-env": "7.0.3",
"eslint": "9.13.0",
"eslint": "9.14.0",
"form-data": "4.0.1",
"node-fetch": "3.3.2",
"npm-run-all2": "5.0.2",
"npm-run-all2": "7.0.1",
"pino-pretty": "10.3.1",
"prettier": "3.3.3",
"rimraf": "6.0.1",
"semantic-release": "24.1.2",
"semantic-release": "24.2.0",
"tap": "21.0.1",
"typescript": "5.5.4",
"unique-slug": "4.0.0"
"typescript": "5.6.3",
"unique-slug": "5.0.0"
}
}
34 changes: 21 additions & 13 deletions tap-snapshots/test/alias.npm.js.test.cjs

Large diffs are not rendered by default.

34 changes: 21 additions & 13 deletions tap-snapshots/test/alias.npm.test.js.test.cjs

Large diffs are not rendered by default.

34 changes: 21 additions & 13 deletions tap-snapshots/test/alias.pkg.js.test.cjs

Large diffs are not rendered by default.

34 changes: 21 additions & 13 deletions tap-snapshots/test/alias.pkg.test.js.test.cjs

Large diffs are not rendered by default.

46 changes: 29 additions & 17 deletions tap-snapshots/test/img.test.js.test.cjs

Large diffs are not rendered by default.

46 changes: 29 additions & 17 deletions tap-snapshots/test/npm.js.test.cjs

Large diffs are not rendered by default.

46 changes: 29 additions & 17 deletions tap-snapshots/test/npm.test.js.test.cjs

Large diffs are not rendered by default.

42 changes: 25 additions & 17 deletions tap-snapshots/test/pkg-put-write-integrity.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/pkg-put-write-integrity.js > TAP > Sink is slow and irregular - Writing medium sized package > on GET of package, response should match snapshot 1`] = `
"use strict";
exports[
`test/pkg-put-write-integrity.js > TAP > Sink is slow and irregular - Writing medium sized package > on GET of package, response should match snapshot 1`
] = `
Object {
"author": Object {
"name": "Generic User",
Expand All @@ -15,7 +17,7 @@ Object {
"files": Array [
Object {
"integrity": "sha512-Zj50Kiwn7v4iAet6KFYEjmWCvqEiEN57F/THmKDc7kNj1e4CUhXpB4aVx8DjSc7ukLb0/EbQkSjKL3GME7SxLQ==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/main/index.js",
"size": 75174,
"type": "pkg",
Expand All @@ -29,7 +31,7 @@ Object {
},
Object {
"integrity": "sha512-Ko2/O2KvStydbk9fmFWwPuW0Mp27oFK9OdT4DdJSIz57w3LvQgJuB5VxmLR+WccLoDo/F47G8w2fVmcJ0t6mfA==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/ie11/index.js",
"size": 75449,
"type": "pkg",
Expand Down Expand Up @@ -70,9 +72,11 @@ Object {
"type": "pkg",
"version": "2.1.4",
}
`
`;

exports[`test/pkg-put-write-integrity.js > TAP > Sink is slow and irregular - Writing small sized package > on GET of package, response should match snapshot 1`] = `
exports[
`test/pkg-put-write-integrity.js > TAP > Sink is slow and irregular - Writing small sized package > on GET of package, response should match snapshot 1`
] = `
Object {
"author": Object {
"name": "Generic User",
Expand All @@ -82,7 +86,7 @@ Object {
"files": Array [
Object {
"integrity": "sha512-lq9ovpg4+LD6vF+yOFaZTnuT43fVPmCDg9FjFKl4TM3/UI8TrXeQa3WlpkoFB1WoucVwQcP9pFvZrBjtts4uHA==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/main/index.js",
"size": 83,
"type": "pkg",
Expand All @@ -96,7 +100,7 @@ Object {
},
Object {
"integrity": "sha512-i1oU4MCMKNS1akPh2DGG4w4SKDxj0mg7XW7jvIGx+/6wRxWREm5CCLhugpsnzc8MvhBW1h/7AT3nINtGT++nTQ==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/ie11/index.js",
"size": 111,
"type": "pkg",
Expand Down Expand Up @@ -130,9 +134,11 @@ Object {
"type": "pkg",
"version": "7.1.3",
}
`
`;

exports[`test/pkg-put-write-integrity.js > TAP > Sink is slow to construct writer - Writing medium sized package > on GET of package, response should match snapshot 1`] = `
exports[
`test/pkg-put-write-integrity.js > TAP > Sink is slow to construct writer - Writing medium sized package > on GET of package, response should match snapshot 1`
] = `
Object {
"author": Object {
"name": "Generic User",
Expand All @@ -142,7 +148,7 @@ Object {
"files": Array [
Object {
"integrity": "sha512-Zj50Kiwn7v4iAet6KFYEjmWCvqEiEN57F/THmKDc7kNj1e4CUhXpB4aVx8DjSc7ukLb0/EbQkSjKL3GME7SxLQ==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/main/index.js",
"size": 75174,
"type": "pkg",
Expand All @@ -156,7 +162,7 @@ Object {
},
Object {
"integrity": "sha512-Ko2/O2KvStydbk9fmFWwPuW0Mp27oFK9OdT4DdJSIz57w3LvQgJuB5VxmLR+WccLoDo/F47G8w2fVmcJ0t6mfA==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/ie11/index.js",
"size": 75449,
"type": "pkg",
Expand Down Expand Up @@ -197,9 +203,11 @@ Object {
"type": "pkg",
"version": "2.1.4",
}
`
`;

exports[`test/pkg-put-write-integrity.js > TAP > Sink is slow to construct writer - Writing small sized package > on GET of package, response should match snapshot 1`] = `
exports[
`test/pkg-put-write-integrity.js > TAP > Sink is slow to construct writer - Writing small sized package > on GET of package, response should match snapshot 1`
] = `
Object {
"author": Object {
"name": "Generic User",
Expand All @@ -209,7 +217,7 @@ Object {
"files": Array [
Object {
"integrity": "sha512-lq9ovpg4+LD6vF+yOFaZTnuT43fVPmCDg9FjFKl4TM3/UI8TrXeQa3WlpkoFB1WoucVwQcP9pFvZrBjtts4uHA==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/main/index.js",
"size": 83,
"type": "pkg",
Expand All @@ -223,7 +231,7 @@ Object {
},
Object {
"integrity": "sha512-i1oU4MCMKNS1akPh2DGG4w4SKDxj0mg7XW7jvIGx+/6wRxWREm5CCLhugpsnzc8MvhBW1h/7AT3nINtGT++nTQ==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/ie11/index.js",
"size": 111,
"type": "pkg",
Expand Down Expand Up @@ -257,4 +265,4 @@ Object {
"type": "pkg",
"version": "7.1.3",
}
`
`;
42 changes: 25 additions & 17 deletions tap-snapshots/test/pkg-put-write-integrity.test.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
* Re-generate by setting TAP_SNAPSHOT=1 and running tests.
* Make sure to inspect the output below. Do not ignore changes!
*/
'use strict'
exports[`test/pkg-put-write-integrity.test.js > TAP > Sink is slow and irregular - Writing medium sized package > on GET of package, response should match snapshot 1`] = `
"use strict";
exports[
`test/pkg-put-write-integrity.test.js > TAP > Sink is slow and irregular - Writing medium sized package > on GET of package, response should match snapshot 1`
] = `
Object {
"author": Object {
"name": "Generic User",
Expand All @@ -15,7 +17,7 @@ Object {
"files": Array [
Object {
"integrity": "sha512-Zj50Kiwn7v4iAet6KFYEjmWCvqEiEN57F/THmKDc7kNj1e4CUhXpB4aVx8DjSc7ukLb0/EbQkSjKL3GME7SxLQ==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/main/index.js",
"size": 75174,
"type": "pkg",
Expand All @@ -29,7 +31,7 @@ Object {
},
Object {
"integrity": "sha512-Ko2/O2KvStydbk9fmFWwPuW0Mp27oFK9OdT4DdJSIz57w3LvQgJuB5VxmLR+WccLoDo/F47G8w2fVmcJ0t6mfA==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/ie11/index.js",
"size": 75449,
"type": "pkg",
Expand Down Expand Up @@ -70,9 +72,11 @@ Object {
"type": "pkg",
"version": "2.1.4",
}
`
`;

exports[`test/pkg-put-write-integrity.test.js > TAP > Sink is slow and irregular - Writing small sized package > on GET of package, response should match snapshot 1`] = `
exports[
`test/pkg-put-write-integrity.test.js > TAP > Sink is slow and irregular - Writing small sized package > on GET of package, response should match snapshot 1`
] = `
Object {
"author": Object {
"name": "Generic User",
Expand All @@ -82,7 +86,7 @@ Object {
"files": Array [
Object {
"integrity": "sha512-lq9ovpg4+LD6vF+yOFaZTnuT43fVPmCDg9FjFKl4TM3/UI8TrXeQa3WlpkoFB1WoucVwQcP9pFvZrBjtts4uHA==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/main/index.js",
"size": 83,
"type": "pkg",
Expand All @@ -96,7 +100,7 @@ Object {
},
Object {
"integrity": "sha512-i1oU4MCMKNS1akPh2DGG4w4SKDxj0mg7XW7jvIGx+/6wRxWREm5CCLhugpsnzc8MvhBW1h/7AT3nINtGT++nTQ==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/ie11/index.js",
"size": 111,
"type": "pkg",
Expand Down Expand Up @@ -130,9 +134,11 @@ Object {
"type": "pkg",
"version": "7.1.3",
}
`
`;

exports[`test/pkg-put-write-integrity.test.js > TAP > Sink is slow to construct writer - Writing medium sized package > on GET of package, response should match snapshot 1`] = `
exports[
`test/pkg-put-write-integrity.test.js > TAP > Sink is slow to construct writer - Writing medium sized package > on GET of package, response should match snapshot 1`
] = `
Object {
"author": Object {
"name": "Generic User",
Expand All @@ -142,7 +148,7 @@ Object {
"files": Array [
Object {
"integrity": "sha512-Zj50Kiwn7v4iAet6KFYEjmWCvqEiEN57F/THmKDc7kNj1e4CUhXpB4aVx8DjSc7ukLb0/EbQkSjKL3GME7SxLQ==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/main/index.js",
"size": 75174,
"type": "pkg",
Expand All @@ -156,7 +162,7 @@ Object {
},
Object {
"integrity": "sha512-Ko2/O2KvStydbk9fmFWwPuW0Mp27oFK9OdT4DdJSIz57w3LvQgJuB5VxmLR+WccLoDo/F47G8w2fVmcJ0t6mfA==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/ie11/index.js",
"size": 75449,
"type": "pkg",
Expand Down Expand Up @@ -197,9 +203,11 @@ Object {
"type": "pkg",
"version": "2.1.4",
}
`
`;

exports[`test/pkg-put-write-integrity.test.js > TAP > Sink is slow to construct writer - Writing small sized package > on GET of package, response should match snapshot 1`] = `
exports[
`test/pkg-put-write-integrity.test.js > TAP > Sink is slow to construct writer - Writing small sized package > on GET of package, response should match snapshot 1`
] = `
Object {
"author": Object {
"name": "Generic User",
Expand All @@ -209,7 +217,7 @@ Object {
"files": Array [
Object {
"integrity": "sha512-lq9ovpg4+LD6vF+yOFaZTnuT43fVPmCDg9FjFKl4TM3/UI8TrXeQa3WlpkoFB1WoucVwQcP9pFvZrBjtts4uHA==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/main/index.js",
"size": 83,
"type": "pkg",
Expand All @@ -223,7 +231,7 @@ Object {
},
Object {
"integrity": "sha512-i1oU4MCMKNS1akPh2DGG4w4SKDxj0mg7XW7jvIGx+/6wRxWREm5CCLhugpsnzc8MvhBW1h/7AT3nINtGT++nTQ==",
"mimeType": "application/javascript",
"mimeType": "text/javascript",
"pathname": "/ie11/index.js",
"size": 111,
"type": "pkg",
Expand Down Expand Up @@ -257,4 +265,4 @@ Object {
"type": "pkg",
"version": "7.1.3",
}
`
`;
Loading