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

polyfact

Package Overview
Dependencies
Maintainers
3
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polyfact - npm Package Compare versions

Comparing version 0.1.23 to 0.1.24

6

dist/kv.js

@@ -32,4 +32,6 @@ "use strict";

})
.then((res) => res.text());
return response;
.catch(() => ({
data: "",
}));
return response.data;
}

@@ -36,0 +38,0 @@ exports.get = get;

@@ -1,2 +0,2 @@

import { generateWithType, t } from "../lib/index";
import { kv, generateWithType, t } from "../lib/index";

@@ -17,2 +17,4 @@ const functionDescriptionType = t.type({

(async () => {
await kv.set("abc", "");
console.log(await kv.get("abc"));
const { returnType } = await generateWithType(

@@ -19,0 +21,0 @@ "function add(a, b, c) { return a + b + c }",

@@ -40,5 +40,7 @@ import axios from "axios";

})
.then((res: any) => res.text());
.catch(() => ({
data: "",
}));
return response;
return response.data;
}

@@ -45,0 +47,0 @@

{
"name": "polyfact",
"version": "0.1.23",
"version": "0.1.24",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

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