@angular/language-server 13.1.0 → 13.1.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.js +12 -10
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -1,5 +1,8 @@
1
+ "use strict";
2
+ "use strict";
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
1
4
  var __commonJS = (cb, mod) => function __require() {
2
- return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
5
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
3
6
  };
4
7
 
5
8
  // dist/banner/cmdline_utils.js
@@ -281,7 +284,6 @@ var require_version_provider = __commonJS({
281
284
  });
282
285
 
283
286
  // dist/banner/banner.js
284
- "use strict";
285
287
  Object.defineProperty(exports, "__esModule", { value: true });
286
288
  exports.requireOverride = void 0;
287
289
  var cmdline_utils_1 = require_cmdline_utils();
@@ -309,8 +311,9 @@ requireOverride.resolve = originalRequire.resolve;
309
311
  */
310
312
  require = requireOverride;
311
313
 
314
+ var __getOwnPropNames = Object.getOwnPropertyNames;
312
315
  var __commonJS = (cb, mod) => function __require() {
313
- return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
316
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
314
317
  };
315
318
 
316
319
  // dist/server/cmdline_utils.js
@@ -1203,7 +1206,7 @@ var require_main = __commonJS({
1203
1206
  }();
1204
1207
  var ChangeAnnotations = function() {
1205
1208
  function ChangeAnnotations2(annotations) {
1206
- this._annotations = annotations === void 0 ? Object.create(null) : annotations;
1209
+ this._annotations = annotations === void 0 ? /* @__PURE__ */ Object.create(null) : annotations;
1207
1210
  this._counter = 0;
1208
1211
  this._size = 0;
1209
1212
  }
@@ -1244,7 +1247,7 @@ var require_main = __commonJS({
1244
1247
  var WorkspaceChange = function() {
1245
1248
  function WorkspaceChange2(workspaceEdit) {
1246
1249
  var _this = this;
1247
- this._textEditChanges = Object.create(null);
1250
+ this._textEditChanges = /* @__PURE__ */ Object.create(null);
1248
1251
  if (workspaceEdit !== void 0) {
1249
1252
  this._workspaceEdit = workspaceEdit;
1250
1253
  if (workspaceEdit.documentChanges) {
@@ -1324,7 +1327,7 @@ var require_main = __commonJS({
1324
1327
  };
1325
1328
  WorkspaceChange2.prototype.initChanges = function() {
1326
1329
  if (this._workspaceEdit.documentChanges === void 0 && this._workspaceEdit.changes === void 0) {
1327
- this._workspaceEdit.changes = Object.create(null);
1330
+ this._workspaceEdit.changes = /* @__PURE__ */ Object.create(null);
1328
1331
  }
1329
1332
  };
1330
1333
  WorkspaceChange2.prototype.createFile = function(uri, optionsOrAnnotation, options) {
@@ -3142,7 +3145,7 @@ var require_utils = __commonJS({
3142
3145
  exports2.isConfiguredProject = isConfiguredProject;
3143
3146
  var MruTracker = class {
3144
3147
  constructor() {
3145
- this.set = new Set();
3148
+ this.set = /* @__PURE__ */ new Set();
3146
3149
  }
3147
3150
  update(item) {
3148
3151
  if (this.set.has(item)) {
@@ -3684,12 +3687,12 @@ var require_session = __commonJS({
3684
3687
  var setImmediateP = (0, util_1.promisify)(setImmediate);
3685
3688
  var Session = class {
3686
3689
  constructor(options) {
3687
- this.configuredProjToExternalProj = new Map();
3690
+ this.configuredProjToExternalProj = /* @__PURE__ */ new Map();
3688
3691
  this.openFiles = new utils_1.MruTracker();
3689
3692
  this.projectNgccQueue = [];
3690
3693
  this.diagnosticsTimeout = null;
3691
3694
  this.isProjectLoading = false;
3692
- this.renameDisabledProjects = new WeakSet();
3695
+ this.renameDisabledProjects = /* @__PURE__ */ new WeakSet();
3693
3696
  this.clientCapabilities = {};
3694
3697
  this.includeAutomaticOptionalChainCompletions = options.includeAutomaticOptionalChainCompletions;
3695
3698
  this.includeCompletionsWithSnippetText = options.includeCompletionsWithSnippetText;
@@ -4551,7 +4554,6 @@ var require_session = __commonJS({
4551
4554
  });
4552
4555
 
4553
4556
  // dist/server/server.js
4554
- "use strict";
4555
4557
  Object.defineProperty(exports, "__esModule", { value: true });
4556
4558
  var cmdline_utils_1 = require_cmdline_utils();
4557
4559
  var logger_1 = require_logger();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@angular/language-server",
3
3
  "description": "LSP server for Angular Language Service",
4
- "version": "13.1.0",
4
+ "version": "13.1.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/angular/vscode-ng-language-service.git"
@@ -15,10 +15,10 @@
15
15
  "ngserver": "./bin/ngserver"
16
16
  },
17
17
  "dependencies": {
18
- "@angular/language-service": "13.1.0",
18
+ "@angular/language-service": "13.1.2",
19
19
  "vscode-jsonrpc": "6.0.0",
20
20
  "vscode-languageserver": "7.0.0",
21
- "vscode-uri": "3.0.2"
21
+ "vscode-uri": "3.0.3"
22
22
  },
23
23
  "publishConfig": {
24
24
  "registry": "https://wombat-dressing-room.appspot.com"