New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

one-spaces

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

one-spaces - npm Package Compare versions

Comparing version 1.1.6 to 1.2.1

.DS_Store

10

dist/index.js
/**
* @author TroyTae
* @version 1.1.6
* @version 1.2.1
* @name one-spaces

@@ -11,7 +11,7 @@ */

arg,
className = '',
index = arguments.length
index = 0,
className = ''
;
while (index--) {
if (arg = arguments[index]) {
for (; index < arguments.length;) {
if (arg = arguments[index++]) {
if (className) {

@@ -18,0 +18,0 @@ className += ' ';

@@ -1,1 +0,1 @@

var OneSpaces=function e(){var n,p="",a=arguments.length;while(a--)(n=arguments[a])&&(p&&(p+=" "),p+=n.pop?e.apply(0,n):n);return p};
var OneSpaces=function n(){for(var p,r=0,a="";r<arguments.length;)(p=arguments[r++])&&(a&&(a+=" "),a+=p.pop?n.apply(0,p):p);return a};
{
"name": "one-spaces",
"version": "1.1.6",
"version": "1.2.1",
"description": "A tiny module for making className 😎",

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

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