Skip to content

Commit

Permalink
chore: update devDeps
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Oct 14, 2023
1 parent 6fe5001 commit 670e36b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 13 deletions.
8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks"
},
"husky": {
"hooks": {
"precommit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
Expand All @@ -57,11 +52,12 @@
"trailingComma": "none"
},
"devDependencies": {
"@types/debug": "^4.1.9",
"@types/mocha": "^8.2.3",
"@types/node": "^16.3.1",
"lint-staged": "^11.0.1",
"mocha": "^9.0.2",
"prettier": "^2.3.2",
"prettier": "^3.0.3",
"rimraf": "^3.0.2",
"ts-node": "^10.1.0",
"ts-node-test-register": "^10.0.0",
Expand Down
5 changes: 2 additions & 3 deletions src/GitHubAdaptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import { encode as arrayBufferToBase64 } from "base64-arraybuffer";
// https://github.com/octokit/rest.js/issues/1971
import type { components } from "@octokit/openapi-types";
import { fromBase64 } from "js-base64";

import debug0 from "debug";
type GetRepoContentResponseDataFile = components["schemas"]["content-file"];

const debug = require("debug")("korefile");
const debug = debug0("korefile");
const GITHUB_API_TOKEN = typeof process === "object" && process.env.GITHUB_API_TOKEN;

export interface GitCommitPushOptions {
Expand Down
20 changes: 16 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,23 @@
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.1.tgz#a6ca6a9a0ff366af433f42f5f0e124794ff6b8f1"
integrity sha512-FTgBI767POY/lKNDNbIzgAX6miIDBs6NTCbdlDb8TrWovHsSvaVIZDlTqym29C6UqhzwcJx4CYr+AlrMywA0cA==

"@types/debug@^4.1.9":
version "4.1.9"
resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.9.tgz#906996938bc672aaf2fb8c0d3733ae1dda05b005"
integrity sha512-8Hz50m2eoS56ldRlepxSBa6PWEVCtzUo/92HgLc2qTMnotJNIm7xP+UZhyWoYsyOdd5dxZ+NZLb24rsKyFs2ow==
dependencies:
"@types/ms" "*"

"@types/mocha@^8.2.3":
version "8.2.3"
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-8.2.3.tgz#bbeb55fbc73f28ea6de601fbfa4613f58d785323"
integrity sha512-ekGvFhFgrc2zYQoX4JeZPmVzZxw6Dtllga7iGHzfbYIYkAMUx/sAFP2GdFpLff+vdHXu5fl7WX9AT+TtqYcsyw==

"@types/ms@*":
version "0.7.32"
resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.32.tgz#f6cd08939ae3ad886fcc92ef7f0109dacddf61ab"
integrity sha512-xPSg0jm4mqgEkNhowKgZFBNtwoEwF6gJ4Dhww+GFpm3IgtNseHQZ5IqdNwnquZEoANxyDAKDRAdVo4Z72VvD/g==

"@types/node@^16.3.1":
version "16.3.1"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.3.1.tgz#24691fa2b0c3ec8c0d34bfcfd495edac5593ebb4"
Expand Down Expand Up @@ -995,10 +1007,10 @@ please-upgrade-node@^3.2.0:
dependencies:
semver-compare "^1.0.0"

prettier@^2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.2.tgz#ef280a05ec253712e486233db5c6f23441e7342d"
integrity sha512-lnJzDfJ66zkMy58OL5/NY5zp70S7Nz6KqcKkXYzn2tMVrNxvbqaBpg7H3qHaLxCJ5lNMsGuM8+ohS7cZrthdLQ==
prettier@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643"
integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==

randombytes@^2.1.0:
version "2.1.0"
Expand Down

0 comments on commit 670e36b

Please sign in to comment.