oxlint 1.81.0 → 1.83.0

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.
@@ -1,5 +1,6 @@
1
- import { S as __toESM, _ as BLOCK_ALIGN, c as registeredRules, d as PLACEHOLDER_REGEX, f as diagnostics, g as ACTIVE_SIZE, h as getNodeByRangeIndex, i as resetStateAfterError, l as allOptions, m as getLineColumnFromOffset, o as registerPlugin, p as replacePlaceholders, r as lintFileImpl, s as registeredPluginNames, t as buffers, u as setOptions, v as BLOCK_SIZE, x as __commonJSMin, y as BUFFER_SIZE } from "./lint.js";
1
+ import { i as __toESM, t as __commonJSMin } from "./rolldown-runtime.js";
2
2
  import { a as rawTransferSupported$1, i as parseRawSync, n as getBufferOffset, t as applyFixes } from "./bindings.js";
3
+ import { _ as BLOCK_ALIGN, c as registeredRules, d as PLACEHOLDER_REGEX, f as diagnostics, g as ACTIVE_SIZE, h as getNodeByRangeIndex, i as resetStateAfterError, l as allOptions, m as getLineColumnFromOffset, o as registerPlugin, p as replacePlaceholders, r as lintFileImpl, s as registeredPluginNames, t as buffers, u as setOptions, v as BLOCK_SIZE, y as BUFFER_SIZE } from "./lint.js";
3
4
  import assert, { AssertionError } from "node:assert";
4
5
  import { dirname, isAbsolute, join } from "node:path";
5
6
  import util from "node:util";
@@ -855,7 +856,7 @@ function isSerializable(value, seenObjects = /* @__PURE__ */ new Set()) {
855
856
  for (let property in value) {
856
857
  if (!ObjectHasOwn(value, property)) continue;
857
858
  let prop = value[property];
858
- if (!isSerializablePrimitiveOrPlainObject(prop) || !(typeof prop != "object" || !prop) && !isSerializable(prop, /* @__PURE__ */ new Set([...seenObjects, value]))) return !1;
859
+ if (!isSerializablePrimitiveOrPlainObject(prop) || typeof prop == "object" && prop && !isSerializable(prop, /* @__PURE__ */ new Set([...seenObjects, value]))) return !1;
859
860
  }
860
861
  return !0;
861
862
  }
@@ -0,0 +1,21 @@
1
+ import { createRequire } from "node:module";
2
+ //#region \0rolldown/runtime.js
3
+ var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports), __exportAll = (all, no_symbols) => {
4
+ let target = {};
5
+ for (var name in all) __defProp(target, name, {
6
+ get: all[name],
7
+ enumerable: !0
8
+ });
9
+ return no_symbols || __defProp(target, Symbol.toStringTag, { value: "Module" }), target;
10
+ }, __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from == "object" || typeof from == "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) key = keys[i], !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
12
+ get: ((k) => from[k]).bind(null, key),
13
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
14
+ });
15
+ return to;
16
+ }, __toESM = (mod, isNodeMode, target) => (target = mod == null ? {} : __create(__getProtoOf(mod)), __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
17
+ value: mod,
18
+ enumerable: !0
19
+ }) : target, mod)), __require = /* @__PURE__ */ createRequire(import.meta.url);
20
+ //#endregion
21
+ export { __toESM as i, __exportAll as n, __require as r, __commonJSMin as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxlint",
3
- "version": "1.81.0",
3
+ "version": "1.83.0",
4
4
  "description": "Linter for the JavaScript Oxidation Compiler",
5
5
  "keywords": [
6
6
  "eslint",
@@ -87,24 +87,24 @@
87
87
  },
88
88
  "preferUnplugged": true,
89
89
  "optionalDependencies": {
90
- "@oxlint/binding-darwin-arm64": "1.81.0",
91
- "@oxlint/binding-android-arm64": "1.81.0",
92
- "@oxlint/binding-win32-arm64-msvc": "1.81.0",
93
- "@oxlint/binding-linux-arm64-gnu": "1.81.0",
94
- "@oxlint/binding-linux-arm64-musl": "1.81.0",
95
- "@oxlint/binding-openharmony-arm64": "1.81.0",
96
- "@oxlint/binding-android-arm-eabi": "1.81.0",
97
- "@oxlint/binding-linux-arm-gnueabihf": "1.81.0",
98
- "@oxlint/binding-linux-arm-musleabihf": "1.81.0",
99
- "@oxlint/binding-win32-ia32-msvc": "1.81.0",
100
- "@oxlint/binding-linux-ppc64-gnu": "1.81.0",
101
- "@oxlint/binding-linux-riscv64-gnu": "1.81.0",
102
- "@oxlint/binding-linux-riscv64-musl": "1.81.0",
103
- "@oxlint/binding-linux-s390x-gnu": "1.81.0",
104
- "@oxlint/binding-darwin-x64": "1.81.0",
105
- "@oxlint/binding-win32-x64-msvc": "1.81.0",
106
- "@oxlint/binding-freebsd-x64": "1.81.0",
107
- "@oxlint/binding-linux-x64-gnu": "1.81.0",
108
- "@oxlint/binding-linux-x64-musl": "1.81.0"
90
+ "@oxlint/binding-darwin-arm64": "1.83.0",
91
+ "@oxlint/binding-android-arm64": "1.83.0",
92
+ "@oxlint/binding-win32-arm64-msvc": "1.83.0",
93
+ "@oxlint/binding-linux-arm64-gnu": "1.83.0",
94
+ "@oxlint/binding-linux-arm64-musl": "1.83.0",
95
+ "@oxlint/binding-openharmony-arm64": "1.83.0",
96
+ "@oxlint/binding-android-arm-eabi": "1.83.0",
97
+ "@oxlint/binding-linux-arm-gnueabihf": "1.83.0",
98
+ "@oxlint/binding-linux-arm-musleabihf": "1.83.0",
99
+ "@oxlint/binding-win32-ia32-msvc": "1.83.0",
100
+ "@oxlint/binding-linux-ppc64-gnu": "1.83.0",
101
+ "@oxlint/binding-linux-riscv64-gnu": "1.83.0",
102
+ "@oxlint/binding-linux-riscv64-musl": "1.83.0",
103
+ "@oxlint/binding-linux-s390x-gnu": "1.83.0",
104
+ "@oxlint/binding-darwin-x64": "1.83.0",
105
+ "@oxlint/binding-win32-x64-msvc": "1.83.0",
106
+ "@oxlint/binding-freebsd-x64": "1.83.0",
107
+ "@oxlint/binding-linux-x64-gnu": "1.83.0",
108
+ "@oxlint/binding-linux-x64-musl": "1.83.0"
109
109
  }
110
110
  }