@titanium/jsonc
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -6,2 +6,5 @@ /* eslint-disable no-underscore-dangle */ | ||
const JSONC = require('./jsonc'); | ||
const { gray, blue, green, cyan, magenta, yellow, red } = require('ansi-colors'); | ||
@@ -8,0 +11,0 @@ |
@@ -5,3 +5,3 @@ | ||
const colorJson = require('./color-json'); | ||
// const colorJson = require('./color-json'); | ||
jsonc.parser = require('jsonc-parser'); | ||
@@ -11,3 +11,3 @@ const stringifier = require('fast-safe-stringify'); | ||
jsonc.stringify = (value, replacer, space) => stringifier(value, replacer, space); | ||
jsonc.colorify = (value, replacer, space) => colorJson(stringifier(value, replacer, space)); | ||
jsonc.colorify = (value, replacer, space) => require('./color-json')(value, { indent: space }); | ||
@@ -14,0 +14,0 @@ jsonc.parse = (json, errors = [], { allowTrailingComma = true, allowEmptyContent = false, disallowComments = false } = {}) => { |
{ | ||
"name": "@titanium/jsonc", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Use JSONC with Axway Titanium.", | ||
@@ -5,0 +5,0 @@ "main": "jsonc.js", |
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
6679
106