Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Aug 25, 2023
1 parent 1a2ce57 commit 81aeb19
Show file tree
Hide file tree
Showing 11 changed files with 1,013 additions and 798 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
patreon: Mister_Hope
open_collective: vuepress-theme-hope
custom:
- https://mrhope.site/about/donate.html
- https://mister-hope.com/about/donate.html
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Or this for asynchronous code:
exports.build = () =>
src("./styles/**/*.scss")
.pipe(
sassAsync({ outputStyle: "compressed" }).on("error", sassAsync.logError)
sassAsync({ outputStyle: "compressed" }).on("error", sassAsync.logError),
)
.pipe(dest("./css"));
```
Expand Down Expand Up @@ -268,7 +268,7 @@ Or this for asynchronous code:
exports.build = () =>
src("./styles/**/*.scss")
.pipe(
sassAsync({ outputStyle: "compressed" }).on("error", sassAsync.logError)
sassAsync({ outputStyle: "compressed" }).on("error", sassAsync.logError),
)
.pipe(dest("./css"));
```
Expand Down
8 changes: 4 additions & 4 deletions __tests__/compileAsync.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ describe("async compile", () => {
expect(err.messageOriginal).toContain("2:20 root stylesheet");
// Error must include relativePath property
expect(err.message).toContain(
join("__tests__", "__fixtures__", "scss", "error.scss")
join("__tests__", "__fixtures__", "scss", "error.scss"),
);
resolve();
});
Expand All @@ -144,7 +144,7 @@ describe("async compile", () => {
expect(err.messageOriginal).toContain("error.scss 2:20 @use");
// Error must include relativePath property
expect(err.message).toContain(
join("__tests__", "__fixtures__", "scss", "error.scss")
join("__tests__", "__fixtures__", "scss", "error.scss"),
);
resolve();
});
Expand Down Expand Up @@ -177,15 +177,15 @@ describe("async compile", () => {
// Transform file name
sassFile.contents = Buffer.from(
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
`/* Added Dynamically */${sassFile.contents!.toString()}`
`/* Added Dynamically */${(<Buffer>sassFile.contents!).toString()}`,
);

stream.on("data", (cssFile: Vinyl.BufferFile) => {
expect(typeof cssFile.relative).toEqual("string");
expect(typeof cssFile.path).toEqual("string");

expect(normalizeEOL(cssFile.contents)).toContain(
"/* Added Dynamically */"
"/* Added Dynamically */",
);
resolve();
});
Expand Down
4 changes: 2 additions & 2 deletions __tests__/compileSync.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ describe("legacy sync render", () => {
expect(err.messageOriginal).toContain("2:20 root stylesheet");
// Error must include relativePath property
expect(err.message).toContain(
join("__tests__", "__fixtures__", "scss", "error.scss")
join("__tests__", "__fixtures__", "scss", "error.scss"),
);
resolve();
});
Expand All @@ -136,7 +136,7 @@ describe("legacy sync render", () => {
expect(err.messageOriginal).toContain("error.scss 2:20 @use");
// Error must include relativePath property
expect(err.message).toContain(
join("__tests__", "__fixtures__", "scss", "error.scss")
join("__tests__", "__fixtures__", "scss", "error.scss"),
);
resolve();
});
Expand Down
6 changes: 3 additions & 3 deletions __tests__/legacyAsync.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe("legacy async render", () => {
expect(err.messageOriginal).toContain('expected "{".');
// Error must include relativePath property
expect(err.messageOriginal).toContain(
join("__tests__", "__fixtures__", "scss", "error.scss")
join("__tests__", "__fixtures__", "scss", "error.scss"),
);
// Error must include line and column error occurs on
expect(err.messageOriginal).toContain("2:20 root stylesheet");
Expand Down Expand Up @@ -157,15 +157,15 @@ describe("legacy async render", () => {
// Transform file name
sassFile.contents = Buffer.from(
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
`/* Added Dynamically */${sassFile.contents!.toString()}`
`/* Added Dynamically */${(<Buffer>sassFile.contents!).toString()}`,
);

stream.on("data", (cssFile: Vinyl.BufferFile) => {
expect(typeof cssFile.relative).toEqual("string");
expect(typeof cssFile.path).toEqual("string");

expect(normalizeEOL(cssFile.contents)).toContain(
"/* Added Dynamically */"
"/* Added Dynamically */",
);
resolve();
});
Expand Down
2 changes: 1 addition & 1 deletion __tests__/legacySync.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ describe("legacy sync render", () => {
expect(err.messageOriginal).toContain('expected "{".');
// Error must include relativePath property
expect(err.messageOriginal).toContain(
join("__tests__", "__fixtures__", "scss", "error.scss")
join("__tests__", "__fixtures__", "scss", "error.scss"),
);
// Error must include line and column error occurs on
expect(err.messageOriginal).toContain("2:20 root stylesheet");
Expand Down
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,64 +46,64 @@
"package.json": "sort-package-json"
},
"dependencies": {
"@types/node": "^20.3.1",
"@types/node": "^20.5.6",
"picocolors": "^1.0.0",
"plugin-error": "^2.0.1",
"replace-ext": "^2.0.0",
"sass": "^1.63.4",
"sass": ">= 1.45.0",
"source-map-js": "^1.0.2",
"strip-ansi": "^6.0.1",
"vinyl": "^2.2.1",
"vinyl-sourcemaps-apply": "^0.2.1"
},
"devDependencies": {
"@commitlint/cli": "17.6.5",
"@commitlint/config-conventional": "17.6.5",
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"@types/globule": "1.1.6",
"@types/gulp": "4.0.11",
"@types/gulp": "4.0.13",
"@types/gulp-postcss": "8.0.3",
"@types/gulp-sourcemaps": "0.0.36",
"@types/gulp-tap": "1.0.2",
"@types/rimraf": "3.0.2",
"@types/vinyl": "2.0.7",
"@typescript-eslint/eslint-plugin": "5.60.0",
"@typescript-eslint/parser": "5.60.0",
"@vitest/coverage-v8": "0.32.2",
"autoprefixer": "10.4.14",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "6.4.1",
"@vitest/coverage-v8": "0.34.2",
"autoprefixer": "10.4.15",
"commitizen": "4.3.0",
"cz-git": "1.6.1",
"cz-git": "1.7.1",
"del": "7.0.0",
"esbuild": "0.18.5",
"eslint": "8.43.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-prettier": "4.2.1",
"esbuild": "0.19.2",
"eslint": "8.47.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-prettier": "5.0.0",
"globule": "1.3.4",
"gulp": "4.0.2",
"gulp-postcss": "9.0.1",
"gulp-sourcemaps": "3.0.0",
"gulp-tap": "2.0.0",
"husky": "8.0.3",
"nano-staged": "0.8.0",
"postcss": "8.4.24",
"prettier": "2.8.8",
"postcss": "8.4.28",
"prettier": "3.0.2",
"rimraf": "5.0.1",
"rollup": "3.25.1",
"rollup-plugin-dts": "5.3.0",
"rollup": "3.28.1",
"rollup-plugin-dts": "6.0.0",
"rollup-plugin-esbuild": "5.0.0",
"standard-version": "9.5.0",
"typescript": "5.1.3",
"vite": "4.3.9",
"vitest": "0.32.2"
"typescript": "5.2.2",
"vite": "4.4.9",
"vitest": "0.34.2"
},
"packageManager": "[email protected].3",
"packageManager": "[email protected].12",
"publishConfig": {
"access": "public"
},
"pnpm": {
"overrides": {
"chokidar": "^3.5.3",
"css": "npm:@adobe/css-tools@^4.2.0",
"css": "npm:@adobe/css-tools@^4.3.1",
"glob-stream": "^7.0.0",
"glob-parent": "^6.0.2",
"micromatch": "^4.0.5",
Expand Down
Loading

0 comments on commit 81aeb19

Please sign in to comment.