kwonoj / hunspell-dict-downloader Goto Github PK
View Code? Open in Web Editor NEWHunspell based dictionary downloader for node.js
License: MIT License
Hunspell based dictionary downloader for node.js
License: MIT License
10.12.6
to 10.12.7
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
4.0.0
to 4.0.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
pify is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
cross platform hash required.
Instead of rely on single manifest by asking npm directly all times, it'd better to expand
pacote
to allow customizability for source of dictionaries. Once this is done, default manifest should be extracted from package and each consumer should own their own manifest.
Hi! first of all, thanks for this really cool package. I've been using it alongside electron-hunspell!
So, I just tested this on a Windows 10 system (using an electron program built with electron-winstaller), and I had an error when I tried to install a package (I tested with 'pt-br', if you need, I can test with others). The Error I got was:
Dictionary is installed, but failed to check integrity
at Object. (C:\ ... \createDownloader.js:79)
Looking at your code, at the method install, it seems that:
const isValid = await isInstalledDictionaryValid(dictionaryDirectory, langRegionCode);
is returning false.
As you can see from the code below (I adapted it a little to put here, but the idea is pretty much this), I first check to see if the language pack is installed, and if it isn't I try to install it before doing anything else.
dictDownloader.createDownloader(dictPath).then(manager => {
let lang = 'pt-br'
if (!manager.installedDictionaries.includes(lang)) {
// returns false, aka language package not installed
return manager.installDictionary(langSet)
}
}).then(() => {
// use the language package installed for spell checking
}).catch(err => {
console.log(err)
})
I'm not sure if I'm doing something stupid, if there is a Windows dependency that I'm supposed to install or whether this is an actual bug. On a MacOs, at least, it worked perfectly (both installed versions and in development).
Any ideas?
Thanks again
8.0.2
to 8.0.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
lint-staged is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 1 commits.
225a904
fix: Allow to use lint-staged on CI (#523)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Hello, the version on NPM doesn't work for me.
However, your git master has been working fine.
Could you make a new release on NPM?
Thanks!
10.10.2
to 10.10.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/node is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
2.0.5
to 2.0.7
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
conventional-changelog-cli is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
1.14.2
to 1.14.3
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
prettier is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
π Changelog
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
import * as pacote from 'pacote';
import * as log from 'npmlog';
log.level = 'silly';
const test = async () => {
console.log(await pacote.manifest('dictionary-en-us'))
//1. do not re-extract if exists
//2. do not attempt to download multiple times
//3. extracted file integrity, busting logic
const a = pacote.extract('dictionary-en-us', './temp', {
integrity: 'sha512-AK8iDBvTHD0bxcEFEDUtofQ9w8Po7ZQCrrZo06ELw3UngJcnjUoEwvrkQfdeRBRcKD+QG9RU6SPYFYGGbuEQXQ==',
preferOnline: false,
cache: './cache',
log: log
})
/*
const b = pacote.extract('dictionary-en-us', './temp', {
integrity: 'sha512-AK8iDBvTHD0bxcEFEDUtofQ9w8Po7ZQCrrZo06ELw3UngJcnjUoEwvrkQfdeRBRcKD+QG9RU6SPYFYGGbuEQXQ==',
log: log
})
await Promise.all([a,b])*/
await a;
}
test();
23.1.4
to 23.10.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
ts-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
ts-jest
, reloaded!ts-jest
Slack community where you can find some instant helpjest
, typescript
and babel
versionsThe new version differs by 293 commits.
0e5ffed
chore(release): 23.10.0
3665609
Merge pull request #734 from huafu/appveyor-optimizations
45d44d1
Merge branch 'master' into appveyor-optimizations
76e2fe5
ci(appveyor): cache npm versions as well
191c464
ci(appveyor): try to improve appveyor's config
0f31b42
Merge pull request #733 from huafu/fix-test-snap
661853a
Merge branch 'master' into fix-test-snap
aa7458a
Merge pull request #731 from kulshekhar/dependabot/npm_and_yarn/tslint-plugin-prettier-2.0.0
70775f1
ci(lint): run lint scripts in series instead of parallel
a18e919
style(fix): exclude package.json from tslint rules
011b580
test(config): stop using snapshots for pkg versions
7e5a3a1
build(deps-dev): bump tslint-plugin-prettier from 1.3.0 to 2.0.0
fbe90a9
Merge pull request #730 from kulshekhar/dependabot/npm_and_yarn/@types/node-10.10.1
a88456e
build(deps-dev): bump @types/node from 10.9.4 to 10.10.1
54fd239
Merge pull request #729 from kulshekhar/dependabot/npm_and_yarn/prettier-1.14.3
There are 250 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
4.1.4
to 4.1.5
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
npm-run-all is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 5 commits.
df15118
π 4.1.5
94007fd
β make test's timeout longer
1b41ac5
π use pidtree
7ec542e
β¬οΈ update dependencies
51e678e
Revert: "remove test in version script temporary"
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
23.3.6
to 23.3.7
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
@types/jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.