Socket
Socket
Sign inDemoInstall

@jupiterone/integration-sdk-core

Package Overview
Dependencies
Maintainers
1
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupiterone/integration-sdk-core - npm Package Compare versions

Comparing version 11.4.0 to 11.5.2

2

dist/src/data/createIntegrationEntity.d.ts

@@ -39,3 +39,3 @@ import { Entity } from '../types';

*/
source: ProviderSourceData;
source?: ProviderSourceData;
/**

@@ -42,0 +42,0 @@ * Literal property assignments. These values will override anything

@@ -24,3 +24,3 @@ "use strict";

const _rawData = [];
if (Object.entries(source).length > 0) {
if (source && Object.entries(source).length > 0) {
_rawData.push({ name: 'default', rawData: source });

@@ -33,3 +33,3 @@ }

const entity = {
...whitelistedProviderData(source, _class),
...(source ? whitelistedProviderData(source, _class) : {}),
...assign,

@@ -39,3 +39,3 @@ _class,

};
if (entity.createdOn === undefined) {
if (entity.createdOn === undefined && source) {
entity.createdOn =

@@ -48,3 +48,3 @@ (source.createdAt && (0, converters_1.parseTimePropertyValue)(source.createdAt)) ||

}
if (entity.active === undefined && source.status) {
if (entity.active === undefined && source && source.status) {
const isActive = new RegExp('(?<!in)active|enabled|online', 'i').test(source.status);

@@ -62,3 +62,3 @@ const isInactive = new RegExp('inactive|disabled|offline', 'i').test(source.status);

delete entity.tags;
(0, tagging_1.assignTags)(entity, source.tags, tagProperties);
(0, tagging_1.assignTags)(entity, source?.tags, tagProperties);
// `assignTags` may populate `displayName` from the `source.tags`. When there

@@ -65,0 +65,0 @@ // is an `assign.displayName`, use that instead assuming that an assigned

{
"name": "@jupiterone/integration-sdk-core",
"version": "11.4.0",
"version": "11.5.2",
"description": "The SDK for developing JupiterOne integrations",

@@ -32,3 +32,3 @@ "main": "dist/src/index.js",

},
"gitHead": "9b9e18d554b131ce0a71189d8ab47bc81e3ee633"
"gitHead": "4e90dab8ca3fd5209a1053d5112c91b571358642"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc