Huge News!Announcing our $40M Series B led by Abstract Ventures.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.5 to 1.1.6

11

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

@@ -16,6 +16,9 @@ */

if (arg = arguments[index]) {
if (className) {
className += ' ';
}
className += (
arg.pop ?
OneSpaces.apply(0, arg) :
arg + ' '
arg.pop
? OneSpaces.apply(0, arg)
: arg
);

@@ -22,0 +25,0 @@ }

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

var OneSpaces=function e(){var n,p="",a=arguments.length;while(a--)(n=arguments[a])&&(p+=n.pop?e.apply(0,n):n+" ");return p};
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};
{
"name": "one-spaces",
"version": "1.1.5",
"version": "1.1.6",
"description": "A tiny module for making className 😎",
"main": "dist/index.js",
"homepage": "https://github.com/TroyTae/one-spaces",
"author": {

@@ -8,0 +7,0 @@ "name": "TroyTae",

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