Socket
Socket
Sign inDemoInstall

cherow

Package Overview
Dependencies
Maintainers
1
Versions
536
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cherow - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

32

BENCHMARK.md

@@ -46,2 +46,34 @@ ## Benchmarks

#### JSX
**<span/>**
- Cherow x 1,330,443 ops/sec ±2.33% (90 runs sampled)
- Esprima x 560,163 ops/sec ±6.20% (80 runs sampled)
- Acorn x 119,288 ops/sec ±8.05% (87 runs sampled)
- Fastest is Cherow
**<input disabled />**
- Cherow x 831,651 ops/sec ±0.38% (94 runs sampled)
- Esprima x 224,494 ops/sec ±4.11% (78 runs sampled)
- Acorn x 117,329 ops/sec ±2.45% (85 runs sampled)
- Fastest is Cherow
**function *g() { yield <h1>Hello</h1> }**
- Cherow x 170,258 ops/sec ±3.36% (81 runs sampled)
- Esprima x 83,754 ops/sec ±4.06% (83 runs sampled)
- Acorn x **Acorn fail to parse this one**
- Fastest is Cherow
**<strong><em></em></strong>**
- Cherow x 429,999 ops/sec ±2.05% (90 runs sampled)
- Esprima x 146,011 ops/sec ±2.57% (85 runs sampled)
- Acorn x 89,173 ops/sec ±4.58% (83 runs sampled)
- Fastest is Cherow
#### Async functions

@@ -48,0 +80,0 @@

3

package.json
{
"name": "cherow",
"version": "0.3.2",
"version": "0.3.3",
"description": "Fast, standard-compliant ECMAScript parser written in ECMAScript",

@@ -29,2 +29,3 @@ "main": "dist/cherow.js",

"coverage": "npm run clean:build && npm run pretest && node --harmony ./node_modules/istanbul/lib/cli.js cover --root ./build/src --report lcov --report text ./node_modules/mocha/bin/_mocha ./build/test/**/*.js",
"post_coverage": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"clean": "rimraf dist build coverage",

@@ -31,0 +32,0 @@ "clean:build": "rimraf build",

@@ -0,3 +1,5 @@

[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/cherow/cherow)
[![Build Status](https://travis-ci.org/cherow/cherow.svg?branch=master)](https://travis-ci.org/cherow/cherow)
[![CircleCI](https://circleci.com/gh/cherow/cherow.svg?style=svg)](https://circleci.com/gh/cherow/cherow)
[![Coverage Status](https://coveralls.io/repos/github/cherow/cherow/badge.svg?branch=coveralls)](https://coveralls.io/github/cherow/cherow?branch=coveralls)

@@ -21,3 +23,3 @@ Cherow is a very fast, standard-compliant [ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm) parser written in ECMAScript.

- Optional tracking of syntax node location (index-based and line-column)
- 5100 unit tests with full code coverage
- 5200 unit tests

@@ -24,0 +26,0 @@ ## ESNext features

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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