Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cmpsr/contentful-core

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cmpsr/contentful-core - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

1

lib/client/createContentfulLink.d.ts
import { HttpLink } from '@apollo/client';
export declare const createContentfulLink: (options: any) => HttpLink;
//# sourceMappingURL=createContentfulLink.d.ts.map

@@ -59,3 +59,1 @@ "use strict";

exports.createContentfulLink = createContentfulLink;
//# sourceMappingURL=createContentfulLink.js.map
export * from './createContentfulLink';
export { ContentfulRestLink } from 'apollo-link-contentful';
//# sourceMappingURL=index.d.ts.map

@@ -48,3 +48,1 @@ "use strict";

}
//# sourceMappingURL=index.js.map

@@ -11,2 +11,1 @@ declare type Props = {

export {};
//# sourceMappingURL=ComponentRenderer.d.ts.map

@@ -106,3 +106,1 @@ "use strict";

exports.ComponentRenderer = ComponentRenderer;
//# sourceMappingURL=ComponentRenderer.js.map
export * from './ComponentRenderer';
//# sourceMappingURL=index.d.ts.map

@@ -37,3 +37,1 @@ "use strict";

}
//# sourceMappingURL=index.js.map

@@ -13,2 +13,1 @@ import { ReactElement } from 'react';

export declare const ComponentRendererWithContext: ({ className, variables, componentMap, context, queryMap, type, }: ChildProps) => ReactElement | null;
//# sourceMappingURL=ComponentRendererWithContext.d.ts.map

@@ -27,3 +27,1 @@ "use strict";

exports.ComponentRendererWithContext = ComponentRendererWithContext;
//# sourceMappingURL=ComponentRendererWithContext.js.map
export * from './ComponentRendererWithContext';
//# sourceMappingURL=index.d.ts.map

@@ -37,3 +37,1 @@ "use strict";

}
//# sourceMappingURL=index.js.map

@@ -14,2 +14,1 @@ import { ReactElement } from 'react';

export declare const ComponentRendererWithQuery: ({ className, componentMap: componentMapOverride, context, queryMap: queryMapOverride, type, variables, loadingPlaceholder, }: ChildProps) => ReactElement | null;
//# sourceMappingURL=ComponentRendererWithQuery.d.ts.map

@@ -58,3 +58,1 @@ "use strict";

exports.ComponentRendererWithQuery = ComponentRendererWithQuery;
//# sourceMappingURL=ComponentRendererWithQuery.js.map
export * from './ComponentRendererWithQuery';
//# sourceMappingURL=index.d.ts.map

@@ -37,3 +37,1 @@ "use strict";

}
//# sourceMappingURL=index.js.map
export { ComponentRenderer } from './ComponentRenderer';
export { ComponentRendererWithContext } from './ComponentRendererWithContext';
export { ComponentRendererWithQuery } from './ComponentRendererWithQuery';
//# sourceMappingURL=index.d.ts.map

@@ -26,3 +26,1 @@ "use strict";

var _componentRendererWithQuery = require("./ComponentRendererWithQuery/index");
//# sourceMappingURL=index.js.map
export declare const DEFAULT = "default";
//# sourceMappingURL=index.d.ts.map

@@ -8,3 +8,1 @@ "use strict";

exports.DEFAULT = DEFAULT;
//# sourceMappingURL=index.js.map

@@ -8,2 +8,1 @@ /// <reference types="react" />

}>;
//# sourceMappingURL=ContentfulContext.d.ts.map

@@ -14,3 +14,1 @@ "use strict";

exports.ContentfulContext = ContentfulContext;
//# sourceMappingURL=ContentfulContext.js.map

@@ -14,2 +14,1 @@ import { ReactFragment } from 'react';

export {};
//# sourceMappingURL=ContentfulProvider.d.ts.map

@@ -70,3 +70,1 @@ "use strict";

exports.ContentfulProvider = ContentfulProvider;
//# sourceMappingURL=ContentfulProvider.js.map
export * from './ContentfulContext';
export * from './ContentfulProvider';
//# sourceMappingURL=index.d.ts.map

@@ -51,3 +51,1 @@ "use strict";

}
//# sourceMappingURL=index.js.map
export { createContentfulLink } from './client';
//# sourceMappingURL=index.d.ts.map

@@ -12,3 +12,1 @@ "use strict";

var _client = require("./client/index");
//# sourceMappingURL=index.js.map
export * from './renderFromComponentMap';
export * from './renderFromContentfulModel';
//# sourceMappingURL=index.d.ts.map

@@ -51,3 +51,1 @@ "use strict";

}
//# sourceMappingURL=index.js.map
import { ReactElement } from 'react';
export declare const renderFromComponentMap: (componentMap: Record<string, () => ReactElement>, type: string) => ReactElement;
//# sourceMappingURL=renderFromComponentMap.d.ts.map

@@ -12,3 +12,1 @@ "use strict";

exports.renderFromComponentMap = renderFromComponentMap;
//# sourceMappingURL=renderFromComponentMap.js.map

@@ -5,2 +5,1 @@ import { ReactElement } from 'react';

}, item: any, index?: number, parentId?: string) => ReactElement;
//# sourceMappingURL=renderFromContentfulModel.d.ts.map

@@ -60,3 +60,1 @@ "use strict";

exports.renderFromContentfulModel = renderFromContentfulModel;
//# sourceMappingURL=renderFromContentfulModel.js.map
export * from './isCollectionShape';
//# sourceMappingURL=index.d.ts.map

@@ -37,3 +37,1 @@ "use strict";

}
//# sourceMappingURL=index.js.map
export declare const isCollectionShape: (object: any) => boolean;
//# sourceMappingURL=isCollectionShape.d.ts.map

@@ -26,3 +26,1 @@ "use strict";

exports.isCollectionShape = isCollectionShape;
//# sourceMappingURL=isCollectionShape.js.map

9

package.json
{
"name": "@cmpsr/contentful-core",
"version": "0.5.2",
"version": "0.5.3",
"description": "Base Composer components for standing up a React/NextJS app that can dynamically render components based on Contentful Model types mapped to components and queries.",

@@ -28,3 +28,3 @@ "author": "Ryan Hefner <hi@ryanhefner.com>",

"scripts": {
"libbuild": "rimraf lib && npx swc ./src -d lib -s --ignore '**/*.test.ts'",
"libbuild": "rimraf lib && npx swc ./src -d lib --ignore '**/*.test.ts'",
"test": "jest --testPathIgnorePatterns=lib/",

@@ -37,3 +37,3 @@ "test:watch": "jest --watch --testPathIgnorePatterns=lib/",

"type:check": "yarn tsc --project tsconfig.json --noEmit",
"type:emit": "tsc --project ./tsconfig.json -d --declarationDir lib --declarationMap --emitDeclarationOnly && find lib -type f \\( -name '*.test.*' -o -name '*.stories.*' \\) -exec rm {} +"
"type:emit": "tsc --project ./tsconfig.json -d --declarationDir lib --emitDeclarationOnly && find lib -type f \\( -name '*.test.*' -o -name '*.stories.*' \\) -exec rm {} +"
},

@@ -56,4 +56,3 @@ "bugs": {

"graphql": "^15.5.1"
},
"gitHead": "5cfe42b28c0cec778ed0c48f3e76ae2136b667ba"
}
}
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