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

feat: update deps & nodejs 22 #2573

Merged
merged 17 commits into from
Jan 8, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
chore: lint
rolljee committed Jan 7, 2025
commit 32131995c8675fd51374d0e36d869e45f183a137
4 changes: 2 additions & 2 deletions lib/core/security/tokenRepository.ts
Original file line number Diff line number Diff line change
@@ -225,8 +225,8 @@ export class TokenRepository extends ObjectRepository<Token> {
const maxTTL =
type === "apiKey"
? global.kuzzle.config.security.apiKey.maxTTL
: global.kuzzle.config.security.authToken.maxTTL ??
global.kuzzle.config.security.jwt.maxTTL;
: (global.kuzzle.config.security.authToken.maxTTL ??
global.kuzzle.config.security.jwt.maxTTL);

if (
!bypassMaxTTL &&
8,228 changes: 5,279 additions & 2,949 deletions package-lock.json

Large diffs are not rendered by default.


Unchanged files with check annotations Beta

if (this.config.configs) {
this.log.ok("Configuration files loaded:");
this.config.configs.forEach((f) => this.log.print(`\t- ${f}`));

Check warning on line 65 in bin/.upgrades/lib/context.js

GitHub Actions / Lint - Node.js (20)

Prefer for...of instead of Array.forEach

Check warning on line 65 in bin/.upgrades/lib/context.js

GitHub Actions / Lint - Node.js (18)

Prefer for...of instead of Array.forEach

Check warning on line 65 in bin/.upgrades/lib/context.js

GitHub Actions / Lint - Node.js (16)

Prefer for...of instead of Array.forEach
}
this.version = await this.getVersions();
properties: {
job: { type: "keyword" },
name: { type: "keyword" },
age: { type: "integer" },

Check warning on line 10 in features/fixtures/mappings.js

GitHub Actions / Lint - Node.js (20)

Expected object keys to be in ascending order. 'age' should be before 'name'

Check warning on line 10 in features/fixtures/mappings.js

GitHub Actions / Lint - Node.js (18)

Expected object keys to be in ascending order. 'age' should be before 'name'

Check warning on line 10 in features/fixtures/mappings.js

GitHub Actions / Lint - Node.js (16)

Expected object keys to be in ascending order. 'age' should be before 'name'
city: { type: "keyword" },
},
},
},
"mtp-open-data": {

Check warning on line 15 in features/fixtures/mappings.js

GitHub Actions / Lint - Node.js (20)

Expected object keys to be in ascending order. 'mtp-open-data' should be before 'nyc-open-data'

Check warning on line 15 in features/fixtures/mappings.js

GitHub Actions / Lint - Node.js (18)

Expected object keys to be in ascending order. 'mtp-open-data' should be before 'nyc-open-data'

Check warning on line 15 in features/fixtures/mappings.js

GitHub Actions / Lint - Node.js (16)

Expected object keys to be in ascending order. 'mtp-open-data' should be before 'nyc-open-data'
"green-taxi": {
properties: {
job: { type: "keyword" },
name: { type: "keyword" },
age: { type: "integer" },

Check warning on line 20 in features/fixtures/mappings.js

GitHub Actions / Lint - Node.js (20)

Expected object keys to be in ascending order. 'age' should be before 'name'

Check warning on line 20 in features/fixtures/mappings.js

GitHub Actions / Lint - Node.js (18)

Expected object keys to be in ascending order. 'age' should be before 'name'

Check warning on line 20 in features/fixtures/mappings.js

GitHub Actions / Lint - Node.js (16)

Expected object keys to be in ascending order. 'age' should be before 'name'
city: { type: "keyword" },
},
},
credentials: {
local: {
username: "test-admin",
password: "password",

Check warning on line 14 in features/fixtures/permissions.js

GitHub Actions / Lint - Node.js (20)

Expected object keys to be in ascending order. 'password' should be before 'username'

Check warning on line 14 in features/fixtures/permissions.js

GitHub Actions / Lint - Node.js (18)

Expected object keys to be in ascending order. 'password' should be before 'username'

Check warning on line 14 in features/fixtures/permissions.js

GitHub Actions / Lint - Node.js (16)

Expected object keys to be in ascending order. 'password' should be before 'username'
},
},
},
"default-user": {

Check warning on line 18 in features/fixtures/permissions.js

GitHub Actions / Lint - Node.js (20)

Expected object keys to be in ascending order. 'default-user' should be before 'test-admin'

Check warning on line 18 in features/fixtures/permissions.js

GitHub Actions / Lint - Node.js (18)

Expected object keys to be in ascending order. 'default-user' should be before 'test-admin'

Check warning on line 18 in features/fixtures/permissions.js

GitHub Actions / Lint - Node.js (16)

Expected object keys to be in ascending order. 'default-user' should be before 'test-admin'
content: {
profileIds: ["default"],
},
credentials: {
local: {
username: "default-user",
password: "password",

Check warning on line 25 in features/fixtures/permissions.js

GitHub Actions / Lint - Node.js (20)

Expected object keys to be in ascending order. 'password' should be before 'username'

Check warning on line 25 in features/fixtures/permissions.js

GitHub Actions / Lint - Node.js (18)

Expected object keys to be in ascending order. 'password' should be before 'username'

Check warning on line 25 in features/fixtures/permissions.js

GitHub Actions / Lint - Node.js (16)

Expected object keys to be in ascending order. 'password' should be before 'username'
},
},
},
async function (username, password) {
this.props.result = await this.sdk.auth.login("local", {
username,
password,

Check warning on line 12 in features/step_definitions/auth-steps.js

GitHub Actions / Lint - Node.js (20)

Expected object keys to be in ascending order. 'password' should be before 'username'

Check warning on line 12 in features/step_definitions/auth-steps.js

GitHub Actions / Lint - Node.js (18)

Expected object keys to be in ascending order. 'password' should be before 'username'

Check warning on line 12 in features/step_definitions/auth-steps.js

GitHub Actions / Lint - Node.js (16)

Expected object keys to be in ascending order. 'password' should be before 'username'
});
},
);
const request = {
controller: "bulk",
action: "deleteByQuery",

Check warning on line 48 in features/step_definitions/bulk-steps.js

GitHub Actions / Lint - Node.js (20)

Expected object keys to be in ascending order. 'action' should be before 'controller'

Check warning on line 48 in features/step_definitions/bulk-steps.js

GitHub Actions / Lint - Node.js (18)

Expected object keys to be in ascending order. 'action' should be before 'controller'

Check warning on line 48 in features/step_definitions/bulk-steps.js

GitHub Actions / Lint - Node.js (16)

Expected object keys to be in ascending order. 'action' should be before 'controller'
index: this.props.index,
collection: this.props.collection,

Check warning on line 50 in features/step_definitions/bulk-steps.js

GitHub Actions / Lint - Node.js (20)

Expected object keys to be in ascending order. 'collection' should be before 'index'

Check warning on line 50 in features/step_definitions/bulk-steps.js

GitHub Actions / Lint - Node.js (18)

Expected object keys to be in ascending order. 'collection' should be before 'index'

Check warning on line 50 in features/step_definitions/bulk-steps.js

GitHub Actions / Lint - Node.js (16)

Expected object keys to be in ascending order. 'collection' should be before 'index'
refresh: "wait_for",
body: { query },
};