From 3d27d36540428e5c886b9813254082fc9ce54b35 Mon Sep 17 00:00:00 2001 From: Freya Gentz Date: Thu, 19 Dec 2019 19:50:20 -0700 Subject: [PATCH] Squashed commit of the following: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit commit 84b670882e5e172aca1d79e663d4b920cdd2b1ee Merge: fef5593 1a0243e Author: Freya Gentz Date: Thu Dec 19 19:43:16 2019 -0700 Merge pull request #6 from goddessfreya/goddessfreya-patch-1 Add clang testing commit 1a0243ebe310145bebdf6561cb9fd26eb3446dfd Author: Freya Gentz Date: Thu Dec 19 19:37:34 2019 -0700 Update nodejs.yml commit 18e838fe97c743169703bae7c90ba7fabca45750 Author: Freya Gentz Date: Thu Dec 19 19:35:27 2019 -0700 Delete package-lock.json commit d17cf278b7ecb80e3da5f40a3a974acb41c6e40a Author: Freya Gentz Date: Thu Dec 19 19:22:57 2019 -0700 Update nodejs.yml commit 81c5ae60d3d97b74610ff7f181e6bbc56f35f0f7 Author: Freya Gentz Date: Thu Dec 19 19:12:42 2019 -0700 Update nodejs.yml commit 2db0f183ee31eeff55b4aedffa672a57e30a72b6 Author: Freya Gentz Date: Thu Dec 19 18:56:33 2019 -0700 Update nodejs.yml commit 855c3c1beae3b5f1fc15819d2f17794a5ddb287c Author: Freya Gentz Date: Thu Dec 19 18:49:38 2019 -0700 Update nodejs.yml commit f80be0af2535e32303d4fd0db947ff6bacfd4da3 Author: Freya Gentz Date: Thu Dec 19 18:38:49 2019 -0700 Update nodejs.yml commit 3c52d662d8d51639a96affa400cac7ea9734cc47 Author: Freya Gentz Date: Thu Dec 19 18:35:04 2019 -0700 Update nodejs.yml commit 5fe3493dd2533dd7e02f119873f8e18bef5b3281 Author: Freya Gentz Date: Thu Dec 19 18:34:31 2019 -0700 Update nodejs.yml commit 8c4177100cbaf5aa8a74b3641eaef2b8b41f6094 Author: Freya Gentz Date: Thu Dec 19 18:34:05 2019 -0700 Update nodejs.yml commit 5bd03fe647c682bd5c52677f2c358853084cb7fc Author: Freya Gentz Date: Thu Dec 19 18:33:49 2019 -0700 Update nodejs.yml commit aab4c50d9a11a4fdcce0140af0c3a7eeff1edb22 Author: Freya Gentz Date: Thu Dec 19 18:33:35 2019 -0700 Update nodejs.yml commit 0e6f86f121e81d3b4fa8578f4070334b440bf419 Author: Freya Gentz Date: Thu Dec 19 18:30:31 2019 -0700 Update nodejs.yml commit fef559397e041bc746bb61a6cc4520e44f103235 Merge: 0c83612 e99e477 Author: Freya Gentz Date: Thu Dec 19 18:16:48 2019 -0700 Merge pull request #5 from abetomo/fix_deprecated_callback Fix deprecated callback commit 0c83612a8d11558f481c28e6e4a6e15374df93af Merge: 2c0d135 5cbdece Author: Freya Gentz Date: Thu Dec 19 18:04:18 2019 -0700 Merge pull request #4 from goddessfreya/Add-Github-actions Add Github actions commit 5cbdece2e5838e6cdd7bd907e8601e756583ed59 Author: Freya Gentz Date: Thu Dec 19 18:01:01 2019 -0700 Delete appveyor.yml commit 4ddcbd373fb254575d7de07101760ed6f60ea643 Author: Freya Gentz Date: Thu Dec 19 18:00:49 2019 -0700 Delete .travis.yml commit c6f6c633ebeec77521f839309aba438c03003f60 Author: Freya Gentz Date: Thu Dec 19 17:57:45 2019 -0700 Update nodejs.yml commit 84bccbd0f2dfd3ae7c182b98ec2c438f2001e410 Author: Freya Gentz Date: Thu Dec 19 17:55:23 2019 -0700 Update nodejs.yml commit f6720eace4df0319148611f6ad6ac460ffcad3fb Author: Freya Gentz Date: Thu Dec 19 17:50:59 2019 -0700 Update nodejs.yml commit 514a3f977a58cb8767fcda3a5ee85cc2e6deeecf Author: Freya Gentz Date: Thu Dec 19 17:31:31 2019 -0700 Add Github actions commit e99e47733ea0426862ce63900c247811021325a1 Author: abetomo Date: Thu Jul 5 10:25:35 2018 +0900 Fix deprecated callback The following warning. ``` ../src/worker.cc: In member function ‘virtual void CheckSpellingWorker::HandleOKCallback()’: ../src/worker.cc:44:25: warning: ‘v8::Local Nan::Callback::Call(int, v8::Local*) const’ is deprecated [-Wdeprecated-declarations] callback->Call(2, argv); ``` Signed-off-by: Freya Gentz --- .github/workflows/nodejs.yml | 19 +- package-lock.json | 365 ----------------------------------- 2 files changed, 13 insertions(+), 371 deletions(-) delete mode 100644 package-lock.json diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 40d6d4e..1091ab1 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -9,23 +9,30 @@ jobs: matrix: node-version: [8.x, 10.x, 12.x] platform: - - { os: windows-latest, hunspell: true } + - { os: windows-latest, force-hunspell: true } - { os: windows-latest } - - { os: macos-latest, hunspell: true } + - { os: macos-latest, force-hunspell: true } - { os: macos-latest } - - { os: ubuntu-latest } + - { os: ubuntu-latest, use-clang: true } runs-on: ${{ matrix.platform.os }} - + env: + SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }} + steps: - uses: actions/checkout@v1 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} + - name: npm install, build, and test (clang) + if: matrix.platform.use-clang == true + run: | + export CC="$(which clang)" + export CPP="$(which clang++)" + npm install + npm test - name: npm install, build, and test run: | npm install npm test - env: - SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }} diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 3bd3e17..0000000 --- a/package-lock.json +++ /dev/null @@ -1,365 +0,0 @@ -{ - "name": "spellchecker", - "version": "3.7.0", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "amdefine": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", - "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", - "dev": true - }, - "any-promise": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", - "integrity": "sha1-q8av7tzqUugJzcA3au0845Y10X8=" - }, - "async": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", - "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", - "dev": true - }, - "balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", - "dev": true - }, - "brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "coffee-script": { - "version": "1.12.7", - "resolved": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.12.7.tgz", - "integrity": "sha512-fLeEhqwymYat/MpTPUjSKHVYYl0ec2mOyALEMLmzr5i1isuG+6jfI2j2d5oBO3VIzgUXgBVIcOT9uH1TFxBckw==", - "dev": true - }, - "coffeestack": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/coffeestack/-/coffeestack-1.1.2.tgz", - "integrity": "sha1-NSePO+uc5vXQraH7bgh4UrZXzpg=", - "dev": true, - "requires": { - "coffee-script": "~1.8.0", - "fs-plus": "^2.5.0", - "source-map": "~0.1.43" - }, - "dependencies": { - "coffee-script": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/coffee-script/-/coffee-script-1.8.0.tgz", - "integrity": "sha1-nJ8dK0pSoADe0Vtll5FwNkgmPB0=", - "dev": true, - "requires": { - "mkdirp": "~0.3.5" - } - } - } - }, - "concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", - "dev": true - }, - "fileset": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/fileset/-/fileset-0.1.8.tgz", - "integrity": "sha1-UGuRqTluqn4y+0KoQHfHoMc2t0E=", - "dev": true, - "requires": { - "glob": "3.x", - "minimatch": "0.x" - }, - "dependencies": { - "glob": { - "version": "3.2.11", - "resolved": "https://registry.npmjs.org/glob/-/glob-3.2.11.tgz", - "integrity": "sha1-Spc/Y1uRkPcV0QmH1cAP0oFevj0=", - "dev": true, - "requires": { - "inherits": "2", - "minimatch": "0.3" - }, - "dependencies": { - "minimatch": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.3.0.tgz", - "integrity": "sha1-J12O2qxPG7MyZHIInnlJyDlGmd0=", - "dev": true, - "requires": { - "lru-cache": "2", - "sigmund": "~1.0.0" - } - } - } - }, - "minimatch": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.4.0.tgz", - "integrity": "sha1-vSx9Bg0sjI/Xzefx8u0tWycP2xs=", - "dev": true, - "requires": { - "lru-cache": "2", - "sigmund": "~1.0.0" - } - } - } - }, - "fs-plus": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/fs-plus/-/fs-plus-2.10.1.tgz", - "integrity": "sha1-MgR4HXhAYR5jZOe2+wWMljJ8WqU=", - "dev": true, - "requires": { - "async": "^1.5.2", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.2", - "underscore-plus": "1.x" - }, - "dependencies": { - "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", - "dev": true, - "requires": { - "minimist": "0.0.8" - } - } - } - }, - "fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", - "dev": true - }, - "gaze": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/gaze/-/gaze-0.3.4.tgz", - "integrity": "sha1-X5S92gr+U7xxCWm81vKCVI1gwnk=", - "dev": true, - "requires": { - "fileset": "~0.1.5", - "minimatch": "~0.2.9" - }, - "dependencies": { - "minimatch": { - "version": "0.2.14", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz", - "integrity": "sha1-x054BXT2PG+aCQ6Q775u9TpqdWo=", - "dev": true, - "requires": { - "lru-cache": "2", - "sigmund": "~1.0.0" - } - } - } - }, - "glob": { - "version": "7.1.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", - "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "dev": true, - "requires": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", - "dev": true - }, - "jasmine-focused": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/jasmine-focused/-/jasmine-focused-1.0.7.tgz", - "integrity": "sha1-uDx1fIAOaOHW78GjoaE/85/23NI=", - "dev": true, - "requires": { - "jasmine-node": "git+https://github.com/kevinsawicki/jasmine-node.git#81af4f953a2b7dfb5bde8331c05362a4b464c5ef", - "underscore-plus": "1.x", - "walkdir": "0.0.7" - } - }, - "jasmine-node": { - "version": "git+https://github.com/kevinsawicki/jasmine-node.git#81af4f953a2b7dfb5bde8331c05362a4b464c5ef", - "from": "jasmine-node@git+https://github.com/kevinsawicki/jasmine-node.git#81af4f953a2b7dfb5bde8331c05362a4b464c5ef", - "dev": true, - "requires": { - "coffee-script": ">=1.0.1", - "coffeestack": ">=1 <2", - "gaze": "~0.3.2", - "jasmine-reporters": ">=0.2.0", - "mkdirp": "~0.3.5", - "requirejs": ">=0.27.1", - "underscore": ">= 1.3.1", - "walkdir": ">= 0.0.1" - } - }, - "jasmine-reporters": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/jasmine-reporters/-/jasmine-reporters-2.3.2.tgz", - "integrity": "sha512-u/7AT9SkuZsUfFBLLzbErohTGNsEUCKaQbsVYnLFW1gEuL2DzmBL4n8v90uZsqIqlWvWUgian8J6yOt5Fyk/+A==", - "dev": true, - "requires": { - "mkdirp": "^0.5.1", - "xmldom": "^0.1.22" - }, - "dependencies": { - "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", - "dev": true, - "requires": { - "minimist": "0.0.8" - } - } - } - }, - "lru-cache": { - "version": "2.7.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz", - "integrity": "sha1-bUUk6LlV+V1PW1iFHOId1y+06VI=", - "dev": true - }, - "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dev": true, - "requires": { - "brace-expansion": "^1.1.7" - } - }, - "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", - "dev": true - }, - "mkdirp": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz", - "integrity": "sha1-3j5fiWHIjHh+4TaN+EmsRBPsqNc=", - "dev": true - }, - "nan": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", - "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==" - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "dev": true - }, - "requirejs": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.6.tgz", - "integrity": "sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg==", - "dev": true - }, - "rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, - "sigmund": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz", - "integrity": "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=", - "dev": true - }, - "source-map": { - "version": "0.1.43", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", - "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", - "dev": true, - "requires": { - "amdefine": ">=0.0.4" - } - }, - "underscore": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz", - "integrity": "sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==", - "dev": true - }, - "underscore-plus": { - "version": "1.6.8", - "resolved": "https://registry.npmjs.org/underscore-plus/-/underscore-plus-1.6.8.tgz", - "integrity": "sha512-88PrCeMKeAAC1L4xjSiiZ3Fg6kZOYrLpLGVPPeqKq/662DfQe/KTSKdSR/Q/tucKNnfW2MNAUGSCkDf8HmXC5Q==", - "dev": true, - "requires": { - "underscore": "~1.8.3" - }, - "dependencies": { - "underscore": { - "version": "1.8.3", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", - "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=", - "dev": true - } - } - }, - "walkdir": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/walkdir/-/walkdir-0.0.7.tgz", - "integrity": "sha1-BNoCcKh6d4VAFzzb8KLbSZqNnik=", - "dev": true - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", - "dev": true - }, - "xmldom": { - "version": "0.1.27", - "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.27.tgz", - "integrity": "sha1-1QH5ezvbQDr4757MIFcxh6rawOk=", - "dev": true - } - } -}