From 8c7c83cf7f3d49178c5171febd0725dc8bc82784 Mon Sep 17 00:00:00 2001 From: lion Date: Wed, 15 Oct 2025 11:36:17 +0800 Subject: [PATCH] deprecated the old nodejs and typescript binding --- binding/nodejs/.eslintrc.js | 17 ----------------- binding/nodejs/.mocharc.json | 5 ----- binding/nodejs/.nycrc.json | 5 ----- binding/nodejs/ReadMe.md | 2 +- binding/typescript/.gitattributes | 1 - binding/typescript/.gitignore | 4 ---- binding/typescript/README.md | 3 --- binding/typescript/ReadMe.md | 3 +++ 8 files changed, 4 insertions(+), 36 deletions(-) delete mode 100644 binding/nodejs/.eslintrc.js delete mode 100644 binding/nodejs/.mocharc.json delete mode 100644 binding/nodejs/.nycrc.json delete mode 100644 binding/typescript/.gitattributes delete mode 100644 binding/typescript/.gitignore delete mode 100644 binding/typescript/README.md create mode 100644 binding/typescript/ReadMe.md diff --git a/binding/nodejs/.eslintrc.js b/binding/nodejs/.eslintrc.js deleted file mode 100644 index 11a8bcc..0000000 --- a/binding/nodejs/.eslintrc.js +++ /dev/null @@ -1,17 +0,0 @@ -module.exports = { - env: { - browser: true, - commonjs: true, - es2021: true - }, - parserOptions: { - ecmaVersion: 'latest' - }, - extends: [ - 'standard' - ], - globals: { - describe: true, - it: true - } -} diff --git a/binding/nodejs/.mocharc.json b/binding/nodejs/.mocharc.json deleted file mode 100644 index bf668ea..0000000 --- a/binding/nodejs/.mocharc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "reporter": "spec", - "timeout": 60000, - "exit": true -} \ No newline at end of file diff --git a/binding/nodejs/.nycrc.json b/binding/nodejs/.nycrc.json deleted file mode 100644 index 8fb5c3d..0000000 --- a/binding/nodejs/.nycrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "all": true, - "report-dir": "./coverage/", - "reporter": ["text", "html"] -} \ No newline at end of file diff --git a/binding/nodejs/ReadMe.md b/binding/nodejs/ReadMe.md index c0999cc..5a4d0cd 100644 --- a/binding/nodejs/ReadMe.md +++ b/binding/nodejs/ReadMe.md @@ -1,3 +1,3 @@ # ip2region nodejs 查询客户端实现 -请使用最新的 javascript binding:[javascript binding](../javascript/) +请使用最新的 IPv6 兼容的 javascript binding:[javascript binding](../javascript/) diff --git a/binding/typescript/.gitattributes b/binding/typescript/.gitattributes deleted file mode 100644 index fcadb2c..0000000 --- a/binding/typescript/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* text eol=lf diff --git a/binding/typescript/.gitignore b/binding/typescript/.gitignore deleted file mode 100644 index 4c9d7c3..0000000 --- a/binding/typescript/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -*.log -.DS_Store -node_modules -dist diff --git a/binding/typescript/README.md b/binding/typescript/README.md deleted file mode 100644 index df2ec97..0000000 --- a/binding/typescript/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# typescript xdb 查询客户端 - -请使用最新的 javascript binding:[javascript binding](../javascript/) diff --git a/binding/typescript/ReadMe.md b/binding/typescript/ReadMe.md new file mode 100644 index 0000000..33e0376 --- /dev/null +++ b/binding/typescript/ReadMe.md @@ -0,0 +1,3 @@ +# typescript xdb 查询客户端 + +请使用最新的 IPv6 兼容的 javascript binding:[javascript binding](../javascript/)