From 16b842fd69f655e05aa844287547918d3a008407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Umut=20G=C3=BCden?= <74313913+umutguden@users.noreply.github.com> Date: Fri, 14 Aug 2026 22:36:25 +0300 Subject: [PATCH 1/2] Name the copyright holder correctly in LICENSE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HMD Corp is not a registered entity and cannot hold copyright; the holder is Umut Güden personally. --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 2e3e9fa..da3db02 100644 --- a/LICENSE +++ b/LICENSE @@ -175,7 +175,7 @@ END OF TERMS AND CONDITIONS - Copyright 2026 Umut Güden on behalf of HMD Corp + Copyright 2026 Umut Güden Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From d1add6fab5944221eb9e66386a7af685eb2f9455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Umut=20G=C3=BCden?= <74313913+umutguden@users.noreply.github.com> Date: Fri, 14 Aug 2026 22:37:21 +0300 Subject: [PATCH 2/2] Align licence references with the Apache 2.0 LICENSE The LICENSE file has been Apache 2.0 since 8a6e549, but the badge, README, package.json, the OpenAPI spec, and two source headers still declared MIT. Consumers reading any of those would have been given the wrong terms. --- README.md | 4 ++-- api/index.js | 2 +- openapi.yaml | 4 ++-- package.json | 2 +- test/api.test.js | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 68f7d2f..20a2460 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # IP API -[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) +[![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Deploy with Vercel](https://img.shields.io/badge/Vercel-Deployed-black?logo=vercel)](https://ip.hmddevs.org) [![Node.js](https://img.shields.io/badge/Node.js-18+-339933?logo=node.js&logoColor=white)](https://nodejs.org/) @@ -243,7 +243,7 @@ Found a vulnerability? See [SECURITY.md](SECURITY.md). ## Licence -[MIT](LICENSE) +[Apache 2.0](LICENSE) ## Acknowledgements diff --git a/api/index.js b/api/index.js index 31ec18c..cae05af 100644 --- a/api/index.js +++ b/api/index.js @@ -2,7 +2,7 @@ * IP API - A lightning-fast, privacy-focused IP geolocation API * * @author HMD Developments, Inc. - * @license MIT + * @license Apache-2.0 * @see https://github.com/hmddevs/ip-api * @version 1.0.0 */ diff --git a/openapi.yaml b/openapi.yaml index 8fb68b2..260298d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -16,8 +16,8 @@ info: url: https://hmddevs.org email: contact@hmddevs.org license: - name: MIT - url: https://opensource.org/licenses/MIT + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html x-logo: url: https://hmddevs.org/logo.png altText: HMD Developments Logo diff --git a/package.json b/package.json index f117e2a..2733266 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "privacy" ], "author": "HMD Developments, Inc. (https://hmddevs.org)", - "license": "MIT", + "license": "Apache-2.0", "homepage": "https://ip.hmddevs.org", "repository": { "type": "git", diff --git a/test/api.test.js b/test/api.test.js index da83b55..1e02db6 100644 --- a/test/api.test.js +++ b/test/api.test.js @@ -2,7 +2,7 @@ * IP API - Unit Tests * * @author HMD Developments, Inc. - * @license MIT + * @license Apache-2.0 */ const { describe, it, beforeEach } = require('node:test');