@steedos/service-package-loader 2.1.15 → 2.1.19

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -136,7 +136,7 @@ module.exports = {
136
136
  if(isPackage !== false){
137
137
  try {
138
138
 
139
- const _packageInfo = require(path.join(_path, 'package.json'));
139
+ const _packageInfo = objectql.loadJSONFile(path.join(_path, 'package.json'));
140
140
  await this.broker.call(`@steedos/service-packages.online`, {serviceInfo: {name: this.name, nodeID: this.broker.nodeID, instanceID: this.broker.instanceID, path: _path, version: _packageInfo.version, description: _packageInfo.description}})
141
141
  } catch (error) {
142
142
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steedos/service-package-loader",
3
- "version": "2.1.15",
3
+ "version": "2.1.19",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -11,8 +11,8 @@
11
11
  "author": "",
12
12
  "license": "MIT",
13
13
  "dependencies": {
14
- "@steedos/core": "2.1.15",
15
- "@steedos/objectql": "2.1.15",
14
+ "@steedos/core": "2.1.19",
15
+ "@steedos/objectql": "2.1.19",
16
16
  "clone": "^2.1.2",
17
17
  "globby": "^11.0.2",
18
18
  "moleculer": "^0.14.12",
@@ -32,5 +32,5 @@
32
32
  "publishConfig": {
33
33
  "access": "public"
34
34
  },
35
- "gitHead": "f48873b9c54838425dee6987fe907053f345503f"
35
+ "gitHead": "b9bf150307dc3a89395fb30f4314f2320ebc96fc"
36
36
  }