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.11 to 0.1.12

examples/splitter-benchmark.ts

3

dist/probabilistic_helpers/generateWithType.js

@@ -54,2 +54,5 @@ "use strict";

}
if (type._tag === "NullType") {
return "null";
}
throw new Error(`Unsupported type "${type._tag}".\nPlease use one of:\n\t- InterfaceType (t.type)\n\t- ArrayType (t.array)\n\t- NumberType (t.number)\n\t- StringType (t.string)\n\t- BooleanType (t.boolean)`);

@@ -56,0 +59,0 @@ }

@@ -14,2 +14,3 @@ import * as tNoDesc from "io-ts";

boolean: ConstantWithDescription<T["boolean"]>;
null: ConstantWithDescription<T["null"]>;
keyof: FunctionWithDescription<T["keyof"]>;

@@ -16,0 +17,0 @@ literal: FunctionWithDescription<T["literal"]>;

@@ -43,2 +43,3 @@ "use strict";

sorry.boolean.description = description;
sorry.null.description = description;
sorry.keyof = addDescriptionToFunction(sorry.keyof);

@@ -45,0 +46,0 @@ sorry.literal = addDescriptionToFunction(sorry.literal);

@@ -66,2 +66,5 @@ /* eslint-disable no-use-before-define */

}
if (type._tag === "NullType") {
return "null";
}

@@ -68,0 +71,0 @@ throw new Error(

@@ -24,2 +24,3 @@ import * as tNoDesc from "io-ts";

boolean: ConstantWithDescription<T["boolean"]>;
null: ConstantWithDescription<T["null"]>;
keyof: FunctionWithDescription<T["keyof"]>;

@@ -49,2 +50,3 @@ literal: FunctionWithDescription<T["literal"]>;

sorry.boolean.description = description;
sorry.null.description = description;
sorry.keyof = addDescriptionToFunction(sorry.keyof);

@@ -51,0 +53,0 @@ sorry.literal = addDescriptionToFunction(sorry.literal);

2

package.json
{
"name": "polyfact",
"version": "0.1.11",
"version": "0.1.12",
"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