-
Notifications
You must be signed in to change notification settings - Fork 128
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
Changes from 14 commits
563a6ba
fc7e7f6
136ba8d
3213199
328a04d
89ea98e
129e1d6
f582a9f
596f0a4
40a725c
58925b6
859c228
d1c8b43
32a2efd
24e5be6
c16d372
212e98e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* eslint-disable no-console */ | ||
|
||
"use strict"; | ||
|
||
const semver = require("semver"); | ||
const { engines } = require("./package.json"); | ||
|
||
const version = engines.node; | ||
const nodeVersion = process.version; | ||
|
||
if (!semver.satisfies(nodeVersion, version)) { | ||
console.error( | ||
"\x1b[31m%s\x1b[0m", | ||
`Required node version ${version} not satisfied with current version ${nodeVersion}`, | ||
); | ||
process.exit(1); | ||
} |
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
|
||
} | ||
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
|
||
city: { type: "keyword" }, | ||
}, | ||
}, | ||
}, | ||
"mtp-open-data": { | ||
Check warning on line 15 in features/fixtures/mappings.js
|
||
"green-taxi": { | ||
properties: { | ||
job: { type: "keyword" }, | ||
name: { type: "keyword" }, | ||
age: { type: "integer" }, | ||
Check warning on line 20 in features/fixtures/mappings.js
|
||
city: { type: "keyword" }, | ||
}, | ||
}, |
credentials: { | ||
local: { | ||
username: "test-admin", | ||
password: "password", | ||
Check warning on line 14 in features/fixtures/permissions.js
|
||
}, | ||
}, | ||
}, | ||
"default-user": { | ||
Check warning on line 18 in features/fixtures/permissions.js
|
||
content: { | ||
profileIds: ["default"], | ||
}, | ||
credentials: { | ||
local: { | ||
username: "default-user", | ||
password: "password", | ||
Check warning on line 25 in features/fixtures/permissions.js
|
||
}, | ||
}, | ||
}, |
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
|
||
}); | ||
}, | ||
); |
const request = { | ||
controller: "bulk", | ||
action: "deleteByQuery", | ||
Check warning on line 48 in features/step_definitions/bulk-steps.js
|
||
index: this.props.index, | ||
collection: this.props.collection, | ||
Check warning on line 50 in features/step_definitions/bulk-steps.js
|
||
refresh: "wait_for", | ||
body: { query }, | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
404 error on this link (but it's not the only one)
Could be replaced by this link: https://docs.kuzzle.io/core/2/api/controllers/security/create-first-admin/