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

retext-visit

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retext-visit - npm Package Compare versions

Comparing version 0.0.5 to 0.1.0

History.md

2

component.json

@@ -5,3 +5,3 @@ {

"description": "Retext node visitor",
"version": "0.0.5",
"version": "0.1.0",
"keywords": [

@@ -8,0 +8,0 @@ "retext",

{
"name": "retext-visit",
"version": "0.0.5",
"version": "0.1.0",
"description": "Retext node visitor",

@@ -12,9 +12,7 @@ "keywords": [

"devDependencies": {
"browserify": "^4.1.11",
"complexity-report": "~1.0.3",
"eslint": "^0.6.2",
"istanbul": "~0.2.11",
"jscs": "^1.5.3",
"istanbul": "~0.2.16",
"jscs": "^1.5.8",
"mocha": "~1.20.1",
"retext": "~0.0.12"
"retext": "^0.1.0"
},

@@ -32,7 +30,7 @@ "repository": {

"lint-style": "node_modules/.bin/jscs index.js spec/retext-visit.spec.js --reporter=inline",
"install-browser-test": "npm install browserify",
"build-browser-test": "node_modules/.bin/browserify spec/retext-visit.spec.js -o spec/browser.spec.js",
"prepublish": "npm run-script build-browser",
"build-browser": "node_modules/.bin/browserify spec/retext-visit.spec.js -o spec/browser.spec.js",
"coverage": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -- spec/retext-visit.spec.js",
"complexity": "node_modules/.bin/cr -l --maxcyc 20 --format minimal --silent index.js",
"make": "npm run-script build-browser && npm run-script lint && npm run-script complexity && npm run-script coverage"
"make": "npm run-script lint&& npm run-script coverage"
},

@@ -39,0 +37,0 @@ "testling": {

@@ -42,10 +42,19 @@ # retext-visit [![Build Status](https://travis-ci.org/wooorm/retext-visit.svg?branch=master)](https://travis-ci.org/wooorm/retext-visit) [![Coverage Status](https://img.shields.io/coveralls/wooorm/retext-visit.svg)](https://coveralls.io/r/wooorm/retext-visit?branch=master)

});
// 'A'
// ' '
// 'simple'
// ' '
// 'english'
// ' '
// 'sentence'
// '.'
/* 'A' // WordNode
* 'A' // TextNode
* ' ' // WhiteSpaceNode
* ' ' // TextNode
* 'simple' // WordNode
* 'simple' // TextNode
* ' ' // WhiteSpaceNode
* ' ' // TextNode
* 'english' // WordNode
* 'english' // TextNode
* ' ' // WhiteSpaceNode
* ' ' // TextNode
* 'sentence' // WordNode
* 'sentence' // TextNode
* '.' // PunctuationNode
* '.' // TextNode
*/
```

@@ -73,3 +82,3 @@

- `type`: A type of a node (e.g., PARAGRAPH_NODE, WORD_NODE, or WHITE_SPACE_NODE);
- `type`: A type of a node (e.g., node.PARAGRAPH_NODE, node.WORD_NODE, or node.WHITE_SPACE_NODE);
- `callback` (`function`): The function to call with each node.

@@ -76,0 +85,0 @@

@@ -46,3 +46,3 @@ 'use strict';

assert(count === 10);
assert(count === 18);
}

@@ -62,3 +62,3 @@ );

assert(count === 5);
assert(count === 7);
}

@@ -65,0 +65,0 @@ );

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