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

json-truncate

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-truncate - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

index.js

@@ -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 @@

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