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

@apollo-elements/lib

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo-elements/lib - npm Package Compare versions

Comparing version 3.5.0-alpha.0 to 3.5.0-alpha.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [3.5.0-alpha.1](https://github.com/apollo-elements/apollo-elements/compare/@apollo-elements/lib@3.5.0-alpha.0...@apollo-elements/lib@3.5.0-alpha.1) (2020-12-05)
### Features
* support for TypedDocumentNode ([152b4f0](https://github.com/apollo-elements/apollo-elements/commit/152b4f0e66ff22b7aa30c7b926db8291b0cbdfea))
# [3.5.0-alpha.0](https://github.com/apollo-elements/apollo-elements/compare/@apollo-elements/lib@3.4.0...@apollo-elements/lib@3.5.0-alpha.0) (2020-12-04)

@@ -8,0 +19,0 @@

5

create-apollo-client.d.ts

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

import { ApolloClient, NormalizedCacheObject, TypePolicies } from '@apollo/client/core';
import { ApolloClient, InMemoryCache, NormalizedCacheObject, TypePolicies } from '@apollo/client/core';
interface Options {

@@ -10,2 +10,5 @@ /** GraphQL endpoint URI */

}
export declare type SimpleApolloClient = ApolloClient<NormalizedCacheObject> & {
cache: InMemoryCache;
};
/**

@@ -12,0 +15,0 @@ * Creates a simple ApolloClient

3

create-apollo-client.ts

@@ -24,2 +24,5 @@ import {

export type SimpleApolloClient =
ApolloClient<NormalizedCacheObject> & { cache: InMemoryCache };
/**

@@ -26,0 +29,0 @@ * Creates a simple ApolloClient

/** Splits a string by `,` then trims each of the results */
export declare function splitCommasAndTrim(value: string): string[];
export declare function stripHTMLComments(string: string): string;
export declare function isEmpty(x: object | Array<unknown>): boolean;

@@ -8,2 +8,6 @@ /** Splits a string by `,` then trims each of the results */

}
export function stripHTMLComments(string) {
var _a;
return (_a = string.replace) === null || _a === void 0 ? void 0 : _a.call(string, /<!---->/g, '');
}
// eslint-disable-next-line @typescript-eslint/ban-types

@@ -10,0 +14,0 @@ export function isEmpty(x) {

@@ -9,2 +9,6 @@ /** Splits a string by `,` then trims each of the results */

export function stripHTMLComments(string: string): string {
return string.replace?.(/<!---->/g, '');
}
// eslint-disable-next-line @typescript-eslint/ban-types

@@ -11,0 +15,0 @@ export function isEmpty(x: object | Array<unknown>): boolean {

{
"name": "@apollo-elements/lib",
"version": "3.5.0-alpha.0",
"version": "3.5.0-alpha.1",
"description": "Library functions for apollo-elements",

@@ -57,3 +57,3 @@ "main": "index.js",

},
"gitHead": "5de7f7b7d2db6476675f304d6748c5af047ad1c2"
"gitHead": "20383fd2003cf7fec69965500b33e5ec9828e332"
}

@@ -6,3 +6,3 @@ import type { Constructor } from '@apollo-elements/interfaces';

export declare function applyPrototype<S extends HTMLElement>(target: S, source: Constructor<S>): PropertyDescriptorMap;
export declare function apply<T extends ApolloElementElement>(host: T, klass: Constructor<T> | typeof ApolloElementElement, type: Type, effects?: (host: T) => void): PropertyDescriptorMap;
export declare function apply<T extends ApolloElementElement<any, any>>(host: T, klass: Constructor<T> | typeof ApolloElementElement, type: Type, effects?: (host: T) => void): PropertyDescriptorMap;
export {};

@@ -94,3 +94,3 @@ import type { Constructor } from '@apollo-elements/interfaces';

export function apply<T extends ApolloElementElement>(
export function apply<T extends ApolloElementElement<any, any>>(
host: T,

@@ -97,0 +97,0 @@ klass: Constructor<T> | typeof ApolloElementElement,

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