show-a-license 1.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +1 -1
- package/package.json +5 -5
package/lib/index.js
CHANGED
|
@@ -104,7 +104,7 @@ function doRequest(url) {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
function getLicense(license, fn) {
|
|
107
|
-
sameTime([doRequest("/licenses/" + license + ".txt"), doRequest("/explanations/" + license + ".txt")], function (err, data) {
|
|
107
|
+
sameTime([doRequest("https://ionicabizau.github.io/show-a-license/licenses/" + license + ".txt"), doRequest("https://ionicabizau.github.io/show-a-license/explanations/" + license + ".txt")], function (err, data) {
|
|
108
108
|
if (err) {
|
|
109
109
|
return fn(err);
|
|
110
110
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "show-a-license",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "A site to provide an easy way to show licenses and their human-readable explanations.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -102,18 +102,18 @@
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"dependencies": {
|
|
105
|
-
"barbe": "^
|
|
105
|
+
"barbe": "^3.0.16",
|
|
106
106
|
"elm-select": "^1.3.0",
|
|
107
|
-
"err": "^1.
|
|
107
|
+
"err": "^2.1.12",
|
|
108
108
|
"same-time": "^2.2.0",
|
|
109
|
-
"whatwg-fetch": "^
|
|
109
|
+
"whatwg-fetch": "^3.6.2",
|
|
110
110
|
"year-range": "^1.1.0"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
113
|
"abs": "^1.1.0",
|
|
114
114
|
"statique": "^3.1.0",
|
|
115
115
|
"w-json": "^1.2.0",
|
|
116
|
-
"watchify": "^
|
|
116
|
+
"watchify": "^4.0.0"
|
|
117
117
|
},
|
|
118
118
|
"repository": {
|
|
119
119
|
"type": "git",
|