Skip to content

Commit

Permalink
59a45ab revert: #6522 & #6526 (#6583)
Browse files Browse the repository at this point in the history
  • Loading branch information
gioboa committed Jun 20, 2024
1 parent 792e555 commit a66f394
Show file tree
Hide file tree
Showing 24 changed files with 51 additions and 51 deletions.
Binary file modified bindings/qwik.win32-x64-msvc.node
Binary file not shown.
2 changes: 1 addition & 1 deletion build/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik/build",
"version": "1.5.7-dev20240620132229",
"version": "1.5.7-dev20240620165226",
"main": "index.mjs",
"types": "index.d.ts",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions cli.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* @builder.io/qwik/cli 1.5.7-dev20240620132229
* @builder.io/qwik/cli 1.5.7-dev20240620165226
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
Expand Down Expand Up @@ -4889,7 +4889,7 @@ async function printHelp(app) {
await runCommand2(Object.assign(app, { task: args[0], args }));
}
function printVersion() {
console.log("1.5.7-dev20240620132229");
console.log("1.5.7-dev20240620165226");
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
Expand Down
4 changes: 2 additions & 2 deletions core.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* @builder.io/qwik 1.5.7-dev20240620132229
* @builder.io/qwik 1.5.7-dev20240620165226
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
Expand Down Expand Up @@ -1560,7 +1560,7 @@
*
* @public
*/
const version = "1.5.7-dev20240620132229";
const version = "1.5.7-dev20240620165226";

const hashCode = (text, hash = 0) => {
for (let i = 0; i < text.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3836,7 +3836,7 @@ export declare type ValueOrPromise<T> = T | Promise<T>;
export declare const _verifySerializable: <T>(value: T, preMessage?: string) => T;

/**
* 1.5.7-dev20240620132229
* 1.5.7-dev20240620165226
*
* @public
*/
Expand Down
2 changes: 1 addition & 1 deletion core.min.mjs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions core.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* @builder.io/qwik 1.5.7-dev20240620132229
* @builder.io/qwik 1.5.7-dev20240620165226
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
Expand Down Expand Up @@ -1556,7 +1556,7 @@ const dangerouslySetInnerHTML = 'dangerouslySetInnerHTML';
*
* @public
*/
const version = "1.5.7-dev20240620132229";
const version = "1.5.7-dev20240620165226";

const hashCode = (text, hash = 0) => {
for (let i = 0; i < text.length; i++) {
Expand Down
4 changes: 2 additions & 2 deletions core.prod.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* @builder.io/qwik 1.5.7-dev20240620132229
* @builder.io/qwik 1.5.7-dev20240620165226
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
Expand Down Expand Up @@ -540,7 +540,7 @@
}
const shouldWrapFunctional = (res, node) => !!node.key && (!isJSXNode(res) || !isFunction(res.type) && res.key != node.key);
const dangerouslySetInnerHTML = "dangerouslySetInnerHTML";
const version = "1.5.7-dev20240620132229";
const version = "1.5.7-dev20240620165226";
const hashCode = (text, hash = 0) => {
for (let i = 0; i < text.length; i++) {
hash = (hash << 5) - hash + text.charCodeAt(i), hash |= 0;
Expand Down
4 changes: 2 additions & 2 deletions core.prod.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* @builder.io/qwik 1.5.7-dev20240620132229
* @builder.io/qwik 1.5.7-dev20240620165226
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
Expand Down Expand Up @@ -829,7 +829,7 @@ const static_subtree = 2;

const dangerouslySetInnerHTML = "dangerouslySetInnerHTML";

const version = "1.5.7-dev20240620132229";
const version = "1.5.7-dev20240620165226";

const hashCode = (text, hash = 0) => {
for (let i = 0; i < text.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik/core",
"version": "1.5.7-dev20240620132229",
"version": "1.5.7-dev20240620165226",
"main": "../core.mjs",
"module": "../core.mjs",
"types": "../core.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion jsx-dev-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik/jsx-dev-runtime",
"version": "1.5.7-dev20240620132229",
"version": "1.5.7-dev20240620165226",
"main": "../core.mjs",
"module": "../core.mjs",
"types": "../jsx-runtime.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion jsx-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik/jsx-runtime",
"version": "1.5.7-dev20240620132229",
"version": "1.5.7-dev20240620165226",
"main": "../core.mjs",
"module": "../core.mjs",
"types": "../jsx-runtime.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion loader/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik/loader",
"version": "1.5.7-dev20240620132229",
"version": "1.5.7-dev20240620165226",
"main": "index.mjs",
"types": "index.d.ts",
"private": true,
Expand Down
40 changes: 20 additions & 20 deletions optimizer.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* @builder.io/qwik/optimizer 1.5.7-dev20240620132229
* @builder.io/qwik/optimizer 1.5.7-dev20240620165226
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
Expand Down Expand Up @@ -1256,7 +1256,7 @@ globalThis.qwikOptimizer = function(module) {
}
};
var versions = {
qwik: "1.5.7-dev20240620132229"
qwik: "1.5.7-dev20240620165226"
};
async function getSystem() {
const sysEnv = getEnv();
Expand Down Expand Up @@ -3225,7 +3225,7 @@ globalThis.qwikOptimizer = function(module) {
enforce: "pre",
api: api,
async config(viteConfig, viteEnv) {
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
await qwikPlugin.init();
const sys = qwikPlugin.getSys();
const path = qwikPlugin.getPath();
Expand Down Expand Up @@ -3257,22 +3257,22 @@ globalThis.qwikOptimizer = function(module) {
resolveQwikBuild: true,
transformedModuleOutput: qwikViteOpts.transformedModuleOutput,
vendorRoots: [ ...qwikViteOpts.vendorRoots ?? [], ...vendorRoots.map((v => v.path)) ],
outDir: (null == (_b = viteConfig.build) ? void 0 : _b.assetsDir) ? path.join((null == (_c = viteConfig.build) ? void 0 : _c.outDir) || CLIENT_OUT_DIR, null == (_d = viteConfig.build) ? void 0 : _d.assetsDir) : null == (_e = viteConfig.build) ? void 0 : _e.outDir,
outDir: null == (_b = viteConfig.build) ? void 0 : _b.outDir,
devTools: qwikViteOpts.devTools,
sourcemap: !!(null == (_f = viteConfig.build) ? void 0 : _f.sourcemap),
sourcemap: !!(null == (_c = viteConfig.build) ? void 0 : _c.sourcemap),
lint: qwikViteOpts.lint
};
if (!qwikViteOpts.csr) {
if ("ssr" === target) {
"string" === typeof (null == (_g = viteConfig.build) ? void 0 : _g.ssr) ? pluginOpts.input = viteConfig.build.ssr : "string" === typeof (null == (_h = qwikViteOpts.ssr) ? void 0 : _h.input) && (pluginOpts.input = qwikViteOpts.ssr.input);
(null == (_i = qwikViteOpts.ssr) ? void 0 : _i.outDir) && (pluginOpts.outDir = qwikViteOpts.ssr.outDir);
pluginOpts.manifestInput = null == (_j = qwikViteOpts.ssr) ? void 0 : _j.manifestInput;
"string" === typeof (null == (_d = viteConfig.build) ? void 0 : _d.ssr) ? pluginOpts.input = viteConfig.build.ssr : "string" === typeof (null == (_e = qwikViteOpts.ssr) ? void 0 : _e.input) && (pluginOpts.input = qwikViteOpts.ssr.input);
(null == (_f = qwikViteOpts.ssr) ? void 0 : _f.outDir) && (pluginOpts.outDir = qwikViteOpts.ssr.outDir);
pluginOpts.manifestInput = null == (_g = qwikViteOpts.ssr) ? void 0 : _g.manifestInput;
} else if ("client" === target) {
pluginOpts.input = null == (_k = qwikViteOpts.client) ? void 0 : _k.input;
(null == (_l = qwikViteOpts.client) ? void 0 : _l.outDir) && (pluginOpts.outDir = qwikViteOpts.client.outDir);
pluginOpts.manifestOutput = null == (_m = qwikViteOpts.client) ? void 0 : _m.manifestOutput;
pluginOpts.input = null == (_h = qwikViteOpts.client) ? void 0 : _h.input;
(null == (_i = qwikViteOpts.client) ? void 0 : _i.outDir) && (pluginOpts.outDir = qwikViteOpts.client.outDir);
pluginOpts.manifestOutput = null == (_j = qwikViteOpts.client) ? void 0 : _j.manifestOutput;
} else {
"object" === typeof (null == (_n = viteConfig.build) ? void 0 : _n.lib) && (pluginOpts.input = null == (_o = viteConfig.build) ? void 0 : _o.lib.entry);
"object" === typeof (null == (_k = viteConfig.build) ? void 0 : _k.lib) && (pluginOpts.input = null == (_l = viteConfig.build) ? void 0 : _l.lib.entry);
}
if ("node" === sys.env) {
const fs = await sys.dynamicImport("node:fs");
Expand Down Expand Up @@ -3303,10 +3303,10 @@ globalThis.qwikOptimizer = function(module) {
srcDir = opts.srcDir;
rootDir = opts.rootDir;
if (!qwikViteOpts.csr) {
clientOutDir = qwikPlugin.normalizePath(sys.path.resolve(opts.rootDir, (null == (_p = qwikViteOpts.client) ? void 0 : _p.outDir) || CLIENT_OUT_DIR));
clientOutDir = qwikPlugin.normalizePath(sys.path.resolve(opts.rootDir, (null == (_m = qwikViteOpts.client) ? void 0 : _m.outDir) || CLIENT_OUT_DIR));
clientPublicOutDir = viteConfig.base ? path.join(clientOutDir, viteConfig.base) : clientOutDir;
ssrOutDir = qwikPlugin.normalizePath(sys.path.resolve(opts.rootDir, (null == (_q = qwikViteOpts.ssr) ? void 0 : _q.outDir) || SSR_OUT_DIR));
clientDevInput = "string" === typeof (null == (_r = qwikViteOpts.client) ? void 0 : _r.devInput) ? path.resolve(opts.rootDir, qwikViteOpts.client.devInput) : opts.srcDir ? path.resolve(opts.srcDir, CLIENT_DEV_INPUT) : path.resolve(opts.rootDir, "src", CLIENT_DEV_INPUT);
ssrOutDir = qwikPlugin.normalizePath(sys.path.resolve(opts.rootDir, (null == (_n = qwikViteOpts.ssr) ? void 0 : _n.outDir) || SSR_OUT_DIR));
clientDevInput = "string" === typeof (null == (_o = qwikViteOpts.client) ? void 0 : _o.devInput) ? path.resolve(opts.rootDir, qwikViteOpts.client.devInput) : opts.srcDir ? path.resolve(opts.srcDir, CLIENT_DEV_INPUT) : path.resolve(opts.rootDir, "src", CLIENT_DEV_INPUT);
clientDevInput = qwikPlugin.normalizePath(clientDevInput);
}
const vendorIds = vendorRoots.map((v => v.id));
Expand All @@ -3315,9 +3315,9 @@ globalThis.qwikOptimizer = function(module) {
const qTestKey = "globalThis.qTest";
const qInspectorKey = "globalThis.qInspector";
const qSerializeKey = "globalThis.qSerialize";
const qDev = (null == (_s = null == viteConfig ? void 0 : viteConfig.define) ? void 0 : _s[qDevKey]) ?? isDevelopment;
const qInspector = (null == (_t = null == viteConfig ? void 0 : viteConfig.define) ? void 0 : _t[qInspectorKey]) ?? isDevelopment;
const qSerialize = (null == (_u = null == viteConfig ? void 0 : viteConfig.define) ? void 0 : _u[qSerializeKey]) ?? isDevelopment;
const qDev = (null == (_p = null == viteConfig ? void 0 : viteConfig.define) ? void 0 : _p[qDevKey]) ?? isDevelopment;
const qInspector = (null == (_q = null == viteConfig ? void 0 : viteConfig.define) ? void 0 : _q[qInspectorKey]) ?? isDevelopment;
const qSerialize = (null == (_r = null == viteConfig ? void 0 : viteConfig.define) ? void 0 : _r[qSerializeKey]) ?? isDevelopment;
const updatedViteConfig = {
ssr: {
noExternal: [ QWIK_CORE_ID, QWIK_CORE_SERVER, QWIK_BUILD_ID, ...vendorIds ]
Expand Down Expand Up @@ -3353,7 +3353,7 @@ globalThis.qwikOptimizer = function(module) {
updatedViteConfig.build.outDir = buildOutputDir;
updatedViteConfig.build.rollupOptions = {
input: opts.input,
output: normalizeRollupOutputOptions(path, opts, null == (_w = null == (_v = viteConfig.build) ? void 0 : _v.rollupOptions) ? void 0 : _w.output).map((outputOptsObj => {
output: normalizeRollupOutputOptions(path, opts, null == (_t = null == (_s = viteConfig.build) ? void 0 : _s.rollupOptions) ? void 0 : _t.output).map((outputOptsObj => {
outputOptsObj.dir = buildOutputDir;
return outputOptsObj;
})),
Expand All @@ -3369,7 +3369,7 @@ globalThis.qwikOptimizer = function(module) {
if ("build" === viteCommand) {
updatedViteConfig.publicDir = false;
updatedViteConfig.build.ssr = true;
null == (null == (_x = viteConfig.build) ? void 0 : _x.minify) && "production" === buildMode && (updatedViteConfig.build.minify = "esbuild");
null == (null == (_u = viteConfig.build) ? void 0 : _u.minify) && "production" === buildMode && (updatedViteConfig.build.minify = "esbuild");
}
} else {
"client" === opts.target ? isClientDevOnly && !opts.csr && (updatedViteConfig.build.rollupOptions.input = clientDevInput) : "lib" === opts.target ? updatedViteConfig.build.minify = false : updatedViteConfig.define = {
Expand Down
6 changes: 3 additions & 3 deletions optimizer.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* @builder.io/qwik/optimizer 1.5.7-dev20240620132229
* @builder.io/qwik/optimizer 1.5.7-dev20240620165226
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
Expand Down Expand Up @@ -1282,7 +1282,7 @@ var QWIK_BINDING_MAP = {
};

var versions = {
qwik: "1.5.7-dev20240620132229"
qwik: "1.5.7-dev20240620165226"
};

async function getSystem() {
Expand Down Expand Up @@ -3381,7 +3381,7 @@ function qwikVite(qwikViteOpts = {}) {
resolveQwikBuild: true,
transformedModuleOutput: qwikViteOpts.transformedModuleOutput,
vendorRoots: [ ...qwikViteOpts.vendorRoots ?? [], ...vendorRoots.map((v => v.path)) ],
outDir: viteConfig.build?.assetsDir ? path.join(viteConfig.build?.outDir || CLIENT_OUT_DIR, viteConfig.build?.assetsDir) : viteConfig.build?.outDir,
outDir: viteConfig.build?.outDir,
devTools: qwikViteOpts.devTools,
sourcemap: !!viteConfig.build?.sourcemap,
lint: qwikViteOpts.lint
Expand Down
2 changes: 1 addition & 1 deletion optimizer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik/optimizer",
"version": "1.5.7-dev20240620132229",
"version": "1.5.7-dev20240620165226",
"main": "../optimizer.mjs",
"module": "../optimizer.mjs",
"types": "../optimizer.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik",
"version": "1.5.7-dev20240620132229",
"version": "1.5.7-dev20240620165226",
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
"license": "MIT",
"main": "./core.mjs",
Expand Down
2 changes: 1 addition & 1 deletion prefetch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik/prefetch",
"version": "1.5.7-dev20240620132229",
"version": "1.5.7-dev20240620165226",
"main": "index.mjs",
"types": "index.d.ts",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions server.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* @builder.io/qwik/server 1.5.7-dev20240620132229
* @builder.io/qwik/server 1.5.7-dev20240620165226
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
Expand Down Expand Up @@ -159,7 +159,7 @@ function getBuildBase(opts) {
return `${import_meta.env.BASE_URL}build/`;
}
var versions = {
qwik: "1.5.7-dev20240620132229",
qwik: "1.5.7-dev20240620165226",
qwikDom: "2.1.19"
};

Expand Down
4 changes: 2 additions & 2 deletions server.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* @builder.io/qwik/server 1.5.7-dev20240620132229
* @builder.io/qwik/server 1.5.7-dev20240620165226
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
Expand Down Expand Up @@ -114,7 +114,7 @@ function getBuildBase(opts) {
return `${import.meta.env.BASE_URL}build/`;
}
var versions = {
qwik: "1.5.7-dev20240620132229",
qwik: "1.5.7-dev20240620165226",
qwikDom: "2.1.19"
};

Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik/server",
"version": "1.5.7-dev20240620132229",
"version": "1.5.7-dev20240620165226",
"main": "../server.mjs",
"module": "../server.mjs",
"types": "../server.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion testing/index.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* @builder.io/qwik/testing 1.5.7-dev20240620132229
* @builder.io/qwik/testing 1.5.7-dev20240620165226
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
Expand Down
2 changes: 1 addition & 1 deletion testing/index.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @license
* @builder.io/qwik/testing 1.5.7-dev20240620132229
* @builder.io/qwik/testing 1.5.7-dev20240620165226
* Copyright Builder.io, Inc. All Rights Reserved.
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/QwikDev/qwik/blob/main/LICENSE
Expand Down
2 changes: 1 addition & 1 deletion testing/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@builder.io/qwik/testing",
"version": "1.5.7-dev20240620132229",
"version": "1.5.7-dev20240620165226",
"main": "index.mjs",
"types": "index.d.ts",
"private": true,
Expand Down

0 comments on commit a66f394

Please sign in to comment.