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

@wordpress/token-list

Package Overview
Dependencies
Maintainers
12
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.7.0 to 1.8.0

10

build-module/index.js

@@ -35,4 +35,4 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";

return (_this$_valueAsArray = this._valueAsArray)[fn].apply(_this$_valueAsArray, arguments);
}.bind(_this);
return (_this$_valueAsArray = _this._valueAsArray)[fn].apply(_this$_valueAsArray, arguments);
};
});

@@ -99,3 +99,3 @@ }

*
* @return {?string} Token at index.
* @return {string|undefined} Token at index.
*/

@@ -165,4 +165,4 @@

*
* @param {string} token Token to toggle.
* @param {?boolean} force Presence to force.
* @param {string} token Token to toggle.
* @param {boolean} [force] Presence to force.
*

@@ -169,0 +169,0 @@ * @return {boolean} Whether token is present after toggle.

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

return (_this$_valueAsArray = this._valueAsArray)[fn].apply(_this$_valueAsArray, arguments);
}.bind(_this);
return (_this$_valueAsArray = _this._valueAsArray)[fn].apply(_this$_valueAsArray, arguments);
};
});

@@ -109,3 +109,3 @@ }

*
* @return {?string} Token at index.
* @return {string|undefined} Token at index.
*/

@@ -175,4 +175,4 @@

*
* @param {string} token Token to toggle.
* @param {?boolean} force Presence to force.
* @param {string} token Token to toggle.
* @param {boolean} [force] Presence to force.
*

@@ -179,0 +179,0 @@ * @return {boolean} Whether token is present after toggle.

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

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

},
"gitHead": "52bfe7deb90fe2b6df7f1a0a92f89cc69462a491"
"gitHead": "cc8b3fde75738a15c6152d18458eb5078a620cbe"
}

@@ -21,5 +21,3 @@ /**

[ 'entries', 'forEach', 'keys', 'values' ].forEach( ( fn ) => {
this[ fn ] = ( function() {
return this._valueAsArray[ fn ]( ...arguments );
} ).bind( this );
this[ fn ] = ( ...args ) => this._valueAsArray[ fn ]( ...args );
} );

@@ -93,3 +91,3 @@ }

*
* @return {?string} Token at index.
* @return {string|undefined} Token at index.
*/

@@ -143,4 +141,4 @@ item( index ) {

*
* @param {string} token Token to toggle.
* @param {?boolean} force Presence to force.
* @param {string} token Token to toggle.
* @param {boolean} [force] Presence to force.
*

@@ -147,0 +145,0 @@ * @return {boolean} Whether token is present after toggle.

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