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

@flock/wirespec

Package Overview
Dependencies
Maintainers
0
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flock/wirespec - npm Package Compare versions

Comparing version 0.9.27 to 0.9.28

2

package.json
{
"name": "@flock/wirespec",
"version": "0.9.27",
"version": "0.9.28",
"main": "wirespec-src-plugin-npm.js",

@@ -5,0 +5,0 @@ "types": "wirespec-src-plugin-npm.d.ts",

@@ -29,2 +29,12 @@ (function (root, factory) {

var Custom = kotlin_community_flock_wirespec_compiler_core.$_$.s;
var noWhenBranchMatchedException = kotlin_kotlin.$_$.bg;
var NotImplementedError = kotlin_kotlin.$_$.af;
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.r;
var JsonNull_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.u;
var Companion_instance = kotlin_community_flock_kotlinx_rgxgen_kotlin_rgxgen.$_$.a;
var JsonPrimitive = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.h;
var JsonPrimitive_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.i;
var JsonPrimitive_1 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.j;
var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.t;
var numberRangeToNumber = kotlin_kotlin.$_$.oa;

@@ -35,4 +45,2 @@ var collectionSizeOrDefault = kotlin_kotlin.$_$.h5;

var JsonArray = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.e;
var noWhenBranchMatchedException = kotlin_kotlin.$_$.bg;
var NotImplementedError = kotlin_kotlin.$_$.af;
var Channel = kotlin_community_flock_wirespec_compiler_core.$_$.g;

@@ -57,11 +65,3 @@ var Endpoint = kotlin_community_flock_wirespec_compiler_core.$_$.p;

var JsonObject = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.g;
var JsonPrimitive = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.h;
var toList = kotlin_kotlin.$_$.i8;
var Any = kotlin_community_flock_wirespec_compiler_core.$_$.r;
var JsonNull_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.c;
var Unit = kotlin_community_flock_wirespec_compiler_core.$_$.u;
var Companion_instance = kotlin_community_flock_kotlinx_rgxgen_kotlin_rgxgen.$_$.a;
var JsonPrimitive_0 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.i;
var JsonPrimitive_1 = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.j;
var Primitive = kotlin_community_flock_wirespec_compiler_core.$_$.t;
//endregion

@@ -80,8 +80,67 @@ //region block: pre-declaration

random = random === VOID ? Default_getInstance() : random;
// Inline function 'kotlin.let' call
// Inline function 'kotlin.contracts.contract' call
// Inline function 'community.flock.wirespec.generator.generate.<anonymous>' call
var it = resolveReference(_this__u8e3s4, type);
return type.x22() ? generateIterator(_this__u8e3s4, it, random) : generateObject(_this__u8e3s4, it, random);
return generateReference(_this__u8e3s4, type, random);
}
function generateReference(_this__u8e3s4, ref, random) {
var tmp;
if (ref instanceof Primitive) {
var tmp_0;
switch (ref.d2a_1.q2_1) {
case 0:
// Inline function 'kotlin.let' call
var this_0 = Companion_instance.x49('\\w{1,50}').g4a(random);
// Inline function 'kotlin.contracts.contract' call
tmp_0 = JsonPrimitive(this_0);
break;
case 1:
// Inline function 'kotlin.let' call
var this_1 = random.ce();
// Inline function 'kotlin.contracts.contract' call
tmp_0 = JsonPrimitive_0(this_1);
break;
case 2:
// Inline function 'kotlin.let' call
var this_2 = random.tf();
// Inline function 'kotlin.contracts.contract' call
tmp_0 = JsonPrimitive_0(this_2);
break;
case 3:
// Inline function 'kotlin.let' call
var this_3 = random.sf();
// Inline function 'kotlin.contracts.contract' call
tmp_0 = JsonPrimitive_1(this_3);
break;
default:
noWhenBranchMatchedException();
break;
}
tmp = tmp_0;
} else {
if (ref instanceof Custom) {
// Inline function 'kotlin.let' call
// Inline function 'kotlin.contracts.contract' call
// Inline function 'community.flock.wirespec.generator.generateReference.<anonymous>' call
var it = resolveReference(_this__u8e3s4, ref);
tmp = ref.i2a_1 ? generateIterator(_this__u8e3s4, it, random) : generateObject(_this__u8e3s4, it, random);
} else {
if (ref instanceof Unit) {
tmp = JsonNull_getInstance();
} else {
if (ref instanceof Any) {
throw new NotImplementedError('Cannot generate Any');
} else {
noWhenBranchMatchedException();
}
}
}
}
return tmp;
}
function generateIterator(_this__u8e3s4, def, random) {

@@ -230,65 +289,2 @@ // Inline function 'kotlin.let' call

}
function generateReference(_this__u8e3s4, ref, random) {
var tmp;
if (ref instanceof Primitive) {
var tmp_0;
switch (ref.d2a_1.q2_1) {
case 0:
// Inline function 'kotlin.let' call
var this_0 = Companion_instance.x49('\\w{1,50}').g4a(random);
// Inline function 'kotlin.contracts.contract' call
tmp_0 = JsonPrimitive(this_0);
break;
case 1:
// Inline function 'kotlin.let' call
var this_1 = random.ce();
// Inline function 'kotlin.contracts.contract' call
tmp_0 = JsonPrimitive_0(this_1);
break;
case 2:
// Inline function 'kotlin.let' call
var this_2 = random.tf();
// Inline function 'kotlin.contracts.contract' call
tmp_0 = JsonPrimitive_0(this_2);
break;
case 3:
// Inline function 'kotlin.let' call
var this_3 = random.sf();
// Inline function 'kotlin.contracts.contract' call
tmp_0 = JsonPrimitive_1(this_3);
break;
default:
noWhenBranchMatchedException();
break;
}
tmp = tmp_0;
} else {
if (ref instanceof Custom) {
// Inline function 'kotlin.let' call
// Inline function 'kotlin.contracts.contract' call
// Inline function 'community.flock.wirespec.generator.generateReference.<anonymous>' call
var it = resolveReference(_this__u8e3s4, ref);
tmp = ref.i2a_1 ? generateIterator(_this__u8e3s4, it, random) : generateObject(_this__u8e3s4, it, random);
} else {
if (ref instanceof Unit) {
tmp = JsonNull_getInstance();
} else {
if (ref instanceof Any) {
throw new NotImplementedError('Cannot generate Any');
} else {
noWhenBranchMatchedException();
}
}
}
}
return tmp;
}
function randomRegex(regex, random) {

@@ -295,0 +291,0 @@ var tmp = Companion_instance;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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