Skip to content

Commit 7c07bdd

Browse files
committed
license: Change from MIT to GPL v3 (copyleft)
- Replace MIT license with GNU General Public License v3.0 - Requires derivative works to also be open source under GPL v3 - Ensures Phantom.js usage promotes open source ecosystem - Update README.md with license information and copyleft notice - Update package.json license field to GPL-3.0
1 parent 65f770a commit 7c07bdd

3 files changed

Lines changed: 21 additions & 19 deletions

File tree

LICENSE

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
1-
MIT License
1+
GNU GENERAL PUBLIC LICENSE
2+
Version 3, 29 June 2007
23

3-
Copyright (c) 2025 OS366
4+
Copyright (C) 2025 OS366
45

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
6+
This program is free software: you can redistribute it and/or modify
7+
it under the terms of the GNU General Public License as published by
8+
the Free Software Foundation, either version 3 of the License, or
9+
(at your option) any later version.
1110

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
11+
This program is distributed in the hope that it will be useful,
12+
but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
GNU General Public License for more details.
1415

15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
16+
You should have received a copy of the GNU General Public License
17+
along with this program. If not, see <https://www.gnu.org/licenses/>.

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,4 +192,10 @@ See [Troubleshooting Wiki](https://github.com/OS366/phantom/wiki/Troubleshooting
192192

193193
## License
194194

195-
See LICENSE file for details.
195+
This project is licensed under the **GNU General Public License v3.0 (GPL-3.0)**.
196+
197+
**Important:** This is a copyleft license. If you use Phantom.js in your project, your project must also be licensed under GPL v3 and be open source.
198+
199+
See [LICENSE](LICENSE) file for full license text.
200+
201+
For more information about GPL v3, visit: https://www.gnu.org/licenses/gpl-3.0.html

scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"integration"
2020
],
2121
"author": "",
22-
"license": "SEE LICENSE IN LICENSE",
22+
"license": "GPL-3.0",
2323
"devDependencies": {
2424
"jest": "^29.7.0",
2525
"terser": "^5.44.1",

0 commit comments

Comments
 (0)