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 0.6.2 to 0.6.3

4

dist/index.d.ts

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

export default function (): string;
declare type Arguments = Array<string | object | Arguments>;
declare function OneSpaces(...args: Array<string | object | Arguments>): string;
export default OneSpaces;
/**
* @author TroyTae
* @version 0.6.2
* @version 0.6.3
* @name one-spaces
*/
'use strict';var OBJECT_TYPE_LITERAL = 'object';
function index () {
function OneSpaces() {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var k;

@@ -26,2 +30,2 @@ var argument;

return className;
}module.exports=index;
}module.exports=OneSpaces;

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

var OneSpaces=function(){"use strict";var e="object";return function(){for(var r,n,t="",f=arguments.length;f--;)if(typeof(n=arguments[f])===e)for(r in n)n[r]&&(t+=" "+r);else t+=" "+n;return t}}();
var OneSpaces=function(){"use strict";var r="object";return function(){for(var e,n,t=[],f=0;f<arguments.length;f++)t[f]=arguments[f];for(var o="",a=arguments.length;a--;)if(typeof(n=arguments[a])===r)for(e in n)n[e]&&(o+=" "+e);else o+=" "+n;return o}}();
{
"name": "one-spaces",
"version": "0.6.2",
"version": "0.6.3",
"description": "A tiny module for making className 😎",

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

@@ -0,4 +1,6 @@

type Arguments = Array<string | object | Arguments>;
const OBJECT_TYPE_LITERAL = 'object';
export default function() {
function OneSpaces(...args: Array<string | object | Arguments>) {
let k;

@@ -22,1 +24,3 @@ let argument;

}
export default OneSpaces;
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