@antv/g-math
Advanced tools
Comparing version 0.1.7 to 1.0.0-alpha.0
{ | ||
"name": "@antv/g-math", | ||
"version": "0.1.7", | ||
"description": "geometry math", | ||
"main": "lib/index.js", | ||
"module": "esm/index.js", | ||
"types": "lib/index.d.ts", | ||
"version": "1.0.0-alpha.0", | ||
"description": "Geometry util", | ||
"main": "dist/index.js", | ||
"module": "dist/index.esm.js", | ||
"types": "dist/index.d.ts", | ||
"unpkg": "dist/index.umd.min.js", | ||
"files": [ | ||
"src", | ||
"package.json", | ||
"esm", | ||
"lib", | ||
"dist", | ||
"LICENSE", | ||
"README.md" | ||
], | ||
"scripts": { | ||
"build": "npm run clean && run-p build:*", | ||
"build:esm": "tsc -p tsconfig.json --target ES5 --module ESNext --outDir esm", | ||
"build:cjs": "tsc -p tsconfig.json --target ES5 --module commonjs --outDir lib", | ||
"clean": "rm -rf esm lib", | ||
"watch:cjs": "tsc-watch -p tsconfig.json --target ES5 --module commonjs --outDir lib --compiler typescript/bin/tsc", | ||
"coverage": "npm run coverage-generator && npm run coverage-viewer", | ||
"coverage-generator": "torch --coverage --compile --source-pattern src/*.js,src/**/*.js --opts tests/mocha.opts", | ||
"coverage-viewer": "torch-coverage", | ||
"test": "torch --renderer --compile --opts tests/mocha.opts", | ||
"test-live": "torch --compile --interactive --opts tests/mocha.opts", | ||
"tsc": "tsc --noEmit", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/antvis/util.git" | ||
"url": "git+https://github.com/antvis/g.git" | ||
}, | ||
@@ -43,18 +30,14 @@ "keywords": [ | ||
"author": "https://github.com/orgs/antvis/people", | ||
"license": "ISC", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/antvis/util/issues" | ||
"url": "https://github.com/antvis/g/issues" | ||
}, | ||
"devDependencies": { | ||
"@antv/torch": "^1.0.0", | ||
"electron": "4.1.5", | ||
"less": "^3.9.0", | ||
"@types/jest": "^25.0.0", | ||
"npm-run-all": "^4.1.5", | ||
"tsc-watch": "^4.0.0" | ||
"webpack": "^4.39.3", | ||
"webpack-cli": "^3.3.7" | ||
}, | ||
"homepage": "https://github.com/antvis/util#readme", | ||
"dependencies": { | ||
"@antv/util": "~2.0.0", | ||
"gl-matrix": "^3.0.0" | ||
} | ||
"homepage": "https://github.com/antvis/g#readme", | ||
"gitHead": "1218abbd3b3d843947047e7ee8f65089aa9c44a4" | ||
} |
@@ -5,3 +5,2 @@ # g-math | ||
## 安装下载 | ||
@@ -16,11 +15,6 @@ | ||
const len = line.length(x1, x2, x2, y2); | ||
``` | ||
## API 文档 | ||
> 目前使用到的、且推荐使用的 API 文档,不在文档内的不建议使用。 | ||
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
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
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
0
4
144863
20
3932
19
2
- Removed@antv/util@~2.0.0
- Removedgl-matrix@^3.0.0
- Removed@antv/util@2.0.17(transitive)
- Removedcsstype@3.1.3(transitive)
- Removedgl-matrix@3.4.3(transitive)
- Removedtslib@2.8.1(transitive)