New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@thi.ng/geom-subdiv-curve

Package Overview
Dependencies
Maintainers
1
Versions
271
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/geom-subdiv-curve - npm Package Compare versions

Comparing version 0.1.27 to 0.1.28

1

api.d.ts

@@ -34,1 +34,2 @@ import { SubdivKernel } from "@thi.ng/geom-api";

export declare const SUBDIV_CUBIC_CLOSED: SubdivKernel;
//# sourceMappingURL=api.d.ts.map

@@ -6,2 +6,10 @@ # Change Log

## [0.1.28](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.27...@thi.ng/geom-subdiv-curve@0.1.28) (2020-01-24)
**Note:** Version bump only for package @thi.ng/geom-subdiv-curve
## [0.1.27](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-subdiv-curve@0.1.26...@thi.ng/geom-subdiv-curve@0.1.27) (2019-11-30)

@@ -8,0 +16,0 @@

export * from "./api";
export * from "./kernels";
export * from "./subdivide";
//# sourceMappingURL=index.d.ts.map

13

kernels.d.ts

@@ -5,4 +5,4 @@ /**

*
* @param u split coeffs
* @param v split coeffs
* @param u - split coeffs
* @param v - split coeffs
*/

@@ -14,4 +14,4 @@ export declare const kernel2: ([ua, ub]: number[], [va, vb]: number[]) => ([a, b]: import("@thi.ng/api").ArrayLikeIterable<number>[]) => import("@thi.ng/vectors").Vec[];

*
* @param u split coeffs
* @param v split coeffs
* @param u - split coeffs
* @param v - split coeffs
*/

@@ -23,5 +23,6 @@ export declare const kernel3: ([ua, ub, uc]: number[], [va, vb, vc]: number[]) => ([a, b, c]: import("@thi.ng/api").ArrayLikeIterable<number>[]) => import("@thi.ng/vectors").Vec[];

*
* @param u split coeffs
* @param v split coeffs
* @param u - split coeffs
* @param v - split coeffs
*/
export declare const kernel5: ([ua, ub, uc, ud, ue]: number[], [va, vb, vc, vd, ve]: number[]) => ([a, b, c, d, e]: import("@thi.ng/api").ArrayLikeIterable<number>[]) => import("@thi.ng/vectors").Vec[];
//# sourceMappingURL=kernels.d.ts.map

@@ -6,4 +6,4 @@ import { addW2, addW3, addW5 } from "@thi.ng/vectors";

*
* @param u split coeffs
* @param v split coeffs
* @param u - split coeffs
* @param v - split coeffs
*/

@@ -15,4 +15,4 @@ export const kernel2 = ([ua, ub], [va, vb]) => ([a, b]) => [addW2([], a, b, ua, ub), addW2([], a, b, va, vb)];

*
* @param u split coeffs
* @param v split coeffs
* @param u - split coeffs
* @param v - split coeffs
*/

@@ -27,4 +27,4 @@ export const kernel3 = ([ua, ub, uc], [va, vb, vc]) => ([a, b, c]) => [

*
* @param u split coeffs
* @param v split coeffs
* @param u - split coeffs
* @param v - split coeffs
*/

@@ -31,0 +31,0 @@ export const kernel5 = ([ua, ub, uc, ud, ue], [va, vb, vc, vd, ve]) => ([a, b, c, d, e]) => [

{
"name": "@thi.ng/geom-subdiv-curve",
"version": "0.1.27",
"version": "0.1.28",
"description": "Freely customizable, iterative nD subdivision curves for open / closed geometries",

@@ -26,18 +26,20 @@ "module": "./index.js",

"doc": "node_modules/.bin/typedoc --mode modules --out doc src",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@types/mocha": "^5.2.6",
"@types/node": "^12.12.11",
"mocha": "^6.2.2",
"nyc": "^14.0.0",
"ts-node": "^8.5.2",
"typedoc": "^0.15.2",
"typescript": "^3.7.2"
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.7.7",
"@types/mocha": "^5.2.7",
"@types/node": "^13.5.0",
"mocha": "^7.0.0",
"nyc": "^15.0.0",
"ts-node": "^8.6.2",
"typedoc": "^0.16.8",
"typescript": "^3.7.5"
},
"dependencies": {
"@thi.ng/geom-api": "^0.3.8",
"@thi.ng/transducers": "^6.1.0",
"@thi.ng/vectors": "^4.0.1"
"@thi.ng/geom-api": "^1.0.0",
"@thi.ng/transducers": "^6.2.0",
"@thi.ng/vectors": "^4.0.2"
},

@@ -62,3 +64,3 @@ "keywords": [

"sideEffects": false,
"gitHead": "36c4d9e967bd80ccdbfa0f4a42f594080f95f105"
"gitHead": "93d8af817724c1c5b06d80ffa2492fe5b4fb7bc4"
}

@@ -51,7 +51,9 @@ <!-- This file is generated - DO NOT EDIT! -->

Package sizes (gzipped): ESM: 0.6KB / CJS: 0.7KB / UMD: 0.7KB
## Dependencies
- [@thi.ng/geom-api](https://github.com/thi-ng/umbrella/tree/master/packages/geom-api)
- [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/master/packages/transducers)
- [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/master/packages/vectors)
- [@thi.ng/geom-api](https://github.com/thi-ng/umbrella/tree/develop/packages/geom-api)
- [@thi.ng/transducers](https://github.com/thi-ng/umbrella/tree/develop/packages/transducers)
- [@thi.ng/vectors](https://github.com/thi-ng/umbrella/tree/develop/packages/vectors)

@@ -74,2 +76,2 @@ ## API

&copy; 2016 - 2019 Karsten Schmidt // Apache Software License 2.0
&copy; 2016 - 2020 Karsten Schmidt // Apache Software License 2.0

@@ -47,2 +47,4 @@ # ${pkg.name}

${pkg.size}
## Dependencies

@@ -49,0 +51,0 @@

import { SubdivKernel } from "@thi.ng/geom-api";
/**
* http://algorithmicbotany.org/papers/subgpu.sig2003.pdf
* {@link http://algorithmicbotany.org/papers/subgpu.sig2003.pdf}
*
* @param kernel subdivision scheme
* @param pts source points
* @param iter number of iterations
* @param kernel - subdivision scheme
* @param pts - source points
* @param iter - number of iterations
*/
export declare const subdivide: (pts: import("@thi.ng/api").ArrayLikeIterable<number>[], { fn, pre, size }: SubdivKernel, iter?: number) => import("@thi.ng/api").ArrayLikeIterable<number>[];
//# sourceMappingURL=subdivide.d.ts.map
import { comp, indexed, mapcat, partition, push, transduce } from "@thi.ng/transducers";
/**
* http://algorithmicbotany.org/papers/subgpu.sig2003.pdf
* {@link http://algorithmicbotany.org/papers/subgpu.sig2003.pdf}
*
* @param kernel subdivision scheme
* @param pts source points
* @param iter number of iterations
* @param kernel - subdivision scheme
* @param pts - source points
* @param iter - number of iterations
*/

@@ -9,0 +9,0 @@ export const subdivide = (pts, { fn, pre, size }, iter = 1) => {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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