markdown-to-jsx
Advanced tools
Comparing version 6.11.4 to 7.0.0-test.0
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "6.11.4", | ||
"version": "7.0.0-test.0", | ||
"engines": { | ||
@@ -19,7 +19,6 @@ "node": ">= 4" | ||
], | ||
"author": "Evan Scott <probablyup@gmail.com>", | ||
"author": "Evan Jacobs <probablyup@gmail.com>", | ||
"repository": "probablyup/markdown-to-jsx", | ||
"bugs": "https://github.com/probablyup/markdown-to-jsx/issues", | ||
"files": [ | ||
"index.js", | ||
"dist", | ||
@@ -29,48 +28,40 @@ "LICENSE", | ||
], | ||
"main": "dist/cjs.js", | ||
"jsnext:main": "dist/esm.js", | ||
"module": "dist/esm.js", | ||
"source": "index.tsx", | ||
"main": "dist/index.js", | ||
"module": "dist/index.module.js", | ||
"umd:main": "dist/index.umd.js", | ||
"esmodule": "dist/index.modern.js", | ||
"types": "dist/index.d.ts", | ||
"devDependencies": { | ||
"babel-cli": "^6.14.0", | ||
"babel-core": "^6.26.0", | ||
"babel-eslint": "^10.0.1", | ||
"babel-jest": "^23.6.0", | ||
"babel-loader": "^7.1.4", | ||
"babel-plugin-emotion": "^9.2.11", | ||
"babel-plugin-transform-react-remove-prop-types": "^0.4.19", | ||
"babel-preset-env": "^1.7.0", | ||
"babel-preset-minify": "^0.5.0", | ||
"babel-preset-react": "^6.11.1", | ||
"babel-preset-stage-2": "^6.13.0", | ||
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", | ||
"@babel/plugin-proposal-object-rest-spread": "^7.11.0", | ||
"@babel/plugin-proposal-optional-chaining": "^7.11.0", | ||
"@babel/plugin-transform-typescript": "^7.11.0", | ||
"@size-limit/preset-small-lib": "^4.5.0", | ||
"@types/node": "^14.6.4", | ||
"@types/react": "^16.9.49", | ||
"@types/styled-components": "^5.1.3", | ||
"benchtable": "^0.1.0", | ||
"cli-progress": "^3.8.2", | ||
"codecov": "^3.1.0", | ||
"emotion": "^9.2.12", | ||
"eslint": "^5.7.0", | ||
"eslint-config-prettier": "^4.1.0", | ||
"eslint-plugin-react": "^7.11.1", | ||
"esm": "^3.0.84", | ||
"in-publish": "^2.0.0", | ||
"jest": "^23.6.0", | ||
"jest-serializer-html": "^5.0.0", | ||
"markdown-it": "^8.4.2", | ||
"jest": "^26.4.2", | ||
"jest-serializer-html": "^7.0.0", | ||
"markdown-it": "^11.0.0", | ||
"microbundle": "^0.12.3", | ||
"microtime": "^3.0.0", | ||
"mkdirp": "^0.5.1", | ||
"mkdirp": "^1.0.4", | ||
"polished": "^3.0.3", | ||
"preact": "^8.3.1", | ||
"preact-compat": "^3.18.4", | ||
"preact-emotion": "^9.2.12", | ||
"prettier": "^1.14.3", | ||
"react": "^15.6.1", | ||
"react-dom": "^15.6.1", | ||
"preact": "^10.4.8", | ||
"prettier": "^2.1.1", | ||
"react": "^16.13.1", | ||
"react-dom": "^16.13.1", | ||
"react-markdown": "^4.0.3", | ||
"rimraf": "^2.6.2", | ||
"simple-markdown": "^0.4.2", | ||
"size-limit": "^0.21.1", | ||
"uglify-js": "^3.4.9", | ||
"webpack": "^4.21.0", | ||
"webpack-cli": "^3.1.2", | ||
"webpack-dev-server": "^3.1.9" | ||
}, | ||
"dependencies": { | ||
"prop-types": "^15.6.2", | ||
"rimraf": "^3.0.2", | ||
"simple-markdown": "^0.7.2", | ||
"size-limit": "^4.5.0", | ||
"styled-components": "^5.1.1", | ||
"ts-jest": "^26.3.0", | ||
"typescript": "^4.0.2", | ||
"unquote": "^1.1.0" | ||
@@ -83,8 +74,6 @@ }, | ||
"prepublish": "in-publish && npm run build && npm run release || not-in-publish", | ||
"lint": "eslint .", | ||
"prebuild": "rimraf dist && mkdirp dist", | ||
"build": "NODE_ENV=production babel index.js --out-file dist/cjs.js --source-maps --no-comments && NODE_ENV=production BABEL_ENV=esm babel index.js --out-file dist/esm.js --source-maps --no-comments", | ||
"release": "webpack --config ./webpack.config.prod.babel.js -p --display-optimization-bailout", | ||
"release:debug": "webpack --config ./webpack.config.babel.js --display-optimization-bailout", | ||
"start": "webpack-dev-server --hot --inline --open", | ||
"build": "microbundle --tsconfig tsconfig.json -f cjs,umd index.cjs.tsx --name MarkdownToJSX --define process.env.NODE_ENV=production --globals react=React && microbundle --tsconfig tsconfig.json -f es,modern --name MarkdownToJSX --define process.env.NODE_ENV=production", | ||
"release": "microbundle site.tsx -o docs -f iife --tsconfig tsconfig.site.json --define process.env.NODE_ENV=production --jsx React.createElement --external react,react-dom,styled-components --globals react=React,react-dom=ReactDOM,styled-components=styled", | ||
"dev": "microbundle watch site.tsx -o docs -f iife --tsconfig tsconfig.site.json --define process.env.NODE_ENV=development --no-compress --jsx React.createElement --external react,react-dom,styled-components --globals react=React,react-dom=ReactDOM,styled-components=styled", | ||
"test": "jest --verbose", | ||
@@ -96,7 +85,8 @@ "size": "size-limit", | ||
{ | ||
"path": "dist/cjs.js", | ||
"limit": "5.28 kB" | ||
"path": "dist/index.js", | ||
"limit": "5.5 kB" | ||
} | ||
], | ||
"jest": { | ||
"preset": "ts-jest", | ||
"snapshotSerializers": [ | ||
@@ -103,0 +93,0 @@ "jest-serializer-html" |
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
379053
1
32
14
1
333
4
1
- Removedprop-types@^15.6.2
- Removedunquote@^1.1.0
- Removedobject-assign@4.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact-is@16.13.1(transitive)
- Removedunquote@1.1.1(transitive)