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

@curvenote/check-definitions

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@curvenote/check-definitions - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

72

dist/submission.js

@@ -106,2 +106,74 @@ import { TemplateOptionType } from 'myst-common';

},
{
id: 'word-count',
title: 'Word Count',
purpose: 'ensure the document word count is acceptable',
options: [
{
id: 'max',
type: TemplateOptionType.number,
integer: true,
min: 0,
description: 'Maximum number of words allowed',
default: 3500,
},
{
id: 'min',
type: TemplateOptionType.number,
integer: true,
min: 0,
description: 'Minimum number of words required',
default: 0,
},
{
id: 'figures',
type: TemplateOptionType.boolean,
description: 'Include figure/table contents and captions in word count',
default: false,
},
{
id: 'footnotes',
type: TemplateOptionType.boolean,
description: 'Include footnotes in word count',
default: false,
},
{
id: 'part',
type: TemplateOptionType.string,
description: 'Part of document to count; if not provided, main body content will be counted',
required: false,
},
],
tags: [CheckTags.content],
},
{
id: 'figure-count',
title: 'Figure Count',
purpose: 'ensure the document figure/table/etc count is acceptable',
options: [
{
id: 'max',
type: TemplateOptionType.number,
integer: true,
min: 0,
description: 'Maximum number of figures/tables/etc allowed',
default: 100,
},
{
id: 'min',
type: TemplateOptionType.number,
integer: true,
min: 0,
description: 'Minimum number of figures/tables/etc required',
default: 0,
},
{
id: 'kind',
type: TemplateOptionType.string,
description: 'Specific figure kind to count, e.g. figure (for only counting explicit "Figures"), table, code',
required: false,
},
],
tags: [CheckTags.content],
},
];

2

package.json

@@ -5,3 +5,3 @@ {

"author": "Franklin Koch <franklin@curvenote.com>",
"version": "0.0.15",
"version": "0.0.16",
"type": "module",

@@ -8,0 +8,0 @@ "exports": "./dist/index.js",

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