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

classwrap

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

classwrap - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

4

package.json
{
"name": "classwrap",
"description": "0.3 KB JavaScript utility for conditionally concatenating class names.",
"version": "1.2.1",
"version": "1.2.2",
"main": "dist/classwrap.js",

@@ -31,3 +31,3 @@ "jsnext:main": "src/index.js",

"format": "prettier --semi false --write 'src/**/*.js' '{,tests/ts/}*.ts'",
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
"release": "npm run build && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push origin master && git push --tags && npm publish"
},

@@ -34,0 +34,0 @@ "babel": {

@@ -13,3 +13,3 @@ export default function wrap(classes, prefix) {

if (Array.isArray(classes) && classes.length) {
for (var i = 0, l = classes.length; i < l; i++) {
for (var i = 0, len = classes.length; i < len; i++) {
if ((value = wrap(classes[i], prefix))) {

@@ -16,0 +16,0 @@ className += (className && prefix) + value

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