New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jitsu/catalog

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jitsu/catalog - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15-alpha.1

4

mockData/airbyte/sourcesLib/mockAirbyteSourcesLib.ts

@@ -1,3 +0,3 @@

import { AirbyteSource } from "catalog/sources/types"
import * as logos from "catalog/sources/lib/logos"
import { AirbyteSource } from "./sources/types"
import * as logos from "./sources/lib/logos"

@@ -4,0 +4,0 @@ export const allMockAirbyteSources: AirbyteSource[] = [

@@ -1,2 +0,2 @@

import { intType, SourceCollection, stringType } from "catalog/sources/types"
import { intType, SourceCollection, stringType } from "./sources/types"

@@ -3,0 +3,0 @@ export const mockJitsuAirbyteSourcesStreams: SourceCollection[] = [

{
"name": "@jitsu/catalog",
"version": "1.0.14",
"version": "1.0.15-alpha.1+28a336a9",
"description": "This package contains the code that enables variety of features of Jitsu Sources, Destinations and API Keys. ",

@@ -8,5 +8,4 @@ "author": "taletski <kirill@taletski.com>",

"main": "./index.ts",
"directories": {
"lib": "lib",
"test": "__tests__"
"scripts": {
"build": "(echo \"ℹ️ Skipping build for catalog package because it is not supposed to be built\" && exit 0)"
},

@@ -23,3 +22,3 @@ "publishConfig": {

},
"gitHead": "05b7acdb653ed9219cecee807d7e8c44198832c4"
"gitHead": "28a336a9cab9ccfea55d78e39372e82a8aa553a5"
}

@@ -12,3 +12,3 @@ # `@jitsu/catalog`

```JSX
import { allSources } from "@jitsu/catalog/sources/lib"
import { allSources } from "./sources/lib"

@@ -15,0 +15,0 @@ //...

@@ -1,2 +0,2 @@

import { allMockAirbyteSources } from "catalog/mockData/airbyte/sourcesLib/mockAirbyteSourcesLib"
import { allMockAirbyteSources } from "../../../mockData/airbyte/sourcesLib/mockAirbyteSourcesLib"
import { allAirbyteSources } from "../airbyte"

@@ -3,0 +3,0 @@ import { makeAirbyteSource } from "../airbyte.helper"

@@ -1,6 +0,4 @@

import { allMockAirbyteSourcesSpecs } from "catalog/mockData/airbyte/sourcesConfigs/mockAirbyteSourcesSpecs"
import { allMockJitsuAirbyteSourceConnectors } from "catalog/mockData/airbyte/sourcesConfigs/mockJitsuAirbyteSourcesSpecs"
import { mockJitsuConfigFormData } from "catalog/mockData/airbyte/sourcesConfigs/mockJitsuConfigFormData"
import { typedObjectEntries } from "utils/object"
import { toTitleCase } from "utils/strings"
import { allMockAirbyteSourcesSpecs } from "../../mockData/airbyte/sourcesConfigs/mockAirbyteSourcesSpecs"
import { allMockJitsuAirbyteSourceConnectors } from "../../mockData/airbyte/sourcesConfigs/mockJitsuAirbyteSourcesSpecs"
import { mockJitsuConfigFormData } from "../../mockData/airbyte/sourcesConfigs/mockJitsuConfigFormData"
import { mapAirbyteSpecToSourceConnectorConfig } from "./airbyte.helper"

@@ -13,7 +11,7 @@

typedObjectEntries(mockSourceConnectorData).forEach(([name, true_connector_parameters]) => {
Object.entries(mockSourceConnectorData).forEach(([name, true_connector_parameters]) => {
const airbyte_spec = mockAirbyteSourcesSpecs[name].connectionSpecification
const mapped_connector_parameters = mapAirbyteSpecToSourceConnectorConfig(airbyte_spec)
it(`maps ${toTitleCase(name)} spec as expected`, () => {
it(`maps ${name} spec as expected`, () => {
const mapped_connector_parameters_without_constant_and_omitFieldRule =

@@ -35,5 +33,3 @@ // excludes the `constant` and `omitFieldRule` fields as they require a separate check

if (typeof true_parameter.omitFieldRule === "function") {
it(`creates ${toTitleCase(name)} ${
true_parameter.displayName
} parameter's \`omitFieldRule\` rule as expected`, () => {
it(`creates ${name} ${true_parameter.displayName} parameter's \`omitFieldRule\` rule as expected`, () => {
const true_render_result = true_parameter.omitFieldRule(mockJitsuConfigFormData)

@@ -40,0 +36,0 @@ const mapped_render_result = mapped_parameter.omitFieldRule(mockJitsuConfigFormData)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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