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

@spellu/core

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spellu/core - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

5

package.json
{
"name": "@spellu/core",
"version": "0.3.0",
"version": "0.4.0",
"license": "MIT",

@@ -22,4 +22,3 @@ "description": "Spellu is a parser combinator engine.",

"registry": "https://registry.npmjs.org/"
},
"gitHead": "3ff9fc5a33a998ecfb019a78f5082350feaa525c"
}
}

@@ -397,2 +397,22 @@ declare namespace spellu {

declare namespace spellu {
type TextPrinterOptions = {
indent?: number | 'tab';
lineBreak?: string;
};
class TextPrinter {
_indent: number | 'tab';
_lineBreak: string;
lines: string[];
indentLevel: number;
line: string;
constructor(options?: TextPrinterOptions);
print(...texts: string[]): this;
printQuote(quote: string | string, text: string): this;
indent(level: number): this;
newLine(indentLevel?: number): this;
indentString(): string;
toString(): string;
}
}
declare namespace spellu {
interface SourceOption {

@@ -399,0 +419,0 @@ normalize?: boolean;

spellu-core.mjs

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