@runtime-type-inspector/plugin-rollup 4.0.6 → 5.0.1

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/index.mjs +3 -0
  2. package/package.json +2 -2
package/index.mjs CHANGED
@@ -10,6 +10,9 @@ import {
10
10
  * @property {string[]} [ignoredFiles] - Ignore certain files which operate in a different
11
11
  * context, for example framework/parsers/draco-worker.js operates as WebWorker (without RTI).
12
12
  * @property {boolean} [validateDivision] - Whether divisions are validated. Defaults to true.
13
+ * @property {boolean} [inspectIndexedAccess] - Whether indexed accesses like
14
+ * `arr[i]` are wrapped for bounds and integer validation. Disable to drop
15
+ * indexed access inspection entirely. Defaults to true.
13
16
  */
14
17
  /**
15
18
  * @typedef {OptionsProps & import('@runtime-type-inspector/transpiler').Options} Options
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@runtime-type-inspector/plugin-rollup",
3
3
  "type": "module",
4
- "version": "4.0.6",
4
+ "version": "5.0.1",
5
5
  "description": "Rollup plugin for https://runtimetypeinspector.org/",
6
6
  "main": "index.mjs",
7
7
  "types": "index.mjs",
8
8
  "author": "Hermann Rolfes (kungfooman)",
9
9
  "license": "MIT",
10
10
  "dependencies": {
11
- "@runtime-type-inspector/transpiler": "^4.0.6",
11
+ "@runtime-type-inspector/transpiler": "^5.0.1",
12
12
  "@rollup/pluginutils": "^5.1.0",
13
13
  "rollup": "^3.29.4"
14
14
  }