Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

greenmotion-wasm

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

greenmotion-wasm - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

5

greenmotion_wasm_bg.js

@@ -45,6 +45,7 @@ let wasm;

* @param {number} vehicle_distance
* @param {number} mpg
* @returns {number}
*/
export function calculateCarJoules(vehicle_distance) {
const ret = wasm.calculateCarJoules(vehicle_distance);
export function calculateCarJoules(vehicle_distance, mpg) {
const ret = wasm.calculateCarJoules(vehicle_distance, mpg);
return ret;

@@ -51,0 +52,0 @@ }

3

greenmotion_wasm.d.ts

@@ -26,5 +26,6 @@ /* tslint:disable */

* @param {number} vehicle_distance
* @param {number} mpg
* @returns {number}
*/
export function calculateCarJoules(vehicle_distance: number): number;
export function calculateCarJoules(vehicle_distance: number, mpg: number): number;
/**

@@ -31,0 +32,0 @@ * @param {number} car_joules

{
"name": "greenmotion-wasm",
"version": "0.5.0",
"version": "0.6.0",
"files": [

@@ -5,0 +5,0 @@ "greenmotion_wasm_bg.wasm",

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