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

@antv/g-math

Package Overview
Dependencies
Maintainers
39
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antv/g-math - npm Package Compare versions

Comparing version 0.1.7 to 1.0.0-alpha.0

dist/arc.d.ts

47

package.json
{
"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 文档,不在文档内的不建议使用。
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