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

hcode-core

Package Overview
Dependencies
Maintainers
2
Versions
633
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hcode-core - npm Package Compare versions

Comparing version 0.0.41 to 0.0.42

4

lib/functions/errorToHuman/index.js

@@ -6,3 +6,3 @@ "use strict";

switch (message.toLowerCase()) {
case 'AppGuard: invalid signature':
case 'appguard: invalid signature':
return 'Aplicação não autorizada.';

@@ -13,2 +13,4 @@ case 'unauthorized':

return 'Acesso negado.';
case 'user_email_domainId_key':
return 'Este e-mail já está sendo usado.';
default:

@@ -15,0 +17,0 @@ return message;

{
"name": "hcode-core",
"version": "0.0.41",
"version": "0.0.42",
"description": "Hcode Core",

@@ -5,0 +5,0 @@ "types": "typings.d.ts",

function replaceMessage(message: string) {
switch (message.toLowerCase()) {
case 'AppGuard: invalid signature':
case 'appguard: invalid signature':
return 'Aplicação não autorizada.';

@@ -9,2 +9,4 @@ case 'unauthorized':

return 'Acesso negado.';
case 'user_email_domainId_key':
return 'Este e-mail já está sendo usado.';
default:

@@ -11,0 +13,0 @@ return message;

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