Skip to content

Commit ae231d6

Browse files
committed
v1.0.5
1 parent 2228695 commit ae231d6

File tree

4 files changed

+18
-16
lines changed

4 files changed

+18
-16
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,15 @@ The third level keys represent all the different units of measurement that you c
142142
polyconvert.data.bit = {
143143

144144
bit: f(x) = x,
145-
byte: f(x) = x/8,
146-
kilobyte: f(x) = x/(8*1024),
147-
megabyte: f(x) = x/(8*1024**2),
148-
gigabyte: f(x) = x/(8*1024**3),
149-
terabyte: f(x) = x/(8*1024**4),
150-
petabyte: f(x) = x/(8*1024**5),
151-
exabyte: f(x) = x/(8*1024**6),
152-
zettabyte: f(x) = x/(8*1024**7),
153-
yottabyte: f(x) = x/(8*1024**8)
145+
byte: f(x) = x / 8,
146+
kilobyte: f(x) = x / (8 * 1024),
147+
megabyte: f(x) = x / (8 * 1024 ** 2),
148+
gigabyte: f(x) = x / (8 * 1024 ** 3),
149+
terabyte: f(x) = x / (8 * 1024 ** 4),
150+
petabyte: f(x) = x / (8 * 1024 ** 5),
151+
exabyte: f(x) = x / (8 * 1024 ** 6),
152+
zettabyte: f(x) = x / (8 * 1024 ** 7),
153+
yottabyte: f(x) = x / (8 * 1024 ** 8)
154154

155155
}
156156
```

package-lock.json

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jgphilpott/polyconvert",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "A library of functions for converting between different units of measurement.",
55
"funding": "https://github.com/sponsors/jgphilpott",
66
"main": "polyconvert.js",
@@ -57,6 +57,7 @@
5757
},
5858
"homepage": "https://github.com/jgphilpott/polyconvert#readme",
5959
"devDependencies": {
60+
"baseline-browser-mapping": "^2.9.11",
6061
"coffeescript": "^2.7.0",
6162
"jest": "^30.2.0",
6263
"uglify-js": "^3.19.3"

polyconvert.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)