@symbo.ls/create 2.11.389 → 2.11.394

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/cjs/index.js CHANGED
@@ -73,9 +73,12 @@ const createSync = async (App, options = import_options.default, optionsExternal
73
73
  redefinedOptions.on.create(domqlApp, redefinedOptions);
74
74
  return domqlApp;
75
75
  };
76
- const createSkeleton = (App, options = import_options.default, optionsExternalFile) => {
76
+ const createSkeleton = (App = {}, options = import_options.default, optionsExternalFile) => {
77
77
  return create(
78
- App,
78
+ {
79
+ deps: { isUndefined: import_utils.isUndefined },
80
+ ...App
81
+ },
79
82
  (0, import_utils.deepMerge)({ domqlOptions: { onlyResolveExtends: true } }, options),
80
83
  optionsExternalFile
81
84
  );
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.389",
3
+ "version": "2.11.394",
4
4
  "license": "MIT",
5
- "gitHead": "e260280a4a50ca08fd7df53104a884086dc3da88",
5
+ "gitHead": "96fc31e44dd43084955c647e91b5d0e70d56aee8",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict'
2
2
 
3
- import { deepMerge, isObject } from '@domql/utils'
3
+ import { deepMerge, isObject, isUndefined } from '@domql/utils'
4
4
 
5
5
  import * as utils from './utilImports'
6
6
 
@@ -54,9 +54,12 @@ export const createSync = async (App, options = DEFAULT_CREATE_OPTIONS, optionsE
54
54
  return domqlApp
55
55
  }
56
56
 
57
- export const createSkeleton = (App, options = DEFAULT_CREATE_OPTIONS, optionsExternalFile) => {
57
+ export const createSkeleton = (App = {}, options = DEFAULT_CREATE_OPTIONS, optionsExternalFile) => {
58
58
  return create(
59
- App,
59
+ {
60
+ deps: { isUndefined },
61
+ ...App
62
+ },
60
63
  deepMerge({ domqlOptions: { onlyResolveExtends: true } }, options),
61
64
  optionsExternalFile
62
65
  )