Socket
Socket
Sign inDemoInstall

classnames

Package Overview
Dependencies
0
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous13Next

2.2.3

Diff

Changelog

Source

v2.2.3 / 2016-01-05

  • Updated bind variant to use [].join(' ') as per the main script in 2.2.2
jedwatson
published 2.2.2 •

Changelog

Source

v2.2.2 / 2016-01-04

  • Switched from string concatenation to [].join(' ') for a slight performance gain in the main function.
jedwatson
published 2.2.1 •

Changelog

Source

v2.2.1 / 2015-11-26

  • Add deps parameter to the AMD module, fixes an issue using the Dojo loader, thanks Chris Jordan
jedwatson
published 2.2.0 •

Changelog

Source

v2.2.0 / 2015-10-18

jedwatson
published 2.1.5 •

Changelog

Source

v2.1.5 / 2015-09-30

  • reverted a new usage of Object.keys in dedupe.js that slipped through in the last release
jedwatson
published 2.1.4 •

Changelog

Source

v2.1.4 / 2015-09-30

  • new case added to benchmarks
  • safer hasOwnProperty check
  • AMD module is now named, so you can do the following:
define(["classnames"], function (classNames) {
  var style = classNames("foo", "bar");
  // ...
});
jedwatson
published 2.1.3 •

Changelog

Source

v2.1.3 / 2015-07-02

  • updated UMD wrapper to support AMD and CommonJS on the same pacge
jedwatson
published 2.1.2 •

Changelog

Source

v2.1.2 / 2015-05-28

  • added a proper UMD wrapper
jedwatson
published 2.1.1 •

Changelog

Source

v2.1.1 / 2015-05-06

  • minor performance improvement thanks to type caching
  • improved benchmarking and results output
jedwatson
published 2.1.0 •

Changelog

Source

v2.1.0 / 2015-05-05

  • added alternate dedupe version of classNames, which is slower (10x) but ensures that if a class is added then overridden by a falsy value in a subsequent argument, it is excluded from the result.
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