@aeriajs/entrypoint 0.0.81 → 0.0.83

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/dist/index.js CHANGED
@@ -53,7 +53,7 @@ const getCollection = async (collectionName) => {
53
53
  if (collection) {
54
54
  collectionMemo[collectionName] = collection;
55
55
  }
56
- return collection;
56
+ return Object.assign({}, collection);
57
57
  };
58
58
  exports.getCollection = getCollection;
59
59
  const getRouter = async () => {
package/dist/index.mjs CHANGED
@@ -40,7 +40,7 @@ export const getCollection = async (collectionName) => {
40
40
  if (collection) {
41
41
  collectionMemo[collectionName] = collection;
42
42
  }
43
- return collection;
43
+ return Object.assign({}, collection);
44
44
  };
45
45
  export const getRouter = async () => {
46
46
  const entrypoint = await getEntrypoint();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/entrypoint",
3
- "version": "0.0.81",
3
+ "version": "0.0.83",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -26,11 +26,11 @@
26
26
  "@aeriajs/types": "link:../types"
27
27
  },
28
28
  "peerDependencies": {
29
- "@aeriajs/common": "^0.0.79",
30
- "@aeriajs/types": "^0.0.68"
29
+ "@aeriajs/common": "^0.0.81",
30
+ "@aeriajs/types": "^0.0.69"
31
31
  },
32
32
  "scripts": {
33
- "test": "echo skipping",
33
+ "test": "TS_NODE_COMPILER_OPTIONS=\"$(cat ../compilerOptions.json)\" mocha -r ts-node/register tests/*.spec.ts",
34
34
  "lint": "eslint src",
35
35
  "lint:fix": "eslint src --fix",
36
36
  "build": "pnpm build:cjs && pnpm build:esm",