Skip to content

Commit e56a1a5

Browse files
⬆️ build(deps-dev): Bump typescript from 4.6.2 to 4.8.4 (#167)
* ⬆️ build(deps-dev): Bump typescript from 4.6.2 to 4.8.4 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.2 to 4.8.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.6.2...v4.8.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Tweaked secret-messages too * Added answer.js, with gitignore Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
1 parent c3b898c commit e56a1a5

7 files changed

Lines changed: 12 additions & 32 deletions

File tree

package-lock.json

Lines changed: 7 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"title-case": "^3.0.3",
1818
"ts-jest": "28.0.4",
1919
"tsd": "0.20.0",
20-
"typescript": "4.6.2"
20+
"typescript": "4.8.4"
2121
},
2222
"keywords": [
2323
"learning",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
!*.js

projects/configuration-options/secret-messages/02-allowed-imports/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Can you apply your skills to this second TSConfig file so compiles without type
99

1010
## Files
1111

12-
- `answer.js`, `alternates.json`, and `index.ts`: Existing source code fie
12+
- `answer.js`, `guesses.json`, and `index.ts`: Existing source code fie
1313
- `tsconfig.json`: Set up your configuration options here
1414
- `solution.test.ts`: Tests verifying your configuration options
1515
- `tsconfig.solution.json`: Solution configuration options
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default "Because they were too strict!";
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[
22
"Because they were 'emit'ting a foul odor?",
3-
"Because they were too strict?",
43
"Because they made too many comments?"
54
]

projects/configuration-options/secret-messages/02-allowed-imports/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function decodeMessage(message: string) {
55
let output = "";
66

77
for (let i = 0; i < message.length; i += 1) {
8-
output += String.fromCodePoint((message.codePointAt(i) - i) ** 0.5);
8+
output += String.fromCharCode(message.codePointAt(i) - i - message.length);
99
}
1010

1111
return output;

0 commit comments

Comments
 (0)