@symbo.ls/create 2.10.253 → 2.10.259
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/ferchOnCreate.js +1 -2
- package/options.js +1 -1
- package/package.json +2 -2
- package/router.js +1 -1
- package/syncExtend.js +1 -1
package/ferchOnCreate.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
import { fetchProject, fetchStateAsync } from
|
|
3
|
+
import { fetchProject, fetchStateAsync } from '@symbo.ls/fetch'
|
|
4
4
|
|
|
5
5
|
export const fetchSync = async (key, options) => {
|
|
6
6
|
if (key && options.editor) {
|
|
@@ -22,4 +22,3 @@ export const fetchAsync = (app, key, options, callback) => {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
|
package/options.js
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbo.ls/create",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.259",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"gitHead": "
|
|
5
|
+
"gitHead": "c454826279438617c85a5f8d8e7b3a6938d94dea",
|
|
6
6
|
"source": "index.js",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"dependencies": {
|
package/router.js
CHANGED
|
@@ -17,7 +17,7 @@ export const initRouter = (root, options) => {
|
|
|
17
17
|
if (routerOptions === false) return
|
|
18
18
|
if (routerOptions === true) routerOptions = DEFAULT_ROUTING_OPTIONS
|
|
19
19
|
|
|
20
|
-
const router = options.snippets && options.snippets.router || defaultRouter
|
|
20
|
+
const router = options.snippets && (options.snippets.router || defaultRouter)
|
|
21
21
|
|
|
22
22
|
const onRender = (el, s) => {
|
|
23
23
|
const { pathname, hash } = window.location
|
package/syncExtend.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
3
|
import { Sync, DevFocus, inspectOnKey } from '@symbo.ls/socket-ui'
|
|
4
|
-
import { isDevelopment, isProduction, isTest } from '@domql/env'
|
|
4
|
+
import { isDevelopment, isProduction, isTest } from '@domql/env' // eslint-disable-line no-unused-vars
|
|
5
5
|
import { isUndefined } from '@domql/utils'
|
|
6
6
|
|
|
7
7
|
export const applySyncDebug = (extend, options) => {
|