Skip to content

Commit

Permalink
Release v1.7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gentooboontoo committed Dec 6, 2020
1 parent 803554e commit c371392
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 15 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
Unreleased
----------

1.7.6 / 2020-12-06
------------------

### Added

* Unit of acceleration `Gal`

### Fixed

* Missing aliases for barrel-related units (#101)

1.7.5 / 2020-04-05
------------------

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ and browsers. It has **no dependencies**.

## Installation

Install with `npm install js-quantities` or download latest release v1.7.5 as:
Install with `npm install js-quantities` or download latest release v1.7.6 as:

* [UMD module](https://raw.github.com/gentooboontoo/js-quantities/v1.7.5/build/quantities.js)
* [ES module](https://raw.github.com/gentooboontoo/js-quantities/v1.7.5/build/quantities.mjs)
* [UMD module](https://raw.github.com/gentooboontoo/js-quantities/v1.7.6/build/quantities.js)
* [ES module](https://raw.github.com/gentooboontoo/js-quantities/v1.7.6/build/quantities.mjs)

## Usage

Expand Down
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.7.5
1.7.6
11 changes: 6 additions & 5 deletions build/quantities.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.Qty = factory());
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Qty = factory());
}(this, (function () { 'use strict';

/**
Expand Down Expand Up @@ -288,9 +288,9 @@ SOFTWARE.
"<tablespoon>": [["tb","tbsp","tbs","tablespoon","tablespoons"], 1.47867648e-5, "volume", ["<meter>","<meter>","<meter>"]],
"<teaspoon>": [["tsp","teaspoon","teaspoons"], 4.92892161e-6, "volume", ["<meter>","<meter>","<meter>"]],
"<bushel>": [["bu","bsh","bushel","bushels"], 0.035239072, "volume", ["<meter>","<meter>","<meter>"]],
"<oilbarrel>": [["bbl","oil-barrel","oil-barrels"], 0.158987294928, "volume", ["<meter>","<meter>","<meter>"]],
"<beerbarrel>": [["bl","bl-us","beer-barrel","beer-barrels"], 0.1173477658, "volume", ["<meter>","<meter>","<meter>"]],
"<beerbarrel-imp>": [["blimp","bl-imp","beer-barrel-imp","beer-barrels-imp"], 0.16365924, "volume", ["<meter>","<meter>","<meter>"]],
"<oilbarrel>": [["bbl","oilbarrel", "oilbarrels", "oil-barrel","oil-barrels"], 0.158987294928, "volume", ["<meter>","<meter>","<meter>"]],
"<beerbarrel>": [["bl","bl-us","beerbarrel", "beerbarrels", "beer-barrel","beer-barrels"], 0.1173477658, "volume", ["<meter>","<meter>","<meter>"]],
"<beerbarrel-imp>": [["blimp","bl-imp","beerbarrel-imp", "beerbarrels-imp", "beer-barrel-imp","beer-barrels-imp"], 0.16365924, "volume", ["<meter>","<meter>","<meter>"]],

/* speed */
"<kph>" : [["kph"], 0.277777778, "speed", ["<meter>"], ["<second>"]],
Expand All @@ -300,6 +300,7 @@ SOFTWARE.

/* acceleration */
"<gee>" : [["gee"], 9.80665, "acceleration", ["<meter>"], ["<second>","<second>"]],
"<Gal>" : [["Gal"], 1e-2, "acceleration", ["<meter>"], ["<second>","<second>"]],

/* temperature_difference */
"<kelvin>" : [["degK","kelvin"], 1.0, "temperature", ["<kelvin>"]],
Expand Down Expand Up @@ -2006,7 +2007,7 @@ SOFTWARE.
});
}

Qty.version = "1.7.5";
Qty.version = "1.7.6";

return Qty;

Expand Down
9 changes: 5 additions & 4 deletions build/quantities.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,9 @@ var UNITS = {
"<tablespoon>": [["tb","tbsp","tbs","tablespoon","tablespoons"], 1.47867648e-5, "volume", ["<meter>","<meter>","<meter>"]],
"<teaspoon>": [["tsp","teaspoon","teaspoons"], 4.92892161e-6, "volume", ["<meter>","<meter>","<meter>"]],
"<bushel>": [["bu","bsh","bushel","bushels"], 0.035239072, "volume", ["<meter>","<meter>","<meter>"]],
"<oilbarrel>": [["bbl","oil-barrel","oil-barrels"], 0.158987294928, "volume", ["<meter>","<meter>","<meter>"]],
"<beerbarrel>": [["bl","bl-us","beer-barrel","beer-barrels"], 0.1173477658, "volume", ["<meter>","<meter>","<meter>"]],
"<beerbarrel-imp>": [["blimp","bl-imp","beer-barrel-imp","beer-barrels-imp"], 0.16365924, "volume", ["<meter>","<meter>","<meter>"]],
"<oilbarrel>": [["bbl","oilbarrel", "oilbarrels", "oil-barrel","oil-barrels"], 0.158987294928, "volume", ["<meter>","<meter>","<meter>"]],
"<beerbarrel>": [["bl","bl-us","beerbarrel", "beerbarrels", "beer-barrel","beer-barrels"], 0.1173477658, "volume", ["<meter>","<meter>","<meter>"]],
"<beerbarrel-imp>": [["blimp","bl-imp","beerbarrel-imp", "beerbarrels-imp", "beer-barrel-imp","beer-barrels-imp"], 0.16365924, "volume", ["<meter>","<meter>","<meter>"]],

/* speed */
"<kph>" : [["kph"], 0.277777778, "speed", ["<meter>"], ["<second>"]],
Expand All @@ -294,6 +294,7 @@ var UNITS = {

/* acceleration */
"<gee>" : [["gee"], 9.80665, "acceleration", ["<meter>"], ["<second>","<second>"]],
"<Gal>" : [["Gal"], 1e-2, "acceleration", ["<meter>"], ["<second>","<second>"]],

/* temperature_difference */
"<kelvin>" : [["degK","kelvin"], 1.0, "temperature", ["<kelvin>"]],
Expand Down Expand Up @@ -2000,6 +2001,6 @@ function simplify(units) {
});
}

Qty.version = "1.7.5";
Qty.version = "1.7.6";

export default Qty;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"readmeFilename": "README.md",
"description": "JavaScript library for quantity calculation and unit conversion",
"version": "1.7.5",
"version": "1.7.6",
"homepage": "http://gentooboontoo.github.io/js-quantities/",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/quantities.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import "./quantities/predicates.js";
import "./quantities/conversion.js";
import "./quantities/format.js";

Qty.version = "1.7.5";
Qty.version = "1.7.6";

export default Qty;

0 comments on commit c371392

Please sign in to comment.