Skip to content

Commit

Permalink
Bump gts from 4.0.1 to 5.0.0 (#242)
Browse files Browse the repository at this point in the history
* 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] <support@github.com>

* execute: npm run fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Carlos Israel Ortiz García <goodwine@google.com>
  • Loading branch information
dependabot[bot] and Goodwine authored Aug 7, 2023
1 parent 4426f81 commit 87e9568
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/src/message-transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class MessageTransformer {
*/
writeInboundMessage([compilationId, message]: [
number,
InboundMessage
InboundMessage,
]): void {
const compilationIdLength = varint.encodingLength(compilationId);
const encodedMessage = message.toBinary();
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {Syntax} from './vendor/sass';

export type PromiseOr<
T,
sync extends 'sync' | 'async' = 'async'
sync extends 'sync' | 'async' = 'async',
> = sync extends 'async' ? T | Promise<T> : T;

// A boolean type that's `true` if `sync` requires synchronous APIs only and
Expand Down
7 changes: 5 additions & 2 deletions lib/src/value/calculations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ const isValidClampArg = (value: CalculationValue): boolean =>
export class SassCalculation extends Value {
readonly arguments: List<CalculationValue>;

private constructor(readonly name: string, args: CalculationValueIterable) {
private constructor(
readonly name: string,
args: CalculationValueIterable
) {
super();
this.arguments = List(args);
}
Expand Down Expand Up @@ -93,7 +96,7 @@ export class SassCalculation extends Value {
}

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

export class CalculationOperation implements ValueObject {
constructor(
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@types/yargs": "^17.0.4",
"del": "^6.0.0",
"extract-zip": "^2.0.1",
"gts": "^4.0.0",
"gts": "^5.0.0",
"jest": "^29.4.1",
"minipass": "7.0.2",
"npm-run-all": "^4.1.5",
Expand Down

0 comments on commit 87e9568

Please sign in to comment.