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

@mananv/truecaller-node

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mananv/truecaller-node - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

7

lib/fetchPublicKeys.js

@@ -5,3 +5,2 @@ // lib/fetchPublicKey.js

const request = promisify(require('request'));
const pemtools = require('pemtools');
const moize = require('moize');

@@ -23,5 +22,5 @@

return body.map(({ key }) => (
pemtools(Buffer.from(key, 'base64'), 'PUBLIC KEY').pem
));
return body.map(({ key }) => {
return "-----BEGIN PUBLIC KEY-----\n" + key.match(/.{1,64}/g).join("\n") + "\n-----END PUBLIC KEY-----";
});
};

@@ -28,0 +27,0 @@

{
"name": "@mananv/truecaller-node",
"version": "1.0.8",
"version": "1.0.9",
"description": "Node Truecaller profile verification",

@@ -25,3 +25,2 @@ "main": "index.js",

"moize": "5.4.4",
"pemtools": "0.4.7",
"request": "2.88.0"

@@ -28,0 +27,0 @@ },

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