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

jsoner

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsoner - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

.eslintrc.yaml

22

gulpfile.js
var coveralls = require('gulp-coveralls');
var gulp = require('gulp');
var eslint = require('gulp-eslint');
var istanbul = require('gulp-istanbul');
var jshint = require('gulp-jshint');
var jscs = require('gulp-jscs');
var mocha = require('gulp-mocha');

@@ -14,20 +13,9 @@

gulp.task('jscs', function() {
gulp.task('lint', function() {
return gulp.src(srcFiles)
.pipe(jscs({
configPath: '.jscsrc'
}))
.pipe(jscs.reporter('unix'))
.pipe(jscs.reporter('fail'));
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError());
});
gulp.task('jshint', function() {
return gulp.src(srcFiles)
.pipe(jshint('./test/.jshintrc'))
.pipe(jshint.reporter('default', { verbose: true }))
.pipe(jshint.reporter('fail'));
});
gulp.task('lint', ['jscs', 'jshint']);
gulp.task('instrument', function() {

@@ -34,0 +22,0 @@ return gulp.src('lib/**/*.js')

@@ -109,3 +109,3 @@ var fs = require('fs');

}
} finally {
} finally {
fs.closeSync(fd);

@@ -112,0 +112,0 @@ }

@@ -22,3 +22,2 @@ var _ = require('lodash');

var objects = 0;
var previousCharacter;
var openDoubleQuotes = false;

@@ -40,3 +39,2 @@ var buffer = '';

buffer += character;
previousCharacter = character;
if (openDoubleQuotes) {

@@ -43,0 +41,0 @@ return;

{
"name": "jsoner",
"version": "0.1.1",
"version": "0.1.2",
"description": "Simple, fast, minimalist JSON library for node",

@@ -15,3 +15,3 @@ "keywords": [

"license": "Apache-2.0",
"main": "index.js",
"main": "lib/index.js",
"scripts": {

@@ -23,4 +23,6 @@ "test": "mocha"

"chai": "^3.4.1",
"eslint": "^1.10.3",
"gulp": "^3.9.0",
"gulp-coveralls": "^0.1.4",
"gulp-eslint": "^1.1.1",
"gulp-istanbul": "^0.10.3",

@@ -27,0 +29,0 @@ "gulp-jscs": "^3.0.2",

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