Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): [email protected], latest others #2966

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
598 changes: 322 additions & 276 deletions package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,33 +37,33 @@
"@types/lodash.clonedeepwith": "^4.5.9",
"@types/lodash.upperfirst": "^4.3.9",
"@types/mime": "^3.0.4",
"@types/mocha": "^10.0.6",
"@types/mocha": "^10.0.7",
"@types/node": "18",
"@types/postcss-safe-parser": "^5.0.4",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/validate-npm-package-name": "^4.0.2",
"@types/yargs": "^17.0.32",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"@typescript-eslint/rule-tester": "^7.12.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"@typescript-eslint/rule-tester": "^7.14.1",
"autoprefixer": "^10.4.19",
"c8": "^9.1.0",
"c8": "^10.1.2",
"chai": "^4.3.10",
"chai-subset": "^1.6.0",
"create-listening-server": "^2.1.0",
"css-loader": "^7.1.2",
"esbuild": "^0.21.4",
"esbuild": "^0.21.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.9.0",
"mocha": "^10.4.0",
"mocha": "^10.5.1",
"node-eval": "^2.0.0",
"npm-run-all": "^4.1.5",
"playwright-chromium": "^1.44.1",
"playwright-core": "^1.44.1",
"playwright-chromium": "^1.45.0",
"playwright-core": "^1.45.0",
"postcss": "^8.4.38",
"promise-assist": "^2.0.1",
"raw-loader": "^4.0.2",
Expand All @@ -76,9 +76,9 @@
"style-loader": "^4.0.0",
"ts-expect": "^1.3.0",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "~5.4.5",
"typescript": "~5.5.2",
"url-loader": "^4.1.1",
"webpack": "^5.91.0",
"webpack": "^5.92.1",
"yargs": "^17.7.2"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e-test-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"@stylable/runtime": "^6.1.1",
"node-eval": "^2.0.0",
"playwright-core": "^1.44.1",
"playwright-core": "^1.45.0",
"rimraf": "^5.0.7"
},
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin-stylable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"dependencies": {
"@file-services/node": "^9.3.1",
"@stylable/core": "^6.1.1",
"@typescript-eslint/scope-manager": "^7.12.0",
"@typescript-eslint/utils": "^7.12.0",
"@typescript-eslint/scope-manager": "^7.14.1",
"@typescript-eslint/utils": "^7.14.1",
"postcss-safe-parser": "^7.0.0"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-stylable/src/stylable-es-lint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default createRule({

const namedImports = node.specifiers.filter(
(sp) => sp.type === AST_NODE_TYPES.ImportSpecifier
) as esTree.ImportSpecifier[];
);

namedImports.forEach(({ imported, local }) => {
const exportName = imported.name as keyof typeof exports;
Expand Down
2 changes: 1 addition & 1 deletion packages/language-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"css-selector-tokenizer": "^0.8.0",
"postcss": "^8.4.38",
"postcss-value-parser": "^4.2.0",
"vscode-css-languageservice": "^6.2.14",
"vscode-css-languageservice": "^6.3.0",
"vscode-languageserver": "^9.0.1",
"vscode-languageserver-textdocument": "^1.0.11",
"vscode-uri": "^3.0.8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
} from '@stylable/core/dist/index-internal';
import { URI } from 'vscode-uri';
import {
ImmutableSelector,
ImmutableSelectorList,
ImmutableSelectorNode,
SelectorList,
Expand Down Expand Up @@ -215,7 +214,7 @@ export class LangServiceContext {
// caret is on an existing selector
let selectorWithCaret = this.location.selector.parents.find(
(node) => node.type === 'selector'
) as ImmutableSelector | undefined;
);
if (!selectorWithCaret && this.location.selector.node.type === 'selector') {
selectorWithCaret = this.location.selector.node;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/schema-extract/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function generateSchema(
} else {
if (symbol._kind === 'class' || symbol._kind === 'element') {
schema.properties[entry] = {};
const schemaEntry = schema.properties[entry] as StylableSymbolSchema;
const schemaEntry = schema.properties[entry];
const { [`-st-states`]: states, [`-st-extends`]: extended } = symbol;

if (symbol.alias && symbol.alias.import) {
Expand Down Expand Up @@ -82,7 +82,7 @@ export function generateSchema(
$ref: stylableVar,
};

generateCssDocs(meta, symbol, schema.properties[entry] as StylableSymbolSchema);
generateCssDocs(meta, symbol, schema.properties[entry]);
} else if (symbol._kind === 'cssVar') {
schema.properties[entry] = {
$ref: stylableCssVar,
Expand Down