superconf 1.5.0 → 1.5.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/Legacy.js +6 -0
- package/package.json +4 -1
package/Legacy.js
CHANGED
|
@@ -49,6 +49,12 @@ class Superconf {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
tryFiles (name) {
|
|
52
|
+
try {
|
|
53
|
+
throw new Error('superconf.tryFiles() is deprecated. Use .load() instead')
|
|
54
|
+
} catch (err) {
|
|
55
|
+
console.error(err.stack)
|
|
56
|
+
}
|
|
57
|
+
|
|
52
58
|
if (!name) {
|
|
53
59
|
throw new Error('Name arg must be set!')
|
|
54
60
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "superconf",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"description": "Smart configuration loader",
|
|
5
5
|
"main": "app.js",
|
|
6
6
|
"scripts": {
|
|
@@ -38,5 +38,8 @@
|
|
|
38
38
|
"url": "https://github.com/Andifeind/superconf/issues"
|
|
39
39
|
},
|
|
40
40
|
"homepage": "https://github.com/Andifeind/superconf#readme",
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"registry": "https://registry.npmjs.com/"
|
|
43
|
+
},
|
|
41
44
|
"firescript": "0.21.2"
|
|
42
45
|
}
|