eslint-plugin-yml 3.1.1 → 3.1.2

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/lib/index.mjs +5 -5
  2. package/package.json +1 -1
package/lib/index.mjs CHANGED
@@ -5254,7 +5254,7 @@ var prettier_default = [...base_default, { rules: {
5254
5254
  //#endregion
5255
5255
  //#region package.json
5256
5256
  var name$1 = "eslint-plugin-yml";
5257
- var version$1 = "3.1.1";
5257
+ var version$1 = "3.1.2";
5258
5258
 
5259
5259
  //#endregion
5260
5260
  //#region src/meta.ts
@@ -5788,7 +5788,8 @@ var YAMLSourceCode = class extends TextSourceCodeBase {
5788
5788
  if (node.type === "Program") return createFakeGlobalScope(this.ast);
5789
5789
  return null;
5790
5790
  },
5791
- getDeclaredVariables: () => []
5791
+ getDeclaredVariables: () => [],
5792
+ addGlobals: () => {}
5792
5793
  };
5793
5794
  }
5794
5795
  /**
@@ -5875,11 +5876,10 @@ var YAMLLanguage = class {
5875
5876
  */
5876
5877
  validateLanguageOptions(_languageOptions) {}
5877
5878
  normalizeLanguageOptions(languageOptions) {
5878
- const fakeProperties = { ecmaVersion: "latest" };
5879
5879
  return {
5880
+ ecmaVersion: "latest",
5880
5881
  ...languageOptions,
5881
- parserOptions: { ...languageOptions.parserOptions },
5882
- ...fakeProperties
5882
+ parserOptions: { ...languageOptions.parserOptions }
5883
5883
  };
5884
5884
  }
5885
5885
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-yml",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "This ESLint plugin provides linting rules for YAML.",
5
5
  "type": "module",
6
6
  "main": "lib/index.mjs",