useblocks 1.1.85-dev.3 → 1.1.85-dev.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/README.md +20 -0
- package/iframe/.vite/manifest.json +4 -4
- package/iframe/js/{discussHandlers.BxlCsZ-4.js → discussHandlers.Cyqpdj2X.js} +2 -2
- package/iframe/js/iframe-eblock.body.js +1 -1
- package/iframe/js/iframe-eblock.js +1 -1
- package/iframe/js/iframe.body.js +2 -2
- package/iframe/js/iframe.js +1 -1
- package/node_modules/useblocks-ui-kit/package.json +1 -1
- package/package.json +2 -2
- package/runtime/react/index.js +1 -1
- package/static/umd-runtime/runtime.js +1 -1
- package/{useblocks-core.168aeeb1.js → useblocks-core.fc97f6e8.js} +1 -1
- package/useblocks-esm.js +9 -9
- package/{useblocks-po.168aeeb1.js → useblocks-po.fc97f6e8.js} +1 -1
- package/useblocks.js +10 -10
- package/vite/index.cjs +1 -2
- package/vite/index.js +1 -2
- /package/iframe/{iframe-eblock.168aeeb1.html → iframe-eblock.fc97f6e8.html} +0 -0
- /package/iframe/{iframe.168aeeb1.html → iframe.fc97f6e8.html} +0 -0
package/vite/index.cjs
CHANGED
|
@@ -1246,8 +1246,7 @@ var ViteBuildPlugin = (options) => {
|
|
|
1246
1246
|
},
|
|
1247
1247
|
resolveId(source, importer) {
|
|
1248
1248
|
if (!options.sharedReact || !importer || !resolvedConfig || !isSharedReactSpecifier(source)) return null;
|
|
1249
|
-
|
|
1250
|
-
if (!normalizePath(importer).startsWith(`${normalizePath(packageRoot)}/`)) return null;
|
|
1249
|
+
if (!isInsidePackage(importer, resolvePublishedPackageRoot(BUNDLER_DEFAULT_PACKAGE_NAME, options.modulesPath || DEFAULT_MODULES_PATH, resolvedConfig.root))) return null;
|
|
1251
1250
|
return resolveHostReactModule(resolvedConfig.root, source) ?? null;
|
|
1252
1251
|
},
|
|
1253
1252
|
transform(code, id) {
|
package/vite/index.js
CHANGED
|
@@ -1217,8 +1217,7 @@ var ViteBuildPlugin = (options) => {
|
|
|
1217
1217
|
},
|
|
1218
1218
|
resolveId(source, importer) {
|
|
1219
1219
|
if (!options.sharedReact || !importer || !resolvedConfig || !isSharedReactSpecifier(source)) return null;
|
|
1220
|
-
|
|
1221
|
-
if (!normalizePath(importer).startsWith(`${normalizePath(packageRoot)}/`)) return null;
|
|
1220
|
+
if (!isInsidePackage(importer, resolvePublishedPackageRoot(BUNDLER_DEFAULT_PACKAGE_NAME, options.modulesPath || DEFAULT_MODULES_PATH, resolvedConfig.root))) return null;
|
|
1222
1221
|
return resolveHostReactModule(resolvedConfig.root, source) ?? null;
|
|
1223
1222
|
},
|
|
1224
1223
|
transform(code, id) {
|
|
File without changes
|
|
File without changes
|