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
Prev Previous commit
Next Next commit
fix: tsconfig.json
rolljee committed Jan 7, 2025
commit 328a04d22ee6cb0310b5194e14afe1d8354361b3
6 changes: 5 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -16,7 +16,11 @@
},
"esModuleInterop": true,
"resolveJsonModule": true,
"skipDefaultLibCheck": true
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"types": [
"node"
]
},
"rootDir": "lib/",
"include": [

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 (16)

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 (20)

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 (16)

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 (20)

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 (16)

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 (20)

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 (16)

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 (20)

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 (16)

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 (20)

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 (16)

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 (20)

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 (16)

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 (20)

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 (16)

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 (20)

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 (16)

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 (20)

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 (16)

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 (20)

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