react-htmlcontent
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "react-htmlcontent", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "React HTMLContent Component", | ||
@@ -54,6 +54,9 @@ "repository": { | ||
"dependencies": { | ||
"jsdom": "^15.1.1", | ||
"dompurify": "1.0.11", | ||
"himalaya": "^1.1.0" | ||
}, | ||
"main": "dist/index.js", | ||
"main": "dist/index.cjs.js", | ||
"browser": "dist/index.amd.js", | ||
"module": "dist/index.es.js", | ||
"engines": { | ||
@@ -60,0 +63,0 @@ "npm": "^3.0.0" |
var path = require('path') | ||
module.exports = { | ||
mode: 'production', | ||
entry: './src/index.js', | ||
output: { | ||
path: path.resolve('dist'), | ||
filename: 'index.js', | ||
libraryTarget: 'commonjs2', | ||
module.exports = [ | ||
{ | ||
mode: 'production', | ||
target: 'node', | ||
entry: './src/index.js', | ||
externals: ['jsdom'], | ||
output: { | ||
path: path.resolve('dist'), | ||
filename: 'index.cjs.js', | ||
libraryTarget: 'commonjs2', | ||
}, | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.jsx?$/, | ||
exclude: /(node_modules)/, | ||
use: 'babel-loader', | ||
}, | ||
], | ||
}, | ||
}, | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.jsx?$/, | ||
exclude: /(node_modules)/, | ||
use: 'babel-loader', | ||
}, | ||
], | ||
{ | ||
mode: 'production', | ||
target: 'web', | ||
entry: './src/index.js', | ||
externals: ['jsdom'], | ||
output: { | ||
path: path.resolve('dist'), | ||
filename: 'index.amd.js', | ||
libraryTarget: 'amd', | ||
}, | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.jsx?$/, | ||
exclude: /(node_modules)/, | ||
use: 'babel-loader', | ||
}, | ||
], | ||
}, | ||
}, | ||
} | ||
] |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
702031
43
1753
4
2
2
+ Addedjsdom@^15.1.1
+ Addedabab@2.0.6(transitive)
+ Addedacorn@6.4.27.4.1(transitive)
+ Addedacorn-globals@4.3.4(transitive)
+ Addedacorn-walk@6.2.0(transitive)
+ Addedajv@6.12.6(transitive)
+ Addedarray-equal@1.0.2(transitive)
+ Addedasn1@0.2.6(transitive)
+ Addedassert-plus@1.0.0(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedaws-sign2@0.7.0(transitive)
+ Addedaws4@1.13.2(transitive)
+ Addedbcrypt-pbkdf@1.0.2(transitive)
+ Addedbrowser-process-hrtime@1.0.0(transitive)
+ Addedcaseless@0.12.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcore-util-is@1.0.2(transitive)
+ Addedcssom@0.3.80.4.4(transitive)
+ Addedcssstyle@2.3.0(transitive)
+ Addeddashdash@1.14.1(transitive)
+ Addeddata-urls@1.1.0(transitive)
+ Addeddeep-is@0.1.4(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addeddomexception@1.0.1(transitive)
+ Addedecc-jsbn@0.1.2(transitive)
+ Addedescodegen@1.14.3(transitive)
+ Addedesprima@4.0.1(transitive)
+ Addedestraverse@4.3.0(transitive)
+ Addedesutils@2.0.3(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedextsprintf@1.3.0(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-json-stable-stringify@2.1.0(transitive)
+ Addedfast-levenshtein@2.0.6(transitive)
+ Addedforever-agent@0.6.1(transitive)
+ Addedform-data@2.3.3(transitive)
+ Addedgetpass@0.1.7(transitive)
+ Addedhar-schema@2.0.0(transitive)
+ Addedhar-validator@5.1.5(transitive)
+ Addedhtml-encoding-sniffer@1.0.2(transitive)
+ Addedhttp-signature@1.2.0(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedip-regex@2.1.0(transitive)
+ Addedis-typedarray@1.0.0(transitive)
+ Addedisstream@0.1.2(transitive)
+ Addedjsbn@0.1.1(transitive)
+ Addedjsdom@15.2.1(transitive)
+ Addedjson-schema@0.4.0(transitive)
+ Addedjson-schema-traverse@0.4.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsprim@1.4.2(transitive)
+ Addedlevn@0.3.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedlodash.sortby@4.7.0(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addednwsapi@2.2.13(transitive)
+ Addedoauth-sign@0.9.0(transitive)
+ Addedoptionator@0.8.3(transitive)
+ Addedparse5@5.1.0(transitive)
+ Addedperformance-now@2.1.0(transitive)
+ Addedpn@1.1.0(transitive)
+ Addedprelude-ls@1.1.2(transitive)
+ Addedpsl@1.13.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedqs@6.5.3(transitive)
+ Addedrequest@2.88.2(transitive)
+ Addedrequest-promise-core@1.1.4(transitive)
+ Addedrequest-promise-native@1.0.9(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsaxes@3.1.11(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addedsshpk@1.18.0(transitive)
+ Addedstealthy-require@1.1.1(transitive)
+ Addedsymbol-tree@3.2.4(transitive)
+ Addedtough-cookie@2.5.03.0.1(transitive)
+ Addedtr46@1.0.1(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedtweetnacl@0.14.5(transitive)
+ Addedtype-check@0.3.2(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addeduuid@3.4.0(transitive)
+ Addedverror@1.10.0(transitive)
+ Addedw3c-hr-time@1.0.2(transitive)
+ Addedw3c-xmlserializer@1.1.2(transitive)
+ Addedwebidl-conversions@4.0.2(transitive)
+ Addedwhatwg-encoding@1.0.5(transitive)
+ Addedwhatwg-mimetype@2.3.0(transitive)
+ Addedwhatwg-url@7.1.0(transitive)
+ Addedword-wrap@1.2.5(transitive)
+ Addedws@7.5.10(transitive)
+ Addedxml-name-validator@3.0.0(transitive)
+ Addedxmlchars@2.2.0(transitive)