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

json-e

Package Overview
Dependencies
Maintainers
9
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-e - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

6

package.json
{
"name": "json-e",
"version": "2.4.0",
"version": "2.5.0",
"description": "json parameterization module inspired from json-parameterization",

@@ -21,3 +21,5 @@ "main": "./src/index.js",

"license": "MPL-2.0",
"dependencies": {},
"dependencies": {
"json-stable-stringify": "^1.0.1"
},
"devDependencies": {

@@ -24,0 +26,0 @@ "assume": "^1.5.2",

@@ -186,5 +186,6 @@ * [Full documentation](https://taskcluster.github.io/json-e)

The `$json` operator formats the given value as JSON. It does not evaluate the
value (use `$eval` for that). While this can be useful in some cases, it is an
unusual case to include a JSON string in a larger data structure.
The `$json` operator formats the given value as JSON with sorted keys. It does
not evaluate the value (use `$eval` for that). While this can be useful in some
cases, it is an unusual case to include a JSON string in a larger data
structure.

@@ -191,0 +192,0 @@ ```yaml

var interpreter = require('./interpreter');
var fromNow = require('./from-now');
var assert = require('assert');
var stringify = require('json-stable-stringify');
var {

@@ -128,3 +129,3 @@ isString, isNumber, isBool,

return JSON.stringify(render(template['$json'], context));
return stringify(render(template['$json'], context));
};

@@ -131,0 +132,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