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

parser-ts

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parser-ts - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

5

CHANGELOG.md

@@ -16,2 +16,7 @@ # Changelog

# 0.4.2
* **Bug fix**
* The whitespace parser only accepts space, fix #10 (@danr, @gcanti)
# 0.4.1

@@ -18,0 +23,0 @@

3

lib/char.js

@@ -46,4 +46,5 @@ "use strict";

exports.digit = p.expected(p.sat(isDigit), 'a digit');
var spaceRe = /^\s$/;
function isSpace(c) {
return c === ' ';
return spaceRe.test(c);
}

@@ -50,0 +51,0 @@ /** Matches a single whitespace character. */

{
"name": "parser-ts",
"version": "0.4.1",
"version": "0.4.2",
"description": "String parser combinators for TypeScript",

@@ -10,6 +10,9 @@ "files": ["lib"],

"lint": "tslint src/**/*.ts test/**/*.ts",
"typings-checker": "typings-checker --allow-expect-error --project typings-checker/tsconfig.json typings-checker/index.ts",
"typings-checker":
"typings-checker --allow-expect-error --project typings-checker/tsconfig.json typings-checker/index.ts",
"mocha": "mocha -r ts-node/register test/*.ts",
"prettier": "prettier --no-semi --single-quote --print-width 120 --parser typescript --list-different \"{src,test}/**/*.ts\"",
"fix-prettier": "prettier --no-semi --single-quote --print-width 120 --parser typescript --write \"{src,test}/**/*.ts\"",
"prettier":
"prettier --no-semi --single-quote --print-width 120 --parser typescript --list-different \"{src,test}/**/*.ts\"",
"fix-prettier":
"prettier --no-semi --single-quote --print-width 120 --parser typescript --write \"{src,test}/**/*.ts\"",
"test": "npm run lint && npm run prettier && npm run typings-checker && npm run mocha",

@@ -16,0 +19,0 @@ "clean": "rm -rf lib/*",

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