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

@thetimes/methode-parser

Package Overview
Dependencies
Maintainers
4
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thetimes/methode-parser - npm Package Compare versions

Comparing version 6.0.0 to 6.1.0

42

lib/types/markup.d.ts

@@ -12,2 +12,5 @@ export declare type UUID = string & {

} ? N : any;
declare type DefaultAttributes = {
paidContent?: boolean;
};
export declare type MarkupType = NameOf<MarkupElement>;

@@ -23,3 +26,3 @@ export declare type LinkAttributes = {

name: "unknown";
attributes: {
attributes: DefaultAttributes & {
name: string;

@@ -32,2 +35,3 @@ };

name: "ad";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -38,3 +42,3 @@ }

name: "author";
attributes: {
attributes: DefaultAttributes & {
slug: string;

@@ -47,2 +51,3 @@ };

name: "block";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -53,2 +58,3 @@ }

name: "bold";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -59,2 +65,3 @@ }

name: "break";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -65,2 +72,3 @@ }

name: "emphasis";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -71,2 +79,3 @@ }

name: "heading1";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -77,2 +86,3 @@ }

name: "heading2";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -83,2 +93,3 @@ }

name: "heading3";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -89,2 +100,3 @@ }

name: "heading4";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -95,2 +107,3 @@ }

name: "heading5";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -101,2 +114,3 @@ }

name: "heading6";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -107,3 +121,3 @@ }

name: "image";
attributes: {
attributes: DefaultAttributes & {
display: Display;

@@ -120,2 +134,3 @@ caption: string | null;

name: "inline";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -126,3 +141,3 @@ }

name: "interactive";
attributes: {
attributes: DefaultAttributes & {
display: Display;

@@ -136,2 +151,3 @@ url: string;

name: "italic";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -142,3 +158,3 @@ }

name: "keyFacts";
attributes: {
attributes: DefaultAttributes & {
title: string;

@@ -151,3 +167,3 @@ };

name: "link";
attributes: LinkAttributes;
attributes: DefaultAttributes & LinkAttributes;
children: Array<MarkupElement>;

@@ -158,2 +174,3 @@ }

name: "listElement";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -164,2 +181,3 @@ }

name: "orderedList";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -170,2 +188,3 @@ }

name: "paragraph";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -176,3 +195,3 @@ }

name: "pullQuote";
attributes: {
attributes: DefaultAttributes & {
caption: {

@@ -189,2 +208,3 @@ twitter: string;

name: "subscript";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -195,2 +215,3 @@ }

name: "superscript";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -201,2 +222,3 @@ }

name: "strong";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -207,3 +229,3 @@ }

name: "text";
attributes: {
attributes: DefaultAttributes & {
value: string;

@@ -216,2 +238,3 @@ };

name: "unorderedList";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -222,3 +245,3 @@ }

name: "video";
attributes: {
attributes: DefaultAttributes & {
display: Display;

@@ -239,2 +262,3 @@ brightcovePolicyKey: string;

name: "wordBreakOpportunity";
attributes?: DefaultAttributes;
children: Array<MarkupElement>;

@@ -241,0 +265,0 @@ }

{
"name": "@thetimes/methode-parser",
"version": "6.0.0",
"version": "6.1.0",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "typings": "lib/types/index.d.ts",

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