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

datocms-structured-text-generic-html-renderer

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datocms-structured-text-generic-html-renderer - npm Package Compare versions

Comparing version 0.1.0-alpha.22 to 0.1.0-alpha.23

4

dist/lib/index.js

@@ -29,4 +29,4 @@ "use strict";

exports.markToTagName = markToTagName;
function render(adapter, structuredText, customRules) {
return datocms_structured_text_utils_1.render(adapter, structuredText, __spreadArrays(customRules, [
function render(adapter, structuredTextOrNode, customRules) {
return datocms_structured_text_utils_1.render(adapter, structuredTextOrNode, __spreadArrays(customRules, [
datocms_structured_text_utils_1.renderRule(datocms_structured_text_utils_1.isRoot, function (_a) {

@@ -33,0 +33,0 @@ var renderFragment = _a.adapter.renderFragment, key = _a.key, children = _a.children;

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

import { Adapter, Mark, Record, RenderResult, RenderRule, renderRule, StructuredText, TrasformFn, RenderError } from 'datocms-structured-text-utils';
import { Adapter, Mark, Record, RenderResult, RenderRule, renderRule, StructuredText, TrasformFn, RenderError, Node } from 'datocms-structured-text-utils';
export { renderRule, RenderError };
export declare function markToTagName(mark: Mark): string;
export declare function render<R extends Record, H extends TrasformFn, T extends TrasformFn, M extends TrasformFn, F extends TrasformFn>(adapter: Adapter<H, T, M, F>, structuredText: StructuredText<R>, customRules: RenderRule<H, T, M, F>[]): RenderResult<H, T, M, F>;
export declare function render<R extends Record, H extends TrasformFn, T extends TrasformFn, M extends TrasformFn, F extends TrasformFn>(adapter: Adapter<H, T, M, F>, structuredTextOrNode: StructuredText<R> | Node, customRules: RenderRule<H, T, M, F>[]): RenderResult<H, T, M, F>;
{
"name": "datocms-structured-text-generic-html-renderer",
"version": "0.1.0-alpha.22",
"version": "0.1.0-alpha.23",
"description": "A set of Typescript types and helpers to work with DatoCMS Structured Text fields",

@@ -33,5 +33,5 @@ "keywords": [

"dependencies": {
"datocms-structured-text-utils": "^0.1.0-alpha.22"
"datocms-structured-text-utils": "^0.1.0-alpha.23"
},
"gitHead": "de06dc326cffe7c99a1ba108b09102b7910407fb"
"gitHead": "19b07545c4215e706745ff4a861289097c2c7d9c"
}

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