devsense-php-ls 1.0.17306 → 1.0.17308

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.
@@ -0,0 +1,7 @@
1
+ #! /usr/bin/env node
2
+ export declare namespace Devsense.PHP.LS {
3
+ /** Language server binary file name. */
4
+ const FileName = "devsense.php.ls";
5
+ /** Gets full path to the language server binary file. */
6
+ function languageServerPath(): string;
7
+ }
package/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ #! /usr/bin/env node
2
+ "use strict";var $=Object.create;var r=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var g=Object.getPrototypeOf,y=Object.prototype.hasOwnProperty;var z=(e,o)=>{for(var n in o)r(e,n,{get:o[n],enumerable:!0})},l=(e,o,n,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of b(o))!y.call(e,s)&&s!==n&&r(e,s,{get:()=>o[s],enumerable:!(t=v(o,s))||t.enumerable});return e};var u=(e,o,n)=>(n=e!=null?$(g(e)):{},l(o||!e||!e.__esModule?r(n,"default",{value:e,enumerable:!0}):n,e)),F=e=>l(r({},"__esModule",{value:!0}),e);var N={};z(N,{Devsense:()=>c});module.exports=F(N);var a=require("os"),m=u(require("fs")),f=u(require("path")),c;(o=>{let e;(t=>{let n;(p=>{p.FileName="devsense.php.ls";function j(){let h=`devsense-php-ls-${(0,a.platform)()}-${(0,a.arch)()}`;for(let x of["node_modules","..","../node_modules","../../node_modules"]){let i=f.resolve(__dirname,x,h);if(m.existsSync(i))for(let _ of[p.FileName,`${p.FileName}.exe`]){let d=f.normalize(`${i}/dist/${_}`);if(m.existsSync(d))return d}}}p.languageServerPath=j})(n=t.LS||={})})(e=o.PHP||={})})(c||={});0&&(module.exports={Devsense});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devsense-php-ls",
3
- "version": "1.0.17306",
3
+ "version": "1.0.17308",
4
4
  "description": "Devsense PHP Language Server",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,25 +0,0 @@
1
- {
2
- // Use IntelliSense to learn about possible attributes.
3
- // Hover to view descriptions of existing attributes.
4
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
- "version": "0.2.0",
6
- "configurations": [
7
-
8
- {
9
- "type": "node",
10
- "request": "launch",
11
- "cwd": "${workspaceFolder}",
12
- "runtimeArgs": [
13
- "--import=tsx",
14
- ],
15
- "console": "integratedTerminal",
16
- "args": [
17
- "src/index.ts"
18
- ],
19
- "name": "Run",
20
- "skipFiles": [
21
- "<node_internals>/**"
22
- ]
23
- }
24
- ]
25
- }
@@ -1,15 +0,0 @@
1
- {
2
- "version": "2.0.0",
3
- "tasks": [
4
- {
5
- "type": "npm",
6
- "script": "build",
7
- "group": {
8
- "kind": "build",
9
- "isDefault": true
10
- },
11
- "problemMatcher": [],
12
- "label": "Build"
13
- }
14
- ]
15
- }