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

@wordpress/wordcount

Package Overview
Dependencies
Maintainers
10
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/wordcount - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

6

build-module/index.js

@@ -79,4 +79,4 @@ /**

*
* @param {String} text The text being processed
* @param {String} type The type of count. Accepts ;words', 'characters_excluding_spaces', or 'characters_including_spaces'.
* @param {string} text The text being processed
* @param {string} type The type of count. Accepts ;words', 'characters_excluding_spaces', or 'characters_including_spaces'.
* @param {Object} userSettings Custom settings object.

@@ -90,3 +90,3 @@ *

*
* @return {Number} The word or character count.
* @return {number} The word or character count.
*/

@@ -93,0 +93,0 @@

@@ -99,4 +99,4 @@ "use strict";

*
* @param {String} text The text being processed
* @param {String} type The type of count. Accepts ;words', 'characters_excluding_spaces', or 'characters_including_spaces'.
* @param {string} text The text being processed
* @param {string} type The type of count. Accepts ;words', 'characters_excluding_spaces', or 'characters_including_spaces'.
* @param {Object} userSettings Custom settings object.

@@ -110,3 +110,3 @@ *

*
* @return {Number} The word or character count.
* @return {number} The word or character count.
*/

@@ -113,0 +113,0 @@

{
"name": "@wordpress/wordcount",
"version": "2.5.0",
"version": "2.6.0",
"description": "WordPress word count utility.",

@@ -30,3 +30,3 @@ "author": "The WordPress Contributors",

},
"gitHead": "2080b50d4a41c9f746485519d1dc368dd9d9354d"
"gitHead": "989502eccaadee1ea7666d6d9fb9f4d08b274546"
}

@@ -32,4 +32,4 @@ # Word Count

- _text_ `String`: The text being processed
- _type_ `String`: The type of count. Accepts ;words', 'characters_excluding_spaces', or 'characters_including_spaces'.
- _text_ `string`: The text being processed
- _type_ `string`: The type of count. Accepts ;words', 'characters_excluding_spaces', or 'characters_including_spaces'.
- _userSettings_ `Object`: Custom settings object.

@@ -39,3 +39,3 @@

- `Number`: The word or character count.
- `number`: The word or character count.

@@ -42,0 +42,0 @@

@@ -94,4 +94,4 @@ /**

*
* @param {String} text The text being processed
* @param {String} type The type of count. Accepts ;words', 'characters_excluding_spaces', or 'characters_including_spaces'.
* @param {string} text The text being processed
* @param {string} type The type of count. Accepts ;words', 'characters_excluding_spaces', or 'characters_including_spaces'.
* @param {Object} userSettings Custom settings object.

@@ -105,3 +105,3 @@ *

*
* @return {Number} The word or character count.
* @return {number} The word or character count.
*/

@@ -108,0 +108,0 @@

Sorry, the diff of this file is not supported yet

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