Comparing version 1.0.0 to 1.0.1
@@ -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 |
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"); |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
35653
1126
0