Socket
Socket
Sign inDemoInstall

ejson

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ejson - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

build.js

@@ -15,2 +15,9 @@ 'use strict';

//
// Add a Meteor stub, when fibers are not supported on you system meteor
// automatically sets this function to a nope function. We're going to do the
// same here as there are small parts of the code that call this function.
//
'var Meteor = { _noYieldsAllowed:function nope(f) { return f(); }};',
//
// EJSON and meteor has a horrible habit of introducing pointless globals

@@ -17,0 +24,0 @@ // a.k.a. writing bad code in general. These variable declarations ensure that

1

index.js
module.exports = (function () {
"use strict";
var Meteor = { _noYieldsAllowed:function nope(f) { return f(); }};
var EJSON, EJSONTest, i, base64Encode, base64Decode, root = {};

@@ -4,0 +5,0 @@ var _ = require("underscore");

2

package.json
{
"name": "ejson",
"version": "1.0.0",
"version": "1.0.1",
"description": "EJSON - Extended and Extensible JSON library from Meteor made compatible for Nodejs and Browserif",

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

# ejson
[![Build Status](https://travis-ci.org/primus/EJSON.png)](https://travis-ci.org/primus/EJSON)
[![NPM version](https://badge.fury.io/js/e-json.png)](http://badge.fury.io/js/e-json)
[![NPM version](https://badge.fury.io/js/ejson.png)](http://badge.fury.io/js/ejson)

@@ -6,0 +6,0 @@ `ejson` is an extension of JSON to support more types. It supports all JSON-safe

@@ -14,2 +14,9 @@ 'use strict';

//
// Add a Meteor stub, when fibers are not supported on you system meteor
// automatically sets this function to a nope function. We're going to do the
// same here as there are small parts of the code that call this function.
//
'var Meteor = { _noYieldsAllowed:function nope(f) { return f(); }};',
//
// EJSON and meteor has a horrible habit of introducing pointless globals

@@ -16,0 +23,0 @@ // a.k.a. writing bad code in general. These variable declarations ensure that

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