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

@progfay/scrapbox-parser

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progfay/scrapbox-parser - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

1

lib/block/node/PlainNode.d.ts

@@ -6,4 +6,3 @@ import { LineNodeType } from '.';

};
export declare const createPlainNode: (text: string) => PlainNodeType;
export declare const PlainNodeParser: (text: string) => LineNodeType[];
//# sourceMappingURL=PlainNode.d.ts.map

4

lib/block/node/PlainNode.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createPlainNode = (text) => ({
const createPlainNode = (text) => ({
type: 'plain',

@@ -8,4 +8,4 @@ text

exports.PlainNodeParser = (text) => {
return [exports.createPlainNode(text)];
return [createPlainNode(text)];
};
//# sourceMappingURL=PlainNode.js.map

@@ -1,3 +0,23 @@

import parse from './parse';
export = parse;
import { parse } from './parse';
export default parse;
export { BlockType } from './block';
export { CodeBlockType } from './block/CodeBlock';
export { TableType } from './block/Table';
export { LineType } from './block/Line';
export { LineNodeType } from './block/node';
export { QuoteNodeType } from './block/node/QuoteNode';
export { HelpfeelNodeType } from './block/node/HelpfeelNode';
export { StrongImageNodeType } from './block/node/StrongImageNode';
export { StrongIconNodeType } from './block/node/StrongIconNode';
export { StrongNodeType } from './block/node/StrongNode';
export { FormulaNodeType } from './block/node/FormulaNode';
export { DecorationNodeType, DecorationType } from './block/node/DecorationNode';
export { CodeNodeType } from './block/node/CodeNode';
export { BlankNodeType } from './block/node/BlankNode';
export { UrlNodeType } from './block/node/UrlNode';
export { GoogleMapNodeType } from './block/node/GoogleMapNode';
export { InternalLinkNodeType } from './block/node/InternalLinkNode';
export { IconNodeType } from './block/node/IconNode';
export { HashTagNodeType } from './block/node/HashTagNode';
export { PlainNodeType } from './block/node/PlainNode';
//# sourceMappingURL=index.d.ts.map
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
const parse_1 = __importDefault(require("./parse"));
module.exports = parse_1.default;
Object.defineProperty(exports, "__esModule", { value: true });
const parse_1 = require("./parse");
exports.default = parse_1.parse;
//# sourceMappingURL=index.js.map

@@ -8,4 +8,4 @@ import { BlockType } from './block';

export declare const convertToBlocks: (blockComponents: BlockComponentType[]) => BlockType[];
declare const parse: (input: string) => PageType;
export default parse;
export declare const parse: (input: string) => PageType;
export {};
//# sourceMappingURL=parse.d.ts.map

@@ -10,3 +10,3 @@ "use strict";

};
const parse = (input) => {
exports.parse = (input) => {
const blockComponents = BlockComponent_1.convertToBlockComponents(input.trim());

@@ -18,3 +18,2 @@ const [firstBlock, ...body] = blockComponents;

};
exports.default = parse;
//# sourceMappingURL=parse.js.map
{
"name": "@progfay/scrapbox-parser",
"version": "2.3.0",
"version": "2.4.0",
"description": "parse Scrapbox notation to JavaScript Object",

@@ -29,3 +29,3 @@ "files": [

"author": "progfay",
"license": "ISC",
"license": "MIT",
"bugs": {

@@ -32,0 +32,0 @@ "url": "https://github.com/progfay/scrapbox-parser/issues"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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