geoserver-node-client 1.4.8 → 1.5.1

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/README.md CHANGED
@@ -161,13 +161,10 @@ npm run release
161
161
 
162
162
  ## Who do I talk to?
163
163
 
164
+ You need professional support, maintenance or project-driven development around ***geoserver-node-client***? Please contact a service provider listed below:
165
+
164
166
  - meggsimum (Christian Mayer) - info __at## meggsimum ~~dot** de
165
167
 
166
168
  ## Credits
167
169
 
168
- This project was initiated by [meggsimum](https://meggsimum.de) within the [mFund](https://www.bmvi.de/EN/Topics/Digital-Matters/mFund/mFund.html) research project [SAUBER](https://sauber-projekt.de/) and is further developed in the mFund research project [KLIPS](http://www.klips-projekt.de/):
169
- <p><img src="https://sauber-projekt.de/wp-content/uploads/2018/12/SAG_SAUBER_Logo_Dez3_transparent-1-e1543843688935.png" alt="SAUBER Logo" width="200"/></p>.
170
- <p><img src="http://www.klips-projekt.de/wp-content/uploads/2021/02/SAG_KLIPS-Logo_Jan21.png" alt="KLIPS Logo" width="200"/></p>.
171
-
172
- <img src="https://sauber-projekt.de/wp-content/uploads/2018/12/mfund-logo-download-e1547545420815-300x77.jpg" alt="mFund Logo" width="300"/>
173
- <img src="https://sauber-projekt.de/wp-content/uploads/2019/06/BMVI_Fz_2017_Office_Farbe_de_Bundestag-400x402.png" alt="BMVI Logo" height="200"/>
170
+ This project was initiated by [meggsimum](https://meggsimum.de) within the [mFund](https://www.bmv.de/EN/Topics/Digital-Matters/mFund/mFund.html) research project **SAUBER** and was further developed in the mFund research project **KLIPS**.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geoserver-node-client",
3
- "version": "1.4.8",
3
+ "version": "1.5.1",
4
4
  "description": "Node.js client for GeoServer REST API",
5
5
  "type": "commonjs",
6
6
  "main": "geoserver-rest-client.js",
@@ -36,22 +36,23 @@
36
36
  "author": "C. Mayer, meggsimum (info_at*meggsimum?dot?de)",
37
37
  "license": "BSD-2-Clause",
38
38
  "dependencies": {
39
- "@babel/runtime": "^7.23.1",
39
+ "@babel/runtime": "^7.27.6",
40
40
  "node-fetch": "^3.3.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@babel/cli": "^7.23.0",
44
- "@babel/core": "^7.23.0",
45
- "@babel/plugin-transform-runtime": "^7.22.15",
44
+ "@babel/core": "^7.27.4",
45
+ "@babel/plugin-transform-runtime": "^7.27.4",
46
46
  "@babel/preset-env": "^7.22.20",
47
- "chai": "^5.0.3",
48
- "eslint": "^8.51.0",
49
- "eslint-config-standard": "^17.1.0",
50
- "eslint-plugin-import": "^2.28.1",
51
- "eslint-plugin-node": "^11.1.0",
52
- "eslint-plugin-promise": "^6.1.1",
47
+ "@eslint/compat": "^1.2.9",
48
+ "chai": "^6.0.1",
49
+ "eslint": "^9.29.0",
50
+ "eslint-config-prettier": "^10.1.5",
51
+ "eslint-plugin-prettier": "^5.5.1",
53
52
  "jsdoc": "^4.0.2",
54
- "mocha": "^11.0.1",
55
- "release-it": "^19.0.1"
53
+ "mocha": "^11.7.1",
54
+ "neostandard": "^0.12.1",
55
+ "prettier": "^3.6.1",
56
+ "release-it": "^19.0.3"
56
57
  }
57
58
  }
package/dist/src/about.js CHANGED
@@ -41,11 +41,11 @@ var AboutClient = exports["default"] = /*#__PURE__*/function () {
41
41
  value: (function () {
42
42
  var _getVersion = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
43
43
  var url, response, geoServerResponse;
44
- return _regenerator["default"].wrap(function _callee$(_context) {
44
+ return _regenerator["default"].wrap(function (_context) {
45
45
  while (1) switch (_context.prev = _context.next) {
46
46
  case 0:
47
47
  url = this.url + 'about/version.json';
48
- _context.next = 3;
48
+ _context.next = 1;
49
49
  return (0, _nodeFetch["default"])(url, {
50
50
  credentials: 'include',
51
51
  method: 'GET',
@@ -53,20 +53,20 @@ var AboutClient = exports["default"] = /*#__PURE__*/function () {
53
53
  Authorization: this.auth
54
54
  }
55
55
  });
56
- case 3:
56
+ case 1:
57
57
  response = _context.sent;
58
58
  if (response.ok) {
59
- _context.next = 9;
59
+ _context.next = 3;
60
60
  break;
61
61
  }
62
- _context.next = 7;
62
+ _context.next = 2;
63
63
  return (0, _geoserver.getGeoServerResponseText)(response);
64
- case 7:
64
+ case 2:
65
65
  geoServerResponse = _context.sent;
66
66
  throw new _geoserver.GeoServerResponseError(null, geoServerResponse);
67
- case 9:
67
+ case 3:
68
68
  return _context.abrupt("return", response.json());
69
- case 10:
69
+ case 4:
70
70
  case "end":
71
71
  return _context.stop();
72
72
  }
@@ -87,25 +87,25 @@ var AboutClient = exports["default"] = /*#__PURE__*/function () {
87
87
  key: "exists",
88
88
  value: (function () {
89
89
  var _exists = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2() {
90
- var versionInfo;
91
- return _regenerator["default"].wrap(function _callee2$(_context2) {
90
+ var versionInfo, _t;
91
+ return _regenerator["default"].wrap(function (_context2) {
92
92
  while (1) switch (_context2.prev = _context2.next) {
93
93
  case 0:
94
94
  _context2.prev = 0;
95
- _context2.next = 3;
95
+ _context2.next = 1;
96
96
  return this.getVersion();
97
- case 3:
97
+ case 1:
98
98
  versionInfo = _context2.sent;
99
99
  return _context2.abrupt("return", !!versionInfo);
100
- case 7:
101
- _context2.prev = 7;
102
- _context2.t0 = _context2["catch"](0);
100
+ case 2:
101
+ _context2.prev = 2;
102
+ _t = _context2["catch"](0);
103
103
  return _context2.abrupt("return", false);
104
- case 10:
104
+ case 3:
105
105
  case "end":
106
106
  return _context2.stop();
107
107
  }
108
- }, _callee2, this, [[0, 7]]);
108
+ }, _callee2, this, [[0, 2]]);
109
109
  }));
110
110
  function exists() {
111
111
  return _exists.apply(this, arguments);