48 Commits

Author SHA1 Message Date
dependabot[bot]
1b8d8598b1 Bump async from 2.3.0 to 2.6.4 in /binding/nodejs
Bumps [async](https://github.com/caolan/async) from 2.3.0 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.3.0...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-28 15:55:54 +00:00
Lion
5056f08b88 Merge pull request #203 from lionsoul2014/dependabot/npm_and_yarn/binding/nodejs/path-parse-1.0.7
Bump path-parse from 1.0.5 to 1.0.7 in /binding/nodejs
2021-10-24 09:48:41 +08:00
dependabot[bot]
7fee31c645 Bump tmpl from 1.0.4 to 1.0.5 in /binding/nodejs
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 23:38:34 +00:00
dependabot[bot]
2a221eae28 Bump path-parse from 1.0.5 to 1.0.7 in /binding/nodejs
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.5 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 19:27:14 +00:00
Lion
ea1e38c314 Merge pull request #193 from lionsoul2014/dependabot/npm_and_yarn/binding/nodejs/handlebars-4.7.7
Bump handlebars from 4.5.3 to 4.7.7 in /binding/nodejs
2021-05-08 09:40:43 +08:00
Lion
58d6fccfdc Merge pull request #187 from lionsoul2014/dependabot/npm_and_yarn/binding/nodejs/y18n-3.2.2
Bump y18n from 3.2.1 to 3.2.2 in /binding/nodejs
2021-05-08 09:40:30 +08:00
dependabot[bot]
0369816675 Bump hosted-git-info from 2.4.2 to 2.8.9 in /binding/nodejs
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.4.2 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.4.2...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 01:38:48 +00:00
dependabot[bot]
2b690b7f09 Bump lodash from 4.17.19 to 4.17.21 in /binding/nodejs
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 16:28:27 +00:00
dependabot[bot]
377b4e6029 Bump handlebars from 4.5.3 to 4.7.7 in /binding/nodejs
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-06 21:46:24 +00:00
dependabot[bot]
7d69b3aed2 Bump y18n from 3.2.1 to 3.2.2 in /binding/nodejs
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 14:25:51 +00:00
dependabot[bot]
d58119db4b Bump lodash from 4.17.13 to 4.17.19 in /binding/nodejs
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.13 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.13...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 08:58:29 +00:00
lionsoul
5d29fe2f2a Upgrade the minimist version inspired by the github alerts 2020-06-18 08:53:20 +08:00
lionsoul
b9b1d5a8c7 upgrade the acorn to version 5.7.4 2020-04-02 09:42:44 +08:00
lionsoul
068a7f48ed Upgrade the minimist to 1.2.2 2020-04-02 09:41:14 +08:00
lionsoul
b46b168842 Merge branch 'master' of https://gitee.com/lionsoul/ip2region 2020-04-02 09:38:27 +08:00
lionsoul
247c09376b Upgrade the kind-of to version 6.0.3 2020-04-02 09:38:10 +08:00
dongyado
ff535a79f4 update readme add tested node version 2020-02-20 16:57:50 +08:00
dongyado
e33004f319 update nodejs client and use node-ip2region for npm package name 2020-02-20 12:58:56 +08:00
dependabot[bot]
e7bbeb7919 Bump handlebars from 4.1.2 to 4.5.3 in /binding/nodejs
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-27 11:39:13 +00:00
lionsoul
b23cb7fdf6 Upgrade mixin-deep for version 1.3.2 and set-value to version 2.0.1 2019-09-07 10:36:36 +08:00
lionsoul
6b50224fd7 Security Alerts fixing 2019-07-21 17:51:07 +08:00
lionsoul
4f52d8c4ef Upgrade some the dependencies version to the one followed by the github alerts 2019-07-07 11:33:31 +08:00
lionsoul
7e81847d01 Upgrade some the dependencies version to the one followed by the github alerts 2019-07-07 11:18:21 +08:00
lionsoul
008d82eee0 Upgrade the lodash base version to 4.17.11 2019-02-12 17:39:11 +08:00
lionsoul
8688ae3ecb Update the merge to version 1.2.1 2018-11-03 11:05:48 +08:00
陈睿
ad219e3e07 [nodejs] publish package on npm 2018-08-30 18:20:49 +08:00
MaleDong
b9e9fcfd80 [Feature] Add 'memorySearch' and 'memorySearchSync' for Nodejs
1) Add features.
2) Add unit tests.
3) Add benchmark.
2018-07-31 16:12:56 +08:00
MaleDong
35fc3cbf23 Refactor of codes in node.js
1) Add async method: `binarySearch` and `btreeSearch`.
2) Refactor of tests by putting them into `tests` folder.
3) Create several new tests in details.
4) Remove useless and reformat codes to be clear.
5) Remove useless snapshots, because they can be recreated when you run `npm run test`.
2018-07-29 20:02:14 +08:00
dongyado
202f86eba7 add new author and email for nodejs binding client 2018-07-03 15:17:47 +08:00
leeching
b705253664 feat: add destroy method for backward compatibility 2018-07-03 10:07:25 +08:00
leeching
7a020f52aa feat(nodejs): add create static method 2018-07-03 09:48:41 +08:00
leeching
c7104902e3 refactor(nodejs): write nodejs script in javascript way 2018-07-03 09:48:41 +08:00
lionsoul
dfca3494ad Merge pull request #48 from leeching/fix/nodejs-var
remove unnecessary var
2018-06-26 17:34:03 +08:00
leeching
12dd913be4 test(nodejs): update snapshot 2018-06-26 17:10:56 +08:00
leeching
dbcb33f608 remove unnecessary var 2018-06-26 16:26:00 +08:00
Chunlin Li
d8fcf0a31e fix: ReferenceError: m is not defined 2018-05-16 19:01:17 +08:00
lionsoul
5f3bddec08 Bug fixed: Adjust the super header length to 8192 for all client implementation 2017-10-21 12:47:24 +08:00
Ya Zhuang
6d878babb4 chore: test in jest 2017-04-14 12:47:55 +08:00
dongyado
09797dfb5b nodejs client ready 2016-07-31 20:46:44 +08:00
dongyado
3246dc2df2 update search method name for nodejs client 2016-07-16 15:42:45 +08:00
dongyado
3fd756300e nodejs btree search ready for test 2016-07-07 10:48:22 +08:00
dongyado
a2e3bdb13e update btree search 2016-07-07 09:21:38 +08:00
dongyado
63cd3fa085 nodejs client finish binary search 2016-07-07 00:08:45 +08:00
dongyado
401e5bc795 nodejs client forward 2016-07-06 11:27:58 +08:00
dongyado
0dd1a53d00 getLong finished for nodejs client 2016-07-06 09:28:53 +08:00
dongyado
0fb5af9067 update nodejs client 2016-07-06 00:29:19 +08:00
dongyado
2e31e924b5 update ip2region.js 2016-06-28 09:31:23 +08:00
dongyado
0e498e27f8 nodejs client init 2016-06-22 20:00:23 +08:00