Skip to content

Commit 87e9568

Browse files
Bump gts from 4.0.1 to 5.0.0 (#242)
* Bump gts from 4.0.1 to 5.0.0 Bumps [gts](https://github.com/google/gts) from 4.0.1 to 5.0.0. - [Release notes](https://github.com/google/gts/releases) - [Changelog](https://github.com/google/gts/blob/main/CHANGELOG.md) - [Commits](google/gts@v4.0.1...v5.0.0) --- updated-dependencies: - dependency-name: gts dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * execute: npm run fix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Carlos Israel Ortiz García <[email protected]>
1 parent 4426f81 commit 87e9568

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

lib/src/message-transformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class MessageTransformer {
4040
*/
4141
writeInboundMessage([compilationId, message]: [
4242
number,
43-
InboundMessage
43+
InboundMessage,
4444
]): void {
4545
const compilationIdLength = varint.encodingLength(compilationId);
4646
const encodedMessage = message.toBinary();

lib/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {Syntax} from './vendor/sass';
1111

1212
export type PromiseOr<
1313
T,
14-
sync extends 'sync' | 'async' = 'async'
14+
sync extends 'sync' | 'async' = 'async',
1515
> = sync extends 'async' ? T | Promise<T> : T;
1616

1717
// A boolean type that's `true` if `sync` requires synchronous APIs only and

lib/src/value/calculations.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ const isValidClampArg = (value: CalculationValue): boolean =>
3131
export class SassCalculation extends Value {
3232
readonly arguments: List<CalculationValue>;
3333

34-
private constructor(readonly name: string, args: CalculationValueIterable) {
34+
private constructor(
35+
readonly name: string,
36+
args: CalculationValueIterable
37+
) {
3538
super();
3639
this.arguments = List(args);
3740
}
@@ -93,7 +96,7 @@ export class SassCalculation extends Value {
9396
}
9497

9598
const operators = ['+', '-', '*', '/'] as const;
96-
export type CalculationOperator = typeof operators[number];
99+
export type CalculationOperator = (typeof operators)[number];
97100

98101
export class CalculationOperation implements ValueObject {
99102
constructor(

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@types/yargs": "^17.0.4",
6363
"del": "^6.0.0",
6464
"extract-zip": "^2.0.1",
65-
"gts": "^4.0.0",
65+
"gts": "^5.0.0",
6666
"jest": "^29.4.1",
6767
"minipass": "7.0.2",
6868
"npm-run-all": "^4.1.5",

0 commit comments

Comments
 (0)