diff --git a/docs/search/code.md b/docs/search/code.md index 15bdb1919..546f37074 100644 --- a/docs/search/code.md +++ b/docs/search/code.md @@ -24,7 +24,8 @@ Due to the complexity of searching code, there are a few restrictions on how sea - Only the _default branch_ is considered. In most cases, this will be the `master` branch. - Only files smaller than 384 KB are searchable. -- You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is. +- You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing +language:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is. ```js octokit.rest.search.code({ diff --git a/package-lock.json b/package-lock.json index d90f8b61f..a74b7bd21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0-development", "license": "MIT", "dependencies": { - "@octokit/types": "^8.0.0", + "@octokit/types": "^8.1.0", "deprecation": "^2.3.1" }, "devDependencies": { @@ -2719,9 +2719,9 @@ } }, "node_modules/@octokit/types": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-8.0.0.tgz", - "integrity": "sha512-65/TPpOJP1i3K4lBJMnWqPUJ6zuOtzhtagDvydAWbEXpbFYA0oMKKyLb95NFZZP0lSh/4b6K+DQlzvYQJQQePg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-8.1.0.tgz", + "integrity": "sha512-N4nLjzkiWBqVQqljTTsCrbvHGoWdWfcCeZjbHdggw7a9HbJMnxbK8A+UWdqwR4out30JarlSa3eqKyVK0n5aBg==", "dependencies": { "@octokit/openapi-types": "^14.0.0" } @@ -11253,9 +11253,9 @@ } }, "@octokit/types": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-8.0.0.tgz", - "integrity": "sha512-65/TPpOJP1i3K4lBJMnWqPUJ6zuOtzhtagDvydAWbEXpbFYA0oMKKyLb95NFZZP0lSh/4b6K+DQlzvYQJQQePg==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-8.1.0.tgz", + "integrity": "sha512-N4nLjzkiWBqVQqljTTsCrbvHGoWdWfcCeZjbHdggw7a9HbJMnxbK8A+UWdqwR4out30JarlSa3eqKyVK0n5aBg==", "requires": { "@octokit/openapi-types": "^14.0.0" } diff --git a/package.json b/package.json index 7d275b594..24cfeeb65 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "dependencies": { - "@octokit/types": "^8.0.0", + "@octokit/types": "^8.1.0", "deprecation": "^2.3.1" }, "devDependencies": {