Skip to content

Commit

Permalink
Upgrade deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Sep 6, 2024
1 parent 671d558 commit 8a5632a
Show file tree
Hide file tree
Showing 6 changed files with 1,977 additions and 2,131 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ settings:
typescript: {}
rules:
# TypeScript
'@typescript-eslint/consistent-type-imports':
- 1
- fixStyle: inline-type-imports
'@typescript-eslint/explicit-module-boundary-types': 0
'@typescript-eslint/no-empty-function': 0
'@typescript-eslint/no-explicit-any': 0
'@typescript-eslint/no-require-imports': 0
'@typescript-eslint/no-use-before-define': 2

# Import
Expand Down
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ updates:
- dependency-name: 'chai'
update-types:
- 'version-update:semver-major'
- dependency-name: 'eslint'
update-types:
- 'version-update:semver-major'
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,37 +62,37 @@
"prepack": "yarn run release"
},
"dependencies": {
"@adobe/css-tools": "^4.3.3",
"@adobe/css-tools": "^4.4.0",
"jest-diff": "^29.7.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.24.1",
"@types/lodash": "^4.17.0",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@types/lodash": "^4.17.7",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"@typescript-eslint/parser": "^8.4.0",
"babel-jest": "^29.7.0",
"chai": "^4.4.1",
"eslint": "^9.9.1",
"chai": "^4.5.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"jest": "^29.7.0",
"jest-environment-node-single-context": "^29.4.0",
"mocha": "^10.4.0",
"mocha": "^10.7.3",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"sass": "^1.76.0",
"sass-embedded": "^1.76.0",
"postcss": "^8.4.45",
"prettier": "^3.3.3",
"sass": "^1.78.0",
"sass-embedded": "^1.78.0",
"sassdoc": "^2.7.4",
"sassdoc-theme-herman": "^6.0.1",
"stylelint": "^16.4.0",
"stylelint": "^16.9.0",
"stylelint-config-standard-scss": "^13.1.0",
"typescript": "^5.4.5"
"typescript": "^5.5.4"
},
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand All @@ -107,5 +107,5 @@
"sassDir": "./sass/",
"exports": false
},
"packageManager": "yarn@4.1.0"
"packageManager": "yarn@4.4.1"
}
7 changes: 4 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import assert from 'node:assert';
import path from 'node:path';

import {
CssAtRuleAST,
CssCommentAST,
CssRuleAST,
type CssAtRuleAST,
type CssCommentAST,
type CssRuleAST,
CssTypes,
parse as cssParse,
stringify as cssStringify,
Expand Down Expand Up @@ -108,6 +108,7 @@ export const runSass = function (
try {
// eslint-disable-next-line global-require
compiler = require(sassPkg);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (err) {
throw new Error(`Cannot find Dart Sass (\`${sassPkg}\`) dependency.`);
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CssAllNodesAST, CssCommentAST } from '@adobe/css-tools';
import type { CssAllNodesAST, CssCommentAST } from '@adobe/css-tools';

export const truthyValues = (item?: any) => Boolean(item);

Expand Down
Loading

0 comments on commit 8a5632a

Please sign in to comment.