Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Int 5556 dev tools 8.24.1 #548

Merged
merged 4 commits into from
Sep 26, 2022
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
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
"create-env-file": "yarn ts-node ./scripts/createEnvFile $1"
},
"peerDependencies": {
"@jupiterone/integration-sdk-core": "^8.22.2"
"@jupiterone/integration-sdk-core": "^8.24.1"
},
"devDependencies": {
"@jupiterone/integration-sdk-core": "^8.22.2",
"@jupiterone/integration-sdk-dev-tools": "^8.22.2",
"@jupiterone/integration-sdk-testing": "^8.22.2",
"@jupiterone/integration-sdk-core": "^8.24.1",
"@jupiterone/integration-sdk-dev-tools": "^8.24.1",
"@jupiterone/integration-sdk-testing": "^8.24.1",
"@types/bunyan": "^1.8.6",
"@types/bunyan-format": "^0.2.3",
"@types/node-fetch": "^2.5.10",
Expand Down
2 changes: 1 addition & 1 deletion scripts/createEnvFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ async function writeEnvFile(parsed: ParsedServiceAccountKeyFile) {

await writeEnvFile(parseServiceAccountKeyFile(serviceAccountKeyFile));
})().catch((err) => {
console.error(err, 'Error creating .env file');
console.error(err, 'Error creating .env file'); // eslint-disable-line no-console
});
1 change: 1 addition & 0 deletions src/steps/access-context-manager/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ declare global {
}
}

/* eslint-disable no-console */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think all of these local jest matchers could be replaced with .toTargetEntities() from the SDK, and be removed from this project. Would you be up for opening a follow-on PR to remove references of toCreateValidRelationshipsToEntities from this project?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey I can do this I went ahead and created a ticket for it https://jupiterone.atlassian.net/browse/INT-5632

expect.extend({
toCreateValidRelationshipsToEntities(
mappedRelationships: MappedRelationship[],
Expand Down
1 change: 1 addition & 0 deletions src/steps/billing-budgets/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ declare global {
}
}

/* eslint-disable no-console */
expect.extend({
toCreateValidRelationshipsToEntities(
mappedRelationships: MappedRelationship[],
Expand Down
1 change: 1 addition & 0 deletions src/steps/cloud-asset/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ import { CLOUD_FUNCTION_ENTITY_TYPE, fetchCloudFunctions } from '../functions';
import { IAM_MANAGED_ROLES_DATA_JOB_STATE_KEY } from '../../utils/iam';
import { fetchApiServices } from '../service-usage';

/* eslint-disable no-console */
expect.extend({
toHaveOnlyDirectRelationships(
collectedRelationships: Relationship[],
Expand Down
1 change: 1 addition & 0 deletions src/steps/compute/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3493,6 +3493,7 @@ declare global {
}
}

/* eslint-disable no-console */
expect.extend({
toCreateValidRelationshipsToEntities(
mappedRelationships: MappedRelationship[],
Expand Down
1 change: 1 addition & 0 deletions src/steps/resource-manager/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ declare global {
}
}

/* eslint-disable no-console */
expect.extend({
toCreateValidRelationshipsToEntities(
mappedRelationships: MappedRelationship[],
Expand Down
64 changes: 32 additions & 32 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -841,14 +841,14 @@
ajv "^8.0.0"
ajv-formats "^2.0.0"

"@jupiterone/integration-sdk-cli@^8.22.2":
version "8.22.2"
resolved "https://registry.yarnpkg.com/@jupiterone/integration-sdk-cli/-/integration-sdk-cli-8.22.2.tgz#45e21bc5dd0dc3dbbc0780e8bdfc133a1dc0e84c"
integrity sha512-eSaPT9UaP3c9mDbp31peJKdqf5FOzpDGLs0+da+y85hi5spm0+CMTtcUgQQqi5dgklDe1a4irVUeIZGaydWeQw==
"@jupiterone/integration-sdk-cli@^8.24.1":
version "8.24.1"
resolved "https://registry.yarnpkg.com/@jupiterone/integration-sdk-cli/-/integration-sdk-cli-8.24.1.tgz#058b0df651b811fe6984c194c57ab951e29dbbaa"
integrity sha512-O/RO+m24JKFYB0bqmX1MDnZKJhwB2zdx1/DWp2T5dXvfBVh+6y+M45ku1/FUriY0XgfHEe6CaGsLinrpCUxjFw==
dependencies:
"@jupiterone/integration-sdk-runtime" "^8.22.2"
"@jupiterone/integration-sdk-runtime" "^8.24.1"
chalk "^4"
commander "^5.0.0"
commander "^9.4.0"
fs-extra "^10.1.0"
globby "^11.0.0"
js-yaml "^4.1.0"
Expand All @@ -860,22 +860,22 @@
upath "^1.2.0"
vis "^4.21.0-EOL"

"@jupiterone/integration-sdk-core@^8.22.2":
version "8.22.2"
resolved "https://registry.yarnpkg.com/@jupiterone/integration-sdk-core/-/integration-sdk-core-8.22.2.tgz#b355e583374ffef0001891269788482d4f5eabcf"
integrity sha512-EmTTawsTThjYgnGYDstSXp6i87o/Hlr+hIT/zvPdWfYQBvGLbQ/SLNd6DaGlZjjpdxPvFlXHnkE8ZweOT/1JZg==
"@jupiterone/integration-sdk-core@^8.24.1":
version "8.24.1"
resolved "https://registry.yarnpkg.com/@jupiterone/integration-sdk-core/-/integration-sdk-core-8.24.1.tgz#4b2c634dd2bebdc8357f91c839decee22c3d4aee"
integrity sha512-1lITD34PUkwsehV6mjeKmP0RYFSX+5cnL/lbU5lazu9JD9z3HtOMlb7US7hzZLnQjXtc9r2gy0G6sZ6iN7oFLw==
dependencies:
"@jupiterone/data-model" "^0.51.0"
lodash "^4.17.21"
uuid "^8.3.2"

"@jupiterone/integration-sdk-dev-tools@^8.22.2":
version "8.22.2"
resolved "https://registry.yarnpkg.com/@jupiterone/integration-sdk-dev-tools/-/integration-sdk-dev-tools-8.22.2.tgz#2574b6fa7eb5dfa3d554b1c9914251ccd2f982bf"
integrity sha512-l6H3U9OkNA44rzYunnMB/IHCUSngHo6xq6wFyReRDp75xs/EjolbSaiFfaOQ8yF8zqIHYRlz4raMywQpeII4hw==
"@jupiterone/integration-sdk-dev-tools@^8.24.1":
version "8.24.1"
resolved "https://registry.yarnpkg.com/@jupiterone/integration-sdk-dev-tools/-/integration-sdk-dev-tools-8.24.1.tgz#79ba84c998bb6a9b6f7efb2d3ec5c5d5633e5b7e"
integrity sha512-TIBUm4AL/wJ5IfouvsUCXP22vnJ0NnQCdsYpm2heNjZYgHx4hBcWWUvv/nFg1wzCAwqAku6o+3+taUtNlZ0zUA==
dependencies:
"@jupiterone/integration-sdk-cli" "^8.22.2"
"@jupiterone/integration-sdk-testing" "^8.22.2"
"@jupiterone/integration-sdk-cli" "^8.24.1"
"@jupiterone/integration-sdk-testing" "^8.24.1"
"@types/jest" "^27.1.0"
"@types/node" "^14.0.5"
"@typescript-eslint/eslint-plugin" "^4.22.0"
Expand All @@ -891,12 +891,12 @@
ts-node "^9.1.1"
typescript "^4.2.4"

"@jupiterone/integration-sdk-runtime@^8.22.2":
version "8.22.2"
resolved "https://registry.yarnpkg.com/@jupiterone/integration-sdk-runtime/-/integration-sdk-runtime-8.22.2.tgz#535ac36f993f9fc5be05fc4dad178a48d5160ad1"
integrity sha512-raZEfF6AWaVxp7UokqeJbp+xBj0X5fOWKE8gx5uew6jdN+HhqHMk1OvRSKc12vAHvP1mJLd8FQqCliEbw/Nnlg==
"@jupiterone/integration-sdk-runtime@^8.24.1":
version "8.24.1"
resolved "https://registry.yarnpkg.com/@jupiterone/integration-sdk-runtime/-/integration-sdk-runtime-8.24.1.tgz#1173ca57f12617d66b4937f3fd42a6bbfbfb96d9"
integrity sha512-YPXAAptq5B2wSXwCpbzEKkIxujVyLZEBVdNcVlQfmNrzniBKKpzdfSUYXvyBj7hn28+Iost5+/cJnQzEkM4Mng==
dependencies:
"@jupiterone/integration-sdk-core" "^8.22.2"
"@jupiterone/integration-sdk-core" "^8.24.1"
"@lifeomic/alpha" "^1.4.0"
"@lifeomic/attempt" "^3.0.3"
async-sema "^3.1.0"
Expand All @@ -914,13 +914,13 @@
rimraf "^3.0.2"
uuid "^7.0.3"

"@jupiterone/integration-sdk-testing@^8.22.2":
version "8.22.2"
resolved "https://registry.yarnpkg.com/@jupiterone/integration-sdk-testing/-/integration-sdk-testing-8.22.2.tgz#fa2487ebbe7515f6dbe74e1a6d519faa8b614b87"
integrity sha512-mHZpH3kJc2m/R1dRt0Rfj9o5mzVg/6nCx2AlYnxX3TEC0Vr3R917a8KOCkg1tk46B/1ccyVToy+iCePJz58gbw==
"@jupiterone/integration-sdk-testing@^8.24.1":
version "8.24.1"
resolved "https://registry.yarnpkg.com/@jupiterone/integration-sdk-testing/-/integration-sdk-testing-8.24.1.tgz#84cf4824bd2d1dd4b108c89117a8da627fbd50e3"
integrity sha512-0fNtnAmUviWiwvagl2YvR1RCuHBRYhve2aEwF70S3KYUj/3rJD7Ywv5lixa/M5txR7zj2NZAwzw2GvnOK+uLHw==
dependencies:
"@jupiterone/integration-sdk-core" "^8.22.2"
"@jupiterone/integration-sdk-runtime" "^8.22.2"
"@jupiterone/integration-sdk-core" "^8.24.1"
"@jupiterone/integration-sdk-runtime" "^8.24.1"
"@pollyjs/adapter-node-http" "^6.0.5"
"@pollyjs/core" "^6.0.5"
"@pollyjs/persister-fs" "^6.0.5"
Expand Down Expand Up @@ -2140,16 +2140,16 @@ commander@^2.19.0:
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==

commander@^5.0.0:
version "5.1.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae"
integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==

commander@^6.2.0:
version "6.2.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c"
integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==

commander@^9.4.0:
version "9.4.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-9.4.0.tgz#bc4a40918fefe52e22450c111ecd6b7acce6f11c"
integrity sha512-sRPT+umqkz90UA8M1yqYfnHlZA7fF6nSphDtxeywPZ49ysjxDQybzk13CL+mXekDRG92skbcqCLVovuCusNmFw==

compare-versions@^3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62"
Expand Down