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

retext-english

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retext-english - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

27

index.js

@@ -1,28 +0,11 @@

/**
* @author Titus Wormer
* @copyright 2014 Titus Wormer
* @license MIT
* @module retext:english
* @fileoverview retext parser for the English language.
*/
'use strict';
/* eslint-env commonjs */
/* Dependencies. */
var unherit = require('unherit');
var English = require('parse-english');
/**
* Attacher.
*
* @param {unified} processor - Unified processor.
*/
function parse(processor) {
processor.Parser = unherit(English);
module.exports = parse;
parse.Parser = English;
function parse() {
this.Parser = unherit(English);
}
/* Expose. */
parse.Parser = English;
module.exports = parse;

4

package.json
{
"name": "retext-english",
"version": "2.0.0",
"version": "3.0.0",
"description": "retext parser for the English language",

@@ -30,5 +30,5 @@ "license": "MIT",

"dependencies": {
"parse-english": "^3.0.0",
"parse-english": "^4.0.0",
"unherit": "^1.0.4"
}
}
# retext-english [![Build Status][build-badge]][build-status] [![Coverage Status][coverage-badge]][coverage-status] [![Chat][chat-badge]][chat]
[Parser][] for [**unified**][unified]. Parses the English language to
an [**nlcst**][nlcst] syntax tree.
an [**NLCST**][nlcst] syntax tree.

@@ -23,7 +23,7 @@ ## Installation

process.stdin
.pipe(unified())
.use(english)
.use(emoji, {convert: 'encode'})
.use(stringify)
.pipe(process.stdout);
.pipe(unified())
.use(english)
.use(emoji, {convert: 'encode'})
.use(stringify)
.pipe(process.stdout);
```

@@ -30,0 +30,0 @@

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