Skip to content

Commit b3f53aa

Browse files
committed
refactor: change license to apache 2.0
1 parent 8984fa5 commit b3f53aa

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Apache License
1+
Apache License
22
Version 2.0, January 2004
33
http://www.apache.org/licenses/
44

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
[![issues](https://img.shields.io/github/issues/taozhi8833998/node-sql-parser.svg)](https://github.com/taozhi8833998/node-sql-parser/issues)
1515

1616
[![TypeScript definitions on DefinitelyTyped](http://definitelytyped.org/badges/standard.svg)](http://definitelytyped.org)
17-
[![license](https://img.shields.io/badge/license-GPLv2-blue.svg)](https://github.com/taozhi8833998/node-sql-parser/blob/master/LICENSE)
17+
[![license](https://img.shields.io/npm/l/node-sql-parser)](https://github.com/taozhi8833998/node-sql-parser/blob/master/LICENSE)
1818

1919
**Parse simple SQL statements into an abstract syntax tree (AST) with the visited tableList, columnList and convert it back to SQL.**
2020

@@ -232,11 +232,11 @@ parser.whiteListCheck(sql, whiteColumnList, opt) // if check failed, an error wo
232232

233233
## :kissing_heart: Acknowledgement
234234

235-
This project is based on the SQL parser extracted from [flora-sql-parser](https://github.com/godmodelabs/flora-sql-parser) module.
235+
This project is inspired by the SQL parser [flora-sql-parser](https://github.com/godmodelabs/flora-sql-parser) module.
236236

237237
## License
238238

239-
[GPLv2](LICENSE)
239+
[Apache-2.0](LICENSE)
240240

241241
## Buy me a Coffee
242242

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"README.md",
4646
"types.d.ts"
4747
],
48-
"license": "GPLv2",
48+
"license": "Apache-2.0",
4949
"bugs": {
5050
"url": "https://github.com/taozhi8833998/node-sql-parser/issues"
5151
},

0 commit comments

Comments
 (0)