Socket
Socket
Sign inDemoInstall

satisfactory-json

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

satisfactory-json - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

lib/transforms/properties/Int64Property.d.ts

3

lib/engine/TransformationEngine.d.ts

@@ -32,3 +32,4 @@ /// <reference types="node" />

transformFText = "transformFText",
transformSetProperty = "transformSetProperty"
transformSetProperty = "transformSetProperty",
transformInt64Property = "transformInt64Property"
}

@@ -35,0 +36,0 @@ export declare class TransformationEngine {

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

var SetProperty_1 = require("../transforms/properties/SetProperty");
var Int64Property_1 = require("../transforms/properties/Int64Property");
function registerFunction(functionName, rulesFunction) {

@@ -65,2 +66,3 @@ var builder = new Builder_1.Builder();

RegisteredFunction["transformSetProperty"] = "transformSetProperty";
RegisteredFunction["transformInt64Property"] = "transformInt64Property";
})(RegisteredFunction = exports.RegisteredFunction || (exports.RegisteredFunction = {}));

@@ -111,2 +113,3 @@ var TransformationEngine = /** @class */ (function () {

registerFunction(RegisteredFunction.transformSetProperty, SetProperty_1.transformSetProperty);
registerFunction(RegisteredFunction.transformInt64Property, Int64Property_1.transformInt64Property);
//console.log('commands', inspect(this.commands, false, 10));

@@ -113,0 +116,0 @@ }

@@ -124,2 +124,14 @@ "use strict";

},
InterfaceProperty: function (builder) {
builder
.arr('values')
.loop('_itemCount', function (builder) {
builder
.elem('_index')
.str('levelName')
.str('pathName')
.endElem();
})
.endArr();
},
$default: function (builder) {

@@ -126,0 +138,0 @@ builder.error(function (ctx) { return "Unknown array type: " + ctx.obj.type; });

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

var Guid_1 = require("./structs/Guid");
var FluidBox_1 = require("./structs/FluidBox");
function transformStructProperty(builder) {

@@ -47,4 +48,5 @@ builder

TrainSimulationData: function (builder) { return ArbitraryStruct_1.transformArbitraryStruct(builder); },
FluidBox: function (builder) { return FluidBox_1.transformFluidBox(builder); },
$default: function (builder) {
return builder.error(function (ctx) { return "Unknown struct property " + ctx.obj.type; });
return builder.error(function (ctx) { return "Unknown struct property: " + ctx.obj.type; });
}

@@ -51,0 +53,0 @@ })

@@ -52,4 +52,10 @@ "use strict";

},
Int64Property: function (builder) {
return builder.call(TransformationEngine_1.RegisteredFunction.transformInt64Property);
},
InterfaceProperty: function (builder) {
return builder.call(TransformationEngine_1.RegisteredFunction.transformObjectProperty);
},
$default: function (builder) {
return builder.error(function (ctx) { return "Unknown property ..." + ctx.obj.type; });
return builder.error(function (ctx) { return "Unknown property: " + ctx.obj.type; });
}

@@ -56,0 +62,0 @@ })

@@ -43,3 +43,3 @@ {

"types": "lib/index.d.ts",
"version": "0.0.30"
"version": "0.0.31"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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