You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@common-stack/client-core

Package Overview
Dependencies
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.19 to 0.5.21

1

lib/connector/abstract-connector.d.ts

@@ -64,2 +64,3 @@ import { IdGetterObj } from '@apollo/client/core';

resolverContex?: any;
container?: interfaces.Container;
reqHeaders?: any;

@@ -66,0 +67,0 @@ }): IClientState;

7

lib/connector/abstract-connector.js

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

import*as React from'react';import {merge,without,union,map,castArray}from'lodash';import {Container}from'inversify';const combine = (features, extractor) => without(union(...map(features, (res) => castArray(extractor(res)))), undefined);
import*as React from'react';import {merge,without,union,map,castArray}from'lodash';import {Container}from'inversify';/* eslint-disable @typescript-eslint/no-explicit-any */
/* eslint-disable no-nested-ternary */
/* eslint-disable no-use-before-define */
const combine = (features, extractor) => without(union(...map(features, (res) => castArray(extractor(res)))), undefined);
const featureCatalog = {};

@@ -112,3 +115,3 @@ class AbstractFeature {

getStateParams(args = {}) {
const cn = this.container;
const cn = args.container || this.container;
const headers = args.reqHeaders; // Use headers as needed in the function

@@ -115,0 +118,0 @@ return this.clientStateParams.reduce((acc, curr) => {

@@ -46,2 +46,3 @@ import { Resolvers, IdGetterObj, PossibleTypesMap, TypePolicies, Operation, ApolloLink } from '@apollo/client/core';

export interface IClientState {
container?: interfaces.Container;
resolvers?: Resolvers;

@@ -48,0 +49,0 @@ defaults: IClientStateDefault[];

{
"name": "@common-stack/client-core",
"version": "0.5.19",
"version": "0.5.21",
"description": "common core for higher packages to depend on",

@@ -21,23 +21,4 @@ "license": "ISC",

},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"modulePaths": [
"node_modules"
],
"roots": [
"src"
],
"testEnvironment": "node",
"testRegex": "/__tests__/.*test*\\.(ts|tsx|js)$",
"transform": {
"\\.(ts|tsx)$": "<rootDir>/../../node_modules/ts-jest/preprocessor.js"
}
},
"dependencies": {
"@common-stack/core": "0.5.9"
"@common-stack/core": "^0.5.21"
},

@@ -54,3 +35,3 @@ "publishConfig": {

},
"gitHead": "2b5f87dbb43ab6d961bbaa31effa6ef663a18c8c"
"gitHead": "4cc2a1dccc27572118245f2ea4f671d70a3db9d3"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc