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.3.4 to 1.3.5

tsconfig.json

29

dist/index.esm.js
/**
* @author TroyTae
* @version 1.3.4
* @version 1.3.5
* @name one-spaces
*/
function OneSpaces() {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
function OneSpaces(args) {
var item, index = 0, str = '';
while (index < args.length) {
if (
(item = args[index++]) &&
(!item.pop || (item = OneSpaces(item)))
) {
str && (str += ' ');
str += item;
}
return (args
.filter(Boolean)
.join()
.replace(/,/g, ' '));
}
return str;
}
export default OneSpaces;
function index () {
return OneSpaces(arguments);
}
export default index;
/**
* @author TroyTae
* @version 1.3.4
* @version 1.3.5
* @name one-spaces

@@ -8,13 +8,22 @@ */

function OneSpaces() {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
function OneSpaces(args) {
var item, index = 0, str = '';
while (index < args.length) {
if (
(item = args[index++]) &&
(!item.pop || (item = OneSpaces(item)))
) {
str && (str += ' ');
str += item;
}
return (args
.filter(Boolean)
.join()
.replace(/,/g, ' '));
}
return str;
}
module.exports = OneSpaces;
function index () {
return OneSpaces(arguments);
}
module.exports = index;

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

var OneSpaces=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.filter(Boolean).join().replace(/,/g," ")};
var OneSpaces=function(){function n(r){for(var t,e=0,u="";e<r.length;)!(t=r[e++])||t.pop&&!(t=n(t))||(u&&(u+=" "),u+=t);return u}return function(){return n(arguments)}}();
{
"name": "one-spaces",
"version": "1.3.4",
"version": "1.3.5",
"description": "A tiny module for making className 😎",

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

"devDependencies": {
"eslint-config-troy-recommended": "git://github.com/TroyTae/eslint-config-troy-recommended.git",
"rollup-config-troy-recommended": "git://github.com/TroyTae/rollup-config-troy-recommended.git",
"jest": "^25.1.0"
"eslint-config-troy-recommended": "git+https://github.com/TroyTae/eslint-config-troy-recommended.git",
"troyjs": "git+https://github.com/TroyTae/troyjs.git"
},

@@ -30,0 +29,0 @@ "scripts": {

@@ -0,0 +0,0 @@ [![build](https://img.shields.io/github/workflow/status/TroyTae/one-spaces/one-spaces/master?style=flat-square)](https://github.com/TroyTae/one-spaces/actions?query=workflow%3Aone-spaces)

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