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

@wordpress/token-list

Package Overview
Dependencies
Maintainers
10
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wordpress/token-list - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

28

build-module/index.js

@@ -12,3 +12,3 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";

*
* @link https://dom.spec.whatwg.org/#domtokenlist
* @see https://dom.spec.whatwg.org/#domtokenlist
*/

@@ -43,3 +43,3 @@

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-value
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-value
*

@@ -56,4 +56,4 @@ * @return {string} Token set as string.

*
* @link https://dom.spec.whatwg.org/#DOMTokenList-stringification-behavior
* @link https://www.ecma-international.org/ecma-262/9.0/index.html#sec-tostring
* @see https://dom.spec.whatwg.org/#DOMTokenList-stringification-behavior
* @see https://www.ecma-international.org/ecma-262/9.0/index.html#sec-tostring
*

@@ -68,3 +68,3 @@ * @return {string} Token set as string.

*
* @link https://dom.spec.whatwg.org/#domtokenlist
* @see https://dom.spec.whatwg.org/#domtokenlist
*

@@ -98,3 +98,3 @@ * @return {Generator} TokenList iterator.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-item
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-item
*

@@ -114,3 +114,3 @@ * @param {number} index Index at which to return token.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-contains
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-contains
*

@@ -130,3 +130,3 @@ * @param {string} item Token to test.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-add
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-add
*

@@ -148,3 +148,3 @@ * @param {...string} items Items to add.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-remove
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-remove
*

@@ -169,3 +169,3 @@ * @param {...string} items Items to remove.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-toggle
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-toggle
*

@@ -197,3 +197,3 @@ * @param {string} token Token to toggle.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-replace
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-replace
*

@@ -223,3 +223,3 @@ * @param {string} token Token to replace with `newToken`.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-supports
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-supports
*

@@ -242,3 +242,3 @@ * @return {boolean} Whether token is supported.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-value
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-value
*

@@ -256,3 +256,3 @@ * @param {string} value New token set as string.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-length
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-length
*

@@ -259,0 +259,0 @@ * @return {number} Number of tokens.

@@ -25,3 +25,3 @@ "use strict";

*
* @link https://dom.spec.whatwg.org/#domtokenlist
* @see https://dom.spec.whatwg.org/#domtokenlist
*/

@@ -53,3 +53,3 @@ var TokenList =

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-value
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-value
*

@@ -66,4 +66,4 @@ * @return {string} Token set as string.

*
* @link https://dom.spec.whatwg.org/#DOMTokenList-stringification-behavior
* @link https://www.ecma-international.org/ecma-262/9.0/index.html#sec-tostring
* @see https://dom.spec.whatwg.org/#DOMTokenList-stringification-behavior
* @see https://www.ecma-international.org/ecma-262/9.0/index.html#sec-tostring
*

@@ -78,3 +78,3 @@ * @return {string} Token set as string.

*
* @link https://dom.spec.whatwg.org/#domtokenlist
* @see https://dom.spec.whatwg.org/#domtokenlist
*

@@ -108,3 +108,3 @@ * @return {Generator} TokenList iterator.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-item
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-item
*

@@ -124,3 +124,3 @@ * @param {number} index Index at which to return token.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-contains
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-contains
*

@@ -140,3 +140,3 @@ * @param {string} item Token to test.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-add
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-add
*

@@ -158,3 +158,3 @@ * @param {...string} items Items to add.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-remove
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-remove
*

@@ -179,3 +179,3 @@ * @param {...string} items Items to remove.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-toggle
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-toggle
*

@@ -207,3 +207,3 @@ * @param {string} token Token to toggle.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-replace
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-replace
*

@@ -233,3 +233,3 @@ * @param {string} token Token to replace with `newToken`.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-supports
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-supports
*

@@ -252,3 +252,3 @@ * @return {boolean} Whether token is supported.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-value
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-value
*

@@ -266,3 +266,3 @@ * @param {string} value New token set as string.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-length
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-length
*

@@ -269,0 +269,0 @@ * @return {number} Number of tokens.

{
"name": "@wordpress/token-list",
"version": "1.3.0",
"version": "1.4.0",
"description": "Constructable, plain JavaScript DOMTokenList implementation, supporting non-browser runtimes.",

@@ -21,2 +21,3 @@ "author": "The WordPress Contributors",

"module": "build-module/index.js",
"react-native": "src/index",
"dependencies": {

@@ -29,3 +30,3 @@ "@babel/runtime": "^7.4.4",

},
"gitHead": "87f92f8f58a14a58b44beff0919734c546b3b975"
"gitHead": "256d514d356709cfdb27e28a5b200043d768d9cc"
}

@@ -9,3 +9,3 @@ /**

*
* @link https://dom.spec.whatwg.org/#domtokenlist
* @see https://dom.spec.whatwg.org/#domtokenlist
*/

@@ -31,3 +31,3 @@ export default class TokenList {

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-value
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-value
*

@@ -43,3 +43,3 @@ * @return {string} Token set as string.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-value
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-value
*

@@ -57,3 +57,3 @@ * @param {string} value New token set as string.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-length
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-length
*

@@ -69,4 +69,4 @@ * @return {number} Number of tokens.

*
* @link https://dom.spec.whatwg.org/#DOMTokenList-stringification-behavior
* @link https://www.ecma-international.org/ecma-262/9.0/index.html#sec-tostring
* @see https://dom.spec.whatwg.org/#DOMTokenList-stringification-behavior
* @see https://www.ecma-international.org/ecma-262/9.0/index.html#sec-tostring
*

@@ -82,3 +82,3 @@ * @return {string} Token set as string.

*
* @link https://dom.spec.whatwg.org/#domtokenlist
* @see https://dom.spec.whatwg.org/#domtokenlist
*

@@ -94,3 +94,3 @@ * @return {Generator} TokenList iterator.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-item
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-item
*

@@ -108,3 +108,3 @@ * @param {number} index Index at which to return token.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-contains
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-contains
*

@@ -122,3 +122,3 @@ * @param {string} item Token to test.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-add
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-add
*

@@ -134,3 +134,3 @@ * @param {...string} items Items to add.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-remove
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-remove
*

@@ -149,3 +149,3 @@ * @param {...string} items Items to remove.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-toggle
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-toggle
*

@@ -175,3 +175,3 @@ * @param {string} token Token to toggle.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-replace
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-replace
*

@@ -200,3 +200,3 @@ * @param {string} token Token to replace with `newToken`.

*
* @link https://dom.spec.whatwg.org/#dom-domtokenlist-supports
* @see https://dom.spec.whatwg.org/#dom-domtokenlist-supports
*

@@ -203,0 +203,0 @@ * @return {boolean} Whether token is supported.

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