Socket
Socket
Sign inDemoInstall

classnames

Package Overview
Dependencies
0
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.4 to 2.2.5

README.md

2

bower.json
{
"name": "classnames",
"version": "2.2.3",
"version": "2.2.5",
"description": "A simple utility for conditionally joining classNames together",

@@ -5,0 +5,0 @@ "main": [

@@ -12,2 +12,7 @@ /*!

var classNames = (function () {
// don't inherit from Object so we can skip hasOwnProperty check later
// http://stackoverflow.com/questions/15518328/creating-js-object-with-object-createnull#answer-21079232
function StorageObject() {}
StorageObject.prototype = Object.create(null);
function _parseArray (resultSet, array) {

@@ -78,5 +83,3 @@ var length = array.length;

// don't inherit from Object so we can skip hasOwnProperty check later
// http://stackoverflow.com/questions/15518328/creating-js-object-with-object-createnull#answer-21079232
var classSet = Object.create(null);
var classSet = new StorageObject();
_parseArray(classSet, args);

@@ -83,0 +86,0 @@

# Changelog
## v2.2.5 / 2016-05-02
* Improved performance of `dedupe` variant even further, thanks [Andres Suarez](https://github.com/zertosh)
## v2.2.4 / 2016-04-25

@@ -4,0 +8,0 @@

{
"name": "classnames",
"version": "2.2.4",
"version": "2.2.5",
"description": "A simple utility for conditionally joining classNames together",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc