@coderich/autograph 0.11.2 → 0.11.4

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@coderich/autograph",
3
3
  "author": "Richard Livolsi (coderich)",
4
- "version": "0.11.2",
4
+ "version": "0.11.4",
5
5
  "description": "AutoGraph",
6
6
  "keywords": [
7
7
  "graphql",
@@ -19,7 +19,7 @@
19
19
  "index.js"
20
20
  ],
21
21
  "engines": {
22
- "node": ">=14.17.0"
22
+ "node": ">=16.20.0"
23
23
  },
24
24
  "scripts": {
25
25
  "start": "APP_ROOT_PATH=$(pwd) node ./test/server",
@@ -46,7 +46,7 @@
46
46
  "@coderich/ratchet": "^1.5.8",
47
47
  "@graphql-tools/schema": "^9.0.1",
48
48
  "graphql": "^15.5.0",
49
- "mongodb-memory-server": "^8.7.2",
49
+ "mongodb-memory-server": "8.13.0",
50
50
  "validator": "^13.7.0"
51
51
  },
52
52
  "peerDependencies": {
@@ -71,7 +71,7 @@ module.exports = class Schema extends TypeDefApi {
71
71
  */
72
72
  mergeSchemaFromFiles(globPattern, options) {
73
73
  return Glob(globPattern, options).then((files) => {
74
- return Promise.all(files.map((file) => {
74
+ return Promise.all(files.sort().map((file) => {
75
75
  return new Promise((res) => {
76
76
  if (file.endsWith('.js')) res(require(file)); // eslint-disable-line global-require,import/no-dynamic-require
77
77
  else res(FS.readFileSync(file, 'utf8'));