Comparing version 1.0.0 to 1.5.1
{ | ||
"name": "canvg", | ||
"description": "Javascript SVG parser and renderer on Canvas", | ||
"homepage": "https://github.com/gabelerner/canvg", | ||
"homepage": "https://github.com/canvg/canvg", | ||
"keywords": [ | ||
@@ -15,23 +15,57 @@ "javascript", | ||
"type": "git", | ||
"url": "git://github.com/gabelerner/canvg.git" | ||
"url": "git://github.com/canvg/canvg.git" | ||
}, | ||
"main": "canvg.js", | ||
"version": "1.0.0", | ||
"main": "dist/node/canvg.js", | ||
"types": "dist/node/canvg.d.ts", | ||
"browser": "dist/browser/canvg.min.js", | ||
"version": "1.5.1", | ||
"scripts": { | ||
"test" : "cd test; node testNode.js" | ||
"start": "node test/browser.test.js", | ||
"build": "npm run build-browser && npm run build-node && npm run minify", | ||
"build-browser": "touch src/dummy.js && rollup -c && rm src/dummy.js", | ||
"build-node": "IS_NODE=1 rollup -c", | ||
"test": "ava", | ||
"test-browser": "ava test/browser.test.js --tap | tap-diff", | ||
"test-node": "ava test/node.test.js --tap | tap-diff", | ||
"minify": "npm run minify-browser", | ||
"minify-browser": "uglifyjs --mangle --compress if_return=true -o dist/browser/canvg.min.js dist/browser/canvg.js" | ||
}, | ||
"license": "MIT", | ||
"files": [ | ||
"canvg.js", | ||
"MIT-LICENSE.txt" | ||
"dist", | ||
"LICENSE", | ||
"README.md", | ||
"package.json" | ||
], | ||
"readmeFilename": "README.md", | ||
"dependencies": { | ||
"jsdom": "^8.1.0", | ||
"rgbcolor": "^1.0.1", | ||
"stackblur": "^1.0.0", | ||
"jsdom": "^8.1.0", | ||
"xmldom": "^0.1.22" | ||
}, | ||
"devDependencies": { | ||
"canvas": "^1.4.0" | ||
"ava": "^1.0.0-beta.6", | ||
"ava-is-running": "^1.0.3", | ||
"blink-diff": "^1.0.13", | ||
"bluebird": "^3.5.1", | ||
"canvas": "^1.4.0", | ||
"data-uri-to-buffer": "^2.0.0", | ||
"debug": "^2.6.9", | ||
"mkdirp": "^0.5.1", | ||
"pngjs-image": "^0.11.7", | ||
"puppeteer": "^1.6.2", | ||
"rollup": "^0.63.5", | ||
"rollup-plugin-alias": "^1.4.0", | ||
"rollup-plugin-commonjs": "^9.1.4", | ||
"rollup-plugin-json": "^3.0.0", | ||
"rollup-plugin-node-resolve": "^3.3.0", | ||
"rollup-plugin-replace": "^2.0.0", | ||
"serve-handler": "^3.6.1", | ||
"tap-diff": "^0.1.1", | ||
"uglify-js": "^3.3.16" | ||
}, | ||
"jspm": { | ||
"registry": "npm" | ||
} | ||
} |
@@ -0,1 +1,7 @@ | ||
[![Build Status](https://travis-ci.com/canvg/canvg.svg?branch=master)](https://travis-ci.com/canvg/canvg) | ||
Looking for Contributors | ||
============ | ||
In an attempt to keep this repo more active and merge PRs and do releases, if you would like to be a contributor, please start a conversation with me at gabelerner at gmail. The prerequisite is to have a few PRs open to prove out an understanding of the code. Thanks! | ||
Introduction | ||
@@ -23,6 +29,3 @@ ============ | ||
Locally, can use `local-web-server` | ||
Install with `yarn global add local-web-server` | ||
In the root directory, run `ws` | ||
Navigate to `http://localhost:8000/examples/index.htm` | ||
Locally, you can run `npm start` and view the examples at `http://localhost:3123/examples/index.htm` | ||
@@ -33,4 +36,4 @@ Usage | ||
```html | ||
<script type="text/javascript" src="http://canvg.github.io/canvg/rgbcolor.js"></script> | ||
<script type="text/javascript" src="http://canvg.github.io/canvg/StackBlur.js"></script> | ||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/canvg/1.4/rgbcolor.min.js"></script> | ||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/stackblur-canvas/1.4.1/stackblur.min.js"></script> | ||
<script type="text/javascript" src="http://canvg.github.io/canvg/canvg.js"></script> | ||
@@ -37,0 +40,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
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
299193
7
5565
89
1
19
1