@stylable/language-service
Advanced tools
Comparing version 5.7.0 to 5.7.1
@@ -8,3 +8,3 @@ "use strict"; | ||
const index_internal_1 = require("@stylable/core/dist/index-internal"); | ||
const node_path_1 = __importDefault(require("node:path")); | ||
const path_1 = __importDefault(require("path")); | ||
const completion_types_1 = require("../../lib/completion-types"); | ||
@@ -107,3 +107,3 @@ function getCompletions(context) { | ||
} | ||
let relPath = node_path_1.default.relative(node_path_1.default.dirname(originMeta.source), defMeta.source); | ||
let relPath = path_1.default.relative(path_1.default.dirname(originMeta.source), defMeta.source); | ||
if (!relPath.startsWith('.')) { | ||
@@ -110,0 +110,0 @@ relPath = './' + relPath; |
{ | ||
"name": "@stylable/language-service", | ||
"version": "5.7.0", | ||
"version": "5.7.1", | ||
"description": "Stylable Language Services - syntax highlighting, completions, hinting and more for the Stylable CSS preprocessor.", | ||
@@ -16,4 +16,4 @@ "main": "dist/index.js", | ||
"@file-services/typescript": "^7.2.3", | ||
"@stylable/code-formatter": "^5.7.0", | ||
"@stylable/core": "^5.7.0", | ||
"@stylable/code-formatter": "^5.7.1", | ||
"@stylable/core": "^5.7.1", | ||
"@tokey/core": "^1.3.0", | ||
@@ -20,0 +20,0 @@ "@tokey/css-selector-parser": "^0.6.1", |
@@ -11,3 +11,3 @@ import type { CSSResolve, StylableMeta } from '@stylable/core'; | ||
import type { ImmutableSelectorNode } from '@tokey/css-selector-parser'; | ||
import path from 'node:path'; | ||
import path from 'path'; | ||
import { | ||
@@ -14,0 +14,0 @@ Completion, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
651449
Updated@stylable/core@^5.7.1