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

react-json-view

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-json-view - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

2

package.json
{
"name": "react-json-view",
"description": "interactive json viewer wrapped up in a react component",
"version": "1.1.6",
"version": "1.1.7",
"main": "dist/main.js",

@@ -6,0 +6,0 @@ "devDependencies": {

@@ -9,11 +9,28 @@ const path = require('path');

style: path.join(__dirname, 'src/style'),
build_index: path.join(__dirname, 'dist'),
build_assets: path.join(__dirname, 'dist')
build: path.join(__dirname, 'dist'),
example: path.join(__dirname, 'example')
};
const entrypoint = process.env.NODE_ENV === 'local_example'
? PATHS.example + '/example.js' : PATHS.js + '/index.js';
const config = {
entry: [
PATHS.js + '/index.js',
],
externals: {},
entry: [entrypoint],
externals: {
react: {
root: 'React',
commonjs2: 'react',
commonjs: 'react',
amd: 'react'
}
},
{
'react-dom': {
root: 'ReactDOM',
commonjs2: 'react-dom',
commonjs: 'react-dom',
amd: 'react-dom'
}
},
},
devServer: {

@@ -25,9 +42,9 @@ host: '0.0.0.0',

historyApiFallback: true,
contentBase: PATHS.build_index
contentBase: PATHS.build
},
output: {
path: PATHS.build_index,
path: PATHS.build,
filename: 'main.js',
library: 'reactJsonView',
libraryTarget: 'var'
libraryTarget: 'umd'
},

@@ -65,3 +82,3 @@ plugins: [

],
include: PATHS.js
include: [PATHS.js, PATHS.example]
},

@@ -68,0 +85,0 @@ {

Sorry, the diff of this file is not supported yet

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