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

xo

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xo - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

4

index.js

@@ -57,2 +57,6 @@ 'use strict';

if (opts.space) {
if (!opts._config.rules) {
opts._config.rules = {};
}
var spaces = typeof opts.space === 'number' ? opts.space : 2;

@@ -59,0 +63,0 @@ opts._config.rules.indent = [2, spaces, {SwitchCase: 1}];

4

package.json
{
"name": "xo",
"version": "0.5.0",
"version": "0.5.1",
"description": "JavaScript happiness style ❤️ XOXO",

@@ -67,4 +67,4 @@ "license": "MIT",

"ava": "0.0.4",
"xo": "sindresorhus/xo#v0.4.1"
"xo": "sindresorhus/xo#v0.5.0"
}
}

@@ -101,3 +101,3 @@ <h1 align="center">

"mocha": "^2.0.0",
"xo": "^0.4.0"
"xo": "^0.5.0"
}

@@ -115,3 +115,3 @@ }

"xo": {
"env": ["node", "mocha"]
"envs": ["node", "mocha"]
}

@@ -118,0 +118,0 @@ }

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