@mathigon/euclid
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -1,17 +0,14 @@ | ||
var __create = Object.create; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getProtoOf = Object.getPrototypeOf; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true }); | ||
var __export = (target, all) => { | ||
__markAsModule(target); | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __reExport = (target, module2, desc) => { | ||
var __reExport = (target, module2, copyDefault, desc) => { | ||
if (module2 && typeof module2 === "object" || typeof module2 === "function") { | ||
for (let key of __getOwnPropNames(module2)) | ||
if (!__hasOwnProp.call(target, key) && key !== "default") | ||
if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default")) | ||
__defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable }); | ||
@@ -21,8 +18,11 @@ } | ||
}; | ||
var __toModule = (module2) => { | ||
return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", module2 && module2.__esModule && "default" in module2 ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2); | ||
}; | ||
var __toCommonJS = /* @__PURE__ */ ((cache) => { | ||
return (module2, temp) => { | ||
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp); | ||
}; | ||
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0); | ||
// src/index.ts | ||
__export(exports, { | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
Angle: () => Angle, | ||
@@ -67,13 +67,13 @@ Arc: () => Arc, | ||
// src/angle.ts | ||
var import_fermat5 = __toModule(require("@mathigon/fermat")); | ||
var import_fermat5 = require("@mathigon/fermat"); | ||
// src/arc.ts | ||
var import_fermat3 = __toModule(require("@mathigon/fermat")); | ||
var import_fermat3 = require("@mathigon/fermat"); | ||
// src/point.ts | ||
var import_core = __toModule(require("@mathigon/core")); | ||
var import_fermat2 = __toModule(require("@mathigon/fermat")); | ||
var import_core = require("@mathigon/core"); | ||
var import_fermat2 = require("@mathigon/fermat"); | ||
// src/utilities.ts | ||
var import_fermat = __toModule(require("@mathigon/fermat")); | ||
var import_fermat = require("@mathigon/fermat"); | ||
var TWO_PI = 2 * Math.PI; | ||
@@ -323,3 +323,3 @@ function rad(p, c) { | ||
// src/line.ts | ||
var import_fermat4 = __toModule(require("@mathigon/fermat")); | ||
var import_fermat4 = require("@mathigon/fermat"); | ||
var Line = class { | ||
@@ -567,14 +567,14 @@ constructor(p1, p2) { | ||
// src/bounds.ts | ||
var import_fermat11 = __toModule(require("@mathigon/fermat")); | ||
var import_fermat11 = require("@mathigon/fermat"); | ||
// src/rectangle.ts | ||
var import_fermat10 = __toModule(require("@mathigon/fermat")); | ||
var import_fermat10 = require("@mathigon/fermat"); | ||
// src/polygon.ts | ||
var import_core4 = __toModule(require("@mathigon/core")); | ||
var import_fermat9 = __toModule(require("@mathigon/fermat")); | ||
var import_core4 = require("@mathigon/core"); | ||
var import_fermat9 = require("@mathigon/fermat"); | ||
// src/boolean.ts | ||
var import_core2 = __toModule(require("@mathigon/core")); | ||
var import_fermat6 = __toModule(require("@mathigon/fermat")); | ||
var import_core2 = require("@mathigon/core"); | ||
var import_fermat6 = require("@mathigon/fermat"); | ||
var PRECISION = 1e-6; | ||
@@ -1020,3 +1020,3 @@ function pointAboveOrOnLine(pt, left, right) { | ||
// src/circle.ts | ||
var import_fermat7 = __toModule(require("@mathigon/fermat")); | ||
var import_fermat7 = require("@mathigon/fermat"); | ||
var Circle = class { | ||
@@ -1090,4 +1090,4 @@ constructor(c = ORIGIN, r = 1) { | ||
// src/intersection.ts | ||
var import_core3 = __toModule(require("@mathigon/core")); | ||
var import_fermat8 = __toModule(require("@mathigon/fermat")); | ||
var import_core3 = require("@mathigon/core"); | ||
var import_fermat8 = require("@mathigon/fermat"); | ||
@@ -1654,4 +1654,4 @@ // src/types.ts | ||
// src/draw-svg.ts | ||
var import_core5 = __toModule(require("@mathigon/core")); | ||
var import_fermat12 = __toModule(require("@mathigon/fermat")); | ||
var import_core5 = require("@mathigon/core"); | ||
var import_fermat12 = require("@mathigon/fermat"); | ||
function drawArc(a, b, c) { | ||
@@ -1794,3 +1794,3 @@ const orient = b.x * (c.y - a.y) + a.x * (b.y - c.y) + c.x * (a.y - b.y); | ||
// src/ellipse.ts | ||
var import_fermat13 = __toModule(require("@mathigon/fermat")); | ||
var import_fermat13 = require("@mathigon/fermat"); | ||
var Ellipse = class { | ||
@@ -1864,2 +1864,3 @@ constructor(c, a, b) { | ||
}; | ||
module.exports = __toCommonJS(src_exports); | ||
//# sourceMappingURL=index.cjs.js.map |
{ | ||
"name": "@mathigon/euclid", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"license": "MIT", | ||
@@ -16,3 +16,3 @@ "homepage": "https://mathigon.io/euclid", | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=14" | ||
}, | ||
@@ -32,17 +32,17 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@mathigon/core": "1.0.5", | ||
"@mathigon/fermat": "1.0.6" | ||
"@mathigon/core": "1.0.6", | ||
"@mathigon/fermat": "1.0.7" | ||
}, | ||
"devDependencies": { | ||
"@types/tape": "4.13.2", | ||
"@typescript-eslint/eslint-plugin": "5.3.0", | ||
"@typescript-eslint/parser": "5.3.0", | ||
"esbuild": "0.13.12", | ||
"eslint": "8.1.0", | ||
"eslint-plugin-import": "2.25.2", | ||
"tape": "5.3.1", | ||
"@typescript-eslint/eslint-plugin": "5.8.1", | ||
"@typescript-eslint/parser": "5.8.1", | ||
"esbuild": "0.14.10", | ||
"eslint": "8.6.0", | ||
"eslint-plugin-import": "2.25.3", | ||
"tape": "5.4.0", | ||
"ts-node": "10.4.0", | ||
"tslib": "2.3.1", | ||
"typescript": "4.4.4" | ||
"typescript": "4.5.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
6484
468168
+ Added@mathigon/core@1.0.6(transitive)
+ Added@mathigon/fermat@1.0.7(transitive)
- Removed@mathigon/core@1.0.5(transitive)
- Removed@mathigon/fermat@1.0.6(transitive)
Updated@mathigon/core@1.0.6
Updated@mathigon/fermat@1.0.7