formulab 0.27.5 → 0.27.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.27.6] - 2026-08-16
|
|
9
|
+
|
|
10
|
+
Documentation-only release, same shape as 0.27.4/0.27.5.
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`electronics/awg` — `awgProperties()` now cites ASTM B258** for the geometric diameter
|
|
15
|
+
series its formula reproduces.
|
|
16
|
+
|
|
17
|
+
No calculation logic changed; output is identical to 0.27.5.
|
|
18
|
+
|
|
8
19
|
## [0.27.5] - 2026-08-16
|
|
9
20
|
|
|
10
21
|
Documentation-only release, same shape as 0.27.4.
|
|
@@ -5,6 +5,9 @@ import type { AwgInput, AwgResult } from './types.js';
|
|
|
5
5
|
* @param input - AWG gauge number, material, and temperature
|
|
6
6
|
* @returns Wire properties
|
|
7
7
|
* @throws {RangeError} If AWG is not between 0 and 40
|
|
8
|
+
* @reference ASTM B258 — Standard Specification for Standard Nominal Diameters and
|
|
9
|
+
* Cross-Sectional Areas of AWG Sizes of Solid Round Wires Used as Electrical Conductors
|
|
10
|
+
* (the geometric diameter series this formula reproduces)
|
|
8
11
|
*/
|
|
9
12
|
export declare function awgProperties(input: AwgInput): AwgResult;
|
|
10
13
|
//# sourceMappingURL=awg.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"awg.d.ts","sourceRoot":"","sources":["../../src/electronics/awg.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAe,MAAM,YAAY,CAAC;AA0BnE
|
|
1
|
+
{"version":3,"file":"awg.d.ts","sourceRoot":"","sources":["../../src/electronics/awg.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAe,MAAM,YAAY,CAAC;AA0BnE;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,QAAQ,GAAG,SAAS,CA0CxD"}
|
package/dist/electronics/awg.js
CHANGED
|
@@ -24,6 +24,9 @@ const CURRENT_DENSITY = {
|
|
|
24
24
|
* @param input - AWG gauge number, material, and temperature
|
|
25
25
|
* @returns Wire properties
|
|
26
26
|
* @throws {RangeError} If AWG is not between 0 and 40
|
|
27
|
+
* @reference ASTM B258 — Standard Specification for Standard Nominal Diameters and
|
|
28
|
+
* Cross-Sectional Areas of AWG Sizes of Solid Round Wires Used as Electrical Conductors
|
|
29
|
+
* (the geometric diameter series this formula reproduces)
|
|
27
30
|
*/
|
|
28
31
|
export function awgProperties(input) {
|
|
29
32
|
const { awg, material, tempC } = input;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"awg.js","sourceRoot":"","sources":["../../src/electronics/awg.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC;;GAEG;AAEH,iCAAiC;AACjC,MAAM,eAAe,GAAgC;IACnD,MAAM,EAAE,OAAO;IACf,QAAQ,EAAE,OAAO;CAClB,CAAC;AAEF,kCAAkC;AAClC,MAAM,gBAAgB,GAAgC;IACpD,MAAM,EAAE,OAAO;IACf,QAAQ,EAAE,OAAO;CAClB,CAAC;AAEF,8EAA8E;AAC9E,mEAAmE;AACnE,MAAM,eAAe,GAAgC;IACnD,MAAM,EAAE,GAAG,EAAM,QAAQ;IACzB,QAAQ,EAAE,GAAG,EAAI,sCAAsC;CACxD,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"awg.js","sourceRoot":"","sources":["../../src/electronics/awg.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EA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SAAS,GAAG,CAAC,KAAK,GAAG,EAAE,CAAC,CAAC;IAChD,MAAM,cAAc,GAAG,CAAC,WAAW,GAAG,OAAO,CAAC,GAAG,UAAU,CAAC;IAE5D,wCAAwC;IACxC,MAAM,eAAe,GAAG,cAAc,GAAG,MAAM,CAAC;IAEhD,sCAAsC;IACtC,MAAM,cAAc,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC;IACjD,MAAM,eAAe,GAAG,cAAc,GAAG,OAAO,CAAC;IAEjD,OAAO;QACL,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;QAClC,YAAY,EAAE,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;QACtC,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;QAC5B,gBAAgB,EAAE,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAC;QAC9C,cAAc,EAAE,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;QAC1C,eAAe,EAAE,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC;QAC5C,eAAe,EAAE,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC;KAC7C,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "formulab",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.6",
|
|
4
4
|
"description": "Manufacturing & Engineering calculation formulas library - 211 industrial calculations across 15 domains for OEE, Cpk, SPC, FMEA, Nelson Rules, metal weight, CNC machining, GD&T, battery, environmental, pipe flow, logistics, IE time study, and more",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|