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

@danielgindi/bcp-charger-api

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

@danielgindi/bcp-charger-api - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

4

index.js

@@ -94,3 +94,3 @@ import iconv from 'iconv-lite';

input = input.replaceAll(' ', '');
input = input.replace(/ /g, '');
const length = input.length;

@@ -167,3 +167,3 @@

decodeString(hexInput) {
return iconv.decode(Buffer.from(hexInput.replaceAll(' ', ''), 'hex'), 'gbk')
return iconv.decode(Buffer.from(hexInput.replace(/ /g, ''), 'hex'), 'gbk')
// eslint-disable-next-line no-control-regex

@@ -170,0 +170,0 @@ .replace(/\x00*$/, '');

{
"name": "@danielgindi/bcp-charger-api",
"version": "1.0.4",
"version": "1.0.5",
"description": "A node.js api for controlling the BCP EV chargers (Z-Box compatible chargers)",

@@ -5,0 +5,0 @@ "type": "module",

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