Skip to content

Commit

Permalink
Merge pull request #476 from rafaelkallis/rk/update-fasttext
Browse files Browse the repository at this point in the history
chore: updated fasttext lib
  • Loading branch information
rafaelkallis authored Jun 23, 2023
2 parents 4b0f07f + 1c0fe4b commit b9d09f5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "Rafael Kallis <[email protected]>",
"dependencies": {
"@octokit/webhooks": "11.0.0",
"@rafaelkallis/fasttext": "0.2.0",
"@rafaelkallis/fasttext": "0.3.1",
"applicationinsights": "2.6.0",
"applicationinsights-native-metrics": "0.0.9",
"connect-mongo": "5.0.0",
Expand Down Expand Up @@ -69,6 +69,9 @@
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": ["/node_modules/", "/build/"]
"testPathIgnorePatterns": [
"/node_modules/",
"/build/"
]
}
}
7 changes: 0 additions & 7 deletions src/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
declare module "@rafaelkallis/fasttext" {
export class FastText {
static from(path: string): Promise<FastText>;
predict(text: string): Promise<[string, number][]>;
}
}

declare module "nunjucks-octicons-extension" {
import { Extension } from "nunjucks";
const nunjucksOcticonsExtension: Extension;
Expand Down

0 comments on commit b9d09f5

Please sign in to comment.