@toa.io/bridges.node 1.0.0-alpha.6 → 1.0.0-alpha.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/bridges.node",
3
- "version": "1.0.0-alpha.6",
3
+ "version": "1.0.0-alpha.7",
4
4
  "description": "Toa Node Bridge (inproc)",
5
5
  "homepage": "https://toa.io",
6
6
  "author": {
@@ -26,14 +26,14 @@
26
26
  "test": "echo \"Error: run tests from root\" && exit 1"
27
27
  },
28
28
  "dependencies": {
29
- "@toa.io/core": "1.0.0-alpha.6",
30
- "@toa.io/filesystem": "1.0.0-alpha.6",
31
- "@toa.io/generic": "1.0.0-alpha.6",
29
+ "@toa.io/core": "1.0.0-alpha.7",
30
+ "@toa.io/filesystem": "1.0.0-alpha.7",
31
+ "@toa.io/generic": "1.0.0-alpha.7",
32
32
  "fast-glob": "3.2.7",
33
33
  "matchacho": "0.3.5"
34
34
  },
35
35
  "devDependencies": {
36
36
  "clone-deep": "4.0.1"
37
37
  },
38
- "gitHead": "f28d629a9477646e267a8af8479cc1bb10d62c80"
38
+ "gitHead": "4f5ac0bc342d4b7bd469fbe5c74266f050b55c9f"
39
39
  }
package/src/index.js CHANGED
@@ -1,8 +1,6 @@
1
1
  'use strict'
2
2
 
3
3
  const { Factory } = require('./factory')
4
- const { version } = require('./version')
5
4
 
6
5
  exports.define = require('./define')
7
6
  exports.Factory = Factory
8
- exports.version = version
package/src/version.js DELETED
@@ -1,15 +0,0 @@
1
- 'use strict'
2
-
3
- const { join } = require('node:path')
4
-
5
- exports.version = function(manifest) {
6
- const pkgPath = join(manifest.path, 'package.json')
7
-
8
- try {
9
- const pkg = require(pkgPath)
10
-
11
- return pkg.version
12
- } catch {
13
- return undefined
14
- }
15
- }