casualos 4.2.2 → 4.2.3-alpha.23255873421

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +35 -10
  2. package/package.json +5 -5
package/dist/cli.js CHANGED
@@ -149440,7 +149440,7 @@ var trace = TraceAPI.getInstance();
149440
149440
  function hashLowEntropyPasswordWithSalt2(password, salt) {
149441
149441
  const tracer = trace.getTracer(
149442
149442
  "InstrumentedHashHelpers",
149443
- false ? void 0 : "v4.2.2"
149443
+ false ? void 0 : "v4.2.3-alpha.23255873421"
149444
149444
  );
149445
149445
  return tracer.startActiveSpan(
149446
149446
  "hashLowEntropyPasswordWithSalt",
@@ -149458,7 +149458,7 @@ function hashLowEntropyPasswordWithSalt2(password, salt) {
149458
149458
  function hashHighEntropyPasswordWithSalt2(password, salt) {
149459
149459
  const tracer = trace.getTracer(
149460
149460
  "InstrumentedHashHelpers",
149461
- false ? void 0 : "v4.2.2"
149461
+ false ? void 0 : "v4.2.3-alpha.23255873421"
149462
149462
  );
149463
149463
  return tracer.startActiveSpan(
149464
149464
  "hashHighEntropyPasswordWithSalt",
@@ -149476,7 +149476,7 @@ function hashHighEntropyPasswordWithSalt2(password, salt) {
149476
149476
  function verifyPasswordAgainstHashes2(password, salt, hashes) {
149477
149477
  const tracer = trace.getTracer(
149478
149478
  "InstrumentedHashHelpers",
149479
- false ? void 0 : "v4.2.2"
149479
+ false ? void 0 : "v4.2.3-alpha.23255873421"
149480
149480
  );
149481
149481
  return tracer.startActiveSpan(
149482
149482
  "verifyPasswordAgainstHashes",
@@ -157049,7 +157049,7 @@ var import_semantic_conventions = __toESM(require_src3());
157049
157049
  function traced(tracerName, options = {}, metricOptions = {}) {
157050
157050
  const tracer = trace.getTracer(
157051
157051
  tracerName,
157052
- false ? void 0 : "v4.2.2"
157052
+ false ? void 0 : "v4.2.3-alpha.23255873421"
157053
157053
  );
157054
157054
  return function(target, propertyKey, descriptor) {
157055
157055
  const originalMethod = descriptor.value;
@@ -157135,7 +157135,7 @@ function getHistogram(meter) {
157135
157135
  }
157136
157136
  return metrics.getMeter(
157137
157137
  meter.meter,
157138
- false ? void 0 : "v4.2.2"
157138
+ false ? void 0 : "v4.2.3-alpha.23255873421"
157139
157139
  ).createHistogram(meter.name, meter.options);
157140
157140
  }
157141
157141
  function getCounter(meter) {
@@ -157144,7 +157144,7 @@ function getCounter(meter) {
157144
157144
  }
157145
157145
  return metrics.getMeter(
157146
157146
  meter.meter,
157147
- false ? void 0 : "v4.2.2"
157147
+ false ? void 0 : "v4.2.3-alpha.23255873421"
157148
157148
  ).createCounter(meter.name, meter.options);
157149
157149
  }
157150
157150
  function traceHttpResponse(options = {}) {
@@ -171178,7 +171178,7 @@ var RecordsServer = class {
171178
171178
  this._viewTemplateRenderer = viewTemplateRenderer;
171179
171179
  this._tracer = trace.getTracer(
171180
171180
  "RecordsServer",
171181
- false ? void 0 : "v4.2.2"
171181
+ false ? void 0 : "v4.2.3-alpha.23255873421"
171182
171182
  );
171183
171183
  this._purchasableItems = purchasableItemsController;
171184
171184
  this._procedures = this._createProcedures();
@@ -175191,8 +175191,8 @@ var RecordsServer = class {
175191
175191
  return {
175192
175192
  success: true,
175193
175193
  ...metadata,
175194
- version: true ? "v4.2.2" : void 0,
175195
- versionHash: true ? "23837d528de8efc2b99587e7b72a6fc30af6dbe7" : void 0
175194
+ version: true ? "v4.2.3-alpha.23255873421" : void 0,
175195
+ versionHash: true ? "295fbfc4ee810126472707f02be3a13c2f9deebe" : void 0
175196
175196
  };
175197
175197
  }),
175198
175198
  getPurchasableItem: procedure().origins(true).http("GET", "/api/v2/records/purchasableItems").inputs(
@@ -220027,6 +220027,9 @@ var Transpiler = class {
220027
220027
  } else if (n5.accessibility) {
220028
220028
  this._removeAccessibility(n5, doc, text);
220029
220029
  }
220030
+ if (n5.override) {
220031
+ this._removeOverride(n5, doc, text);
220032
+ }
220030
220033
  } else if (n5.type === "PropertyDefinition") {
220031
220034
  if (n5.accessibility) {
220032
220035
  this._removeAccessibility(n5, doc, text);
@@ -220654,6 +220657,28 @@ await ${this._exportFactory}({ `;
220654
220657
  }
220655
220658
  text.delete(indexOfAccessibility, accessibility.length);
220656
220659
  }
220660
+ _removeOverride(node, doc, text) {
220661
+ doc.clientID += 1;
220662
+ const version3 = { "0": getClock2(doc, 0) };
220663
+ const override = "override ";
220664
+ const t5 = text.toString();
220665
+ const relativeStart = createRelativePositionFromStateVector2(
220666
+ text,
220667
+ version3,
220668
+ node.start,
220669
+ -1,
220670
+ true
220671
+ );
220672
+ const absoluteStart = createAbsolutePositionFromRelativePosition(
220673
+ relativeStart,
220674
+ doc
220675
+ );
220676
+ const indexOfOverride = t5.indexOf(override, absoluteStart.index);
220677
+ if (indexOfOverride < 0 || indexOfOverride > node.key.start) {
220678
+ return;
220679
+ }
220680
+ text.delete(indexOfOverride, override.length);
220681
+ }
220657
220682
  _removeAsExpression(node, doc, text) {
220658
220683
  doc.clientID += 1;
220659
220684
  const version3 = { "0": getClock2(doc, 0) };
@@ -231919,7 +231944,7 @@ var config2 = new Conf({
231919
231944
  projectName: "casualos-cli"
231920
231945
  });
231921
231946
  var program2 = new Command();
231922
- program2.name("casualos").description("A CLI for CasualOS").version("v4.2.2").option(
231947
+ program2.name("casualos").description("A CLI for CasualOS").version("v4.2.3-alpha.23255873421").option(
231923
231948
  "-e, --endpoint <url>",
231924
231949
  "The endpoint to use for queries. Can be used to override the current endpoint."
231925
231950
  ).option(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "casualos",
3
- "version": "4.2.2",
3
+ "version": "4.2.3-alpha.23255873421",
4
4
  "description": "Command line interface for CasualOS.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "index.d.ts",
@@ -28,10 +28,10 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@casual-simulation/aux-common": "^4.2.2",
32
- "@casual-simulation/aux-records": "^4.2.2",
33
- "@casual-simulation/aux-runtime": "^4.2.2",
34
- "@casual-simulation/aux-vm": "^4.2.2",
31
+ "@casual-simulation/aux-common": "^4.2.3-alpha.23255873421",
32
+ "@casual-simulation/aux-records": "^4.2.3-alpha.23255873421",
33
+ "@casual-simulation/aux-runtime": "^4.2.3-alpha.23255873421",
34
+ "@casual-simulation/aux-vm": "^4.2.3-alpha.23255873421",
35
35
  "@octokit/app": "^15.1.0",
36
36
  "@octokit/auth-oauth-device": "^7.1.1",
37
37
  "@octokit/core": "^6.1.2",