json-truncate
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -5,7 +5,7 @@ 'use strict' | ||
try { | ||
JSONTruncate = require('./dist/json-truncate') | ||
JSONTruncate = require('./dist/json-truncate').default | ||
} catch (err) { | ||
if (err.code === 'MODULE_NOT_FOUND') { | ||
require('babel-register') | ||
JSONTruncate = require('./src/json-truncate') | ||
JSONTruncate = require('./src/json-truncate').default | ||
} else { | ||
@@ -12,0 +12,0 @@ console.log(err) |
{ | ||
"name": "json-truncate", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "A way to truncate a json object.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -14,3 +14,2 @@ # json-truncate | ||
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) | ||
[![GitHub Commits](https://img.shields.io/github/commits-since/mrsteele/json-truncate/v1.1.0.svg?maxAge=0&style=flat)](https://github.com/mrsteele/json-truncate/commits/master) | ||
[![npm](https://img.shields.io/npm/l/json-truncate.svg?maxAge=0&style=flat)](https://raw.githubusercontent.com/mrsteele/json-truncate/master/LICENSE) | ||
@@ -17,0 +16,0 @@ |
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
0
8041
44