Skip to content

Commit

Permalink
chore(deps-dev): [email protected], latest others
Browse files Browse the repository at this point in the history
and regenerate lock file
  • Loading branch information
AviVahl committed Oct 17, 2024
1 parent 48fc74a commit 588010d
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 79 deletions.
146 changes: 73 additions & 73 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@types/react-dom": "^18.3.1",
"@types/validate-npm-package-name": "^4.0.2",
"@types/yargs": "^17.0.33",
"@typescript-eslint/rule-tester": "^8.9.0",
"@typescript-eslint/rule-tester": "^8.10.0",
"autoprefixer": "^10.4.20",
"c8": "^10.1.2",
"chai": "^4.3.10",
Expand All @@ -55,7 +55,7 @@
"eslint": "^9.12.0",
"eslint-config-prettier": "^9.1.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.6.0",
"html-webpack-plugin": "^5.6.2",
"mini-css-extract-plugin": "^2.9.1",
"mocha": "^10.7.3",
"node-eval": "^2.0.0",
Expand All @@ -76,7 +76,7 @@
"ts-expect": "^1.3.0",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "~5.6.3",
"typescript-eslint": "^8.9.0",
"typescript-eslint": "^8.10.0",
"url-loader": "^4.1.1",
"webpack": "^5.95.0",
"yargs": "^17.7.2"
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.4.1",
"@stylable/core": "^6.1.1",
"@typescript-eslint/scope-manager": "^8.9.0",
"@typescript-eslint/utils": "^8.9.0",
"@typescript-eslint/scope-manager": "^8.10.0",
"@typescript-eslint/utils": "^8.10.0",
"postcss-safe-parser": "^7.0.1"
},
"keywords": [
Expand Down
4 changes: 3 additions & 1 deletion packages/eslint-plugin-stylable/src/stylable-es-lint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ export default createRule({
);

namedImports.forEach(({ imported, local }) => {
const exportName = imported.name as keyof typeof exports;
const exportName = (
imported.type === AST_NODE_TYPES.Identifier ? imported.name : imported.value
) as keyof typeof exports;

if (exportName in exports) {
const variable = context.sourceCode
Expand Down

0 comments on commit 588010d

Please sign in to comment.