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

@types/moo

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/moo - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5

18

moo/index.d.ts

@@ -37,3 +37,3 @@ // Type definitions for moo 0.5

export interface Rule {
match?: RegExp | string | string[];
match?: RegExp | string | string[] | undefined;
/**

@@ -44,19 +44,19 @@ * Moo tracks detailed information about the input for you.

*/
lineBreaks?: boolean;
lineBreaks?: boolean | undefined;
/**
* Moves the lexer to a new state, and pushes the old state onto the stack.
*/
push?: string;
push?: string | undefined;
/**
* Returns to a previous state, by removing one or more states from the stack.
*/
pop?: number;
pop?: number | undefined;
/**
* Moves to a new state, but does not affect the stack.
*/
next?: string;
next?: string | undefined;
/**
* You can have a token type that both matches tokens and contains error values.
*/
error?: true;
error?: true | undefined;
/**

@@ -66,3 +66,3 @@ * Moo doesn't allow capturing groups, but you can supply a transform function, value(),

*/
value?: (x: string) => string;
value?: ((x: string) => string) | undefined;

@@ -73,3 +73,3 @@ /**

*/
type?: TypeMapper;
type?: TypeMapper | undefined;
}

@@ -128,3 +128,3 @@ export interface Rules {

*/
type?: string;
type?: string | undefined;
/**

@@ -131,0 +131,0 @@ * The match contents.

{
"name": "@types/moo",
"version": "0.5.4",
"version": "0.5.5",
"description": "TypeScript definitions for moo",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/moo",
"license": "MIT",

@@ -32,4 +33,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "5f834078bc825a384bd53827637572126f8a9146c3aef8221efcad5f0cfdc387",
"typeScriptVersion": "3.4"
"typesPublisherContentHash": "dc25097389869ef3471651770be359df4888c00fdd07297f8ff3ec2266c020f0",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Fri, 19 Feb 2021 17:58:40 GMT
* Last updated: Thu, 08 Jul 2021 18:50:58 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `moo`

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