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

@harvest-profit/units

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harvest-profit/units - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

6

dist/index.js

@@ -5,6 +5,2 @@ Object.defineProperty(exports, "__esModule", {

var _Math = require('./Math');
var _Math2 = _interopRequireDefault(_Math);
var _UnitsHelper = require('./UnitsHelper');

@@ -16,3 +12,3 @@

exports['default'] = { math: _Math2['default'], UnitsHelper: _UnitsHelper2['default'] };
exports['default'] = _UnitsHelper2['default'];
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@harvest-profit/units",
"version": "1.1.0",
"version": "1.2.0",
"description": "Units helper for Harvest Profit javascript applications",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -16,3 +16,3 @@ <div style="text-align: center">

```js
import { UnitsHelper } from '@harvest-profit/units'
import UnitsHelper from '@harvest-profit/units'

@@ -23,10 +23,2 @@ const isCompatibleUnit = UnitsHelper.isCompatibleUnit('lbs', 'tons');

You can also import our flavor of `math.js` if you need it:
```js
import { math } from '@harvest-profit/units'
const total = math.add(1, 2)
console.log(total); // 3
```
## Development

@@ -33,0 +25,0 @@ To deploy a new version to NPM, bump the version number, commit/merge to `master`, and run the following:

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