@plasmicapp/nextjs-app-router 1.0.19 → 1.0.21
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/with-plasmic-prepass.cjs.js +27 -27
- package/package.json +5 -5
|
@@ -429,8 +429,8 @@ var require_escape = __commonJS({
|
|
|
429
429
|
}
|
|
430
430
|
function escapeArgument(arg, doubleEscapeMetaChars) {
|
|
431
431
|
arg = `${arg}`;
|
|
432
|
-
arg = arg.replace(/(
|
|
433
|
-
arg = arg.replace(/(
|
|
432
|
+
arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"');
|
|
433
|
+
arg = arg.replace(/(?=(\\+?)?)\1$/, "$1$1");
|
|
434
434
|
arg = `"${arg}"`;
|
|
435
435
|
arg = arg.replace(metaCharsRegExp, "^$1");
|
|
436
436
|
if (doubleEscapeMetaChars) {
|
|
@@ -576,7 +576,7 @@ var require_enoent = __commonJS({
|
|
|
576
576
|
const originalEmit = cp.emit;
|
|
577
577
|
cp.emit = function(name, arg1) {
|
|
578
578
|
if (name === "exit") {
|
|
579
|
-
const err = verifyENOENT(arg1, parsed
|
|
579
|
+
const err = verifyENOENT(arg1, parsed);
|
|
580
580
|
if (err) {
|
|
581
581
|
return originalEmit.call(cp, "error", err);
|
|
582
582
|
}
|
|
@@ -752,7 +752,7 @@ async function getPorts(options) {
|
|
|
752
752
|
// src/with-dev-server.mts
|
|
753
753
|
var import_process = __toESM(require("process"), 1);
|
|
754
754
|
|
|
755
|
-
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
755
|
+
// ../../node_modules/yargs/lib/platform-shims/esm.mjs
|
|
756
756
|
var import_assert = require("assert");
|
|
757
757
|
|
|
758
758
|
// ../../node_modules/cliui/build/lib/index.js
|
|
@@ -1062,7 +1062,7 @@ function sync_default(start, callback) {
|
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
1064
|
|
|
1065
|
-
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
1065
|
+
// ../../node_modules/yargs/lib/platform-shims/esm.mjs
|
|
1066
1066
|
var import_util3 = require("util");
|
|
1067
1067
|
var import_fs4 = require("fs");
|
|
1068
1068
|
var import_url = require("url");
|
|
@@ -2052,10 +2052,10 @@ yargsParser.decamelize = decamelize;
|
|
|
2052
2052
|
yargsParser.looksLikeNumber = looksLikeNumber;
|
|
2053
2053
|
var lib_default = yargsParser;
|
|
2054
2054
|
|
|
2055
|
-
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
2055
|
+
// ../../node_modules/yargs/lib/platform-shims/esm.mjs
|
|
2056
2056
|
var import_path4 = require("path");
|
|
2057
2057
|
|
|
2058
|
-
// node_modules/yargs/build/lib/utils/process-argv.js
|
|
2058
|
+
// ../../node_modules/yargs/build/lib/utils/process-argv.js
|
|
2059
2059
|
function getProcessArgvBinIndex() {
|
|
2060
2060
|
if (isBundledElectronApp())
|
|
2061
2061
|
return 0;
|
|
@@ -2074,7 +2074,7 @@ function getProcessArgvBin() {
|
|
|
2074
2074
|
return process.argv[getProcessArgvBinIndex()];
|
|
2075
2075
|
}
|
|
2076
2076
|
|
|
2077
|
-
// node_modules/yargs/build/lib/yerror.js
|
|
2077
|
+
// ../../node_modules/yargs/build/lib/yerror.js
|
|
2078
2078
|
var YError = class extends Error {
|
|
2079
2079
|
constructor(msg) {
|
|
2080
2080
|
super(msg || "yargs error");
|
|
@@ -2272,7 +2272,7 @@ var y18n2 = (opts) => {
|
|
|
2272
2272
|
};
|
|
2273
2273
|
var y18n_default = y18n2;
|
|
2274
2274
|
|
|
2275
|
-
// node_modules/yargs/lib/platform-shims/esm.mjs
|
|
2275
|
+
// ../../node_modules/yargs/lib/platform-shims/esm.mjs
|
|
2276
2276
|
var import_meta = {};
|
|
2277
2277
|
var REQUIRE_ERROR = "require is not supported by ESM";
|
|
2278
2278
|
var REQUIRE_DIRECTORY_ERROR = "loading a directory of commands is not supported yet for ESM";
|
|
@@ -2332,7 +2332,7 @@ var esm_default = {
|
|
|
2332
2332
|
})
|
|
2333
2333
|
};
|
|
2334
2334
|
|
|
2335
|
-
// node_modules/yargs/build/lib/typings/common-types.js
|
|
2335
|
+
// ../../node_modules/yargs/build/lib/typings/common-types.js
|
|
2336
2336
|
function assertNotStrictEqual(actual, expected, shim3, message) {
|
|
2337
2337
|
shim3.assert.notStrictEqual(actual, expected, message);
|
|
2338
2338
|
}
|
|
@@ -2343,12 +2343,12 @@ function objectKeys(object) {
|
|
|
2343
2343
|
return Object.keys(object);
|
|
2344
2344
|
}
|
|
2345
2345
|
|
|
2346
|
-
// node_modules/yargs/build/lib/utils/is-promise.js
|
|
2346
|
+
// ../../node_modules/yargs/build/lib/utils/is-promise.js
|
|
2347
2347
|
function isPromise(maybePromise) {
|
|
2348
2348
|
return !!maybePromise && !!maybePromise.then && typeof maybePromise.then === "function";
|
|
2349
2349
|
}
|
|
2350
2350
|
|
|
2351
|
-
// node_modules/yargs/build/lib/parse-command.js
|
|
2351
|
+
// ../../node_modules/yargs/build/lib/parse-command.js
|
|
2352
2352
|
function parseCommand(cmd) {
|
|
2353
2353
|
const extraSpacesStrippedCommand = cmd.replace(/\s{2,}/g, " ");
|
|
2354
2354
|
const splitCommand = extraSpacesStrippedCommand.split(/\s+(?![^[]*]|[^<]*>)/);
|
|
@@ -2381,7 +2381,7 @@ function parseCommand(cmd) {
|
|
|
2381
2381
|
return parsedCommand;
|
|
2382
2382
|
}
|
|
2383
2383
|
|
|
2384
|
-
// node_modules/yargs/build/lib/argsert.js
|
|
2384
|
+
// ../../node_modules/yargs/build/lib/argsert.js
|
|
2385
2385
|
var positionName = ["first", "second", "third", "fourth", "fifth", "sixth"];
|
|
2386
2386
|
function argsert(arg1, arg2, arg3) {
|
|
2387
2387
|
function parseArgs() {
|
|
@@ -2439,7 +2439,7 @@ function argumentTypeError(observedType, allowedTypes, position) {
|
|
|
2439
2439
|
throw new YError(`Invalid ${positionName[position] || "manyith"} argument. Expected ${allowedTypes.join(" or ")} but received ${observedType}.`);
|
|
2440
2440
|
}
|
|
2441
2441
|
|
|
2442
|
-
// node_modules/yargs/build/lib/middleware.js
|
|
2442
|
+
// ../../node_modules/yargs/build/lib/middleware.js
|
|
2443
2443
|
var GlobalMiddleware = class {
|
|
2444
2444
|
constructor(yargs) {
|
|
2445
2445
|
this.globalMiddleware = [];
|
|
@@ -2521,7 +2521,7 @@ function applyMiddleware(argv, yargs, middlewares, beforeValidation) {
|
|
|
2521
2521
|
}, argv);
|
|
2522
2522
|
}
|
|
2523
2523
|
|
|
2524
|
-
// node_modules/yargs/build/lib/utils/maybe-async-result.js
|
|
2524
|
+
// ../../node_modules/yargs/build/lib/utils/maybe-async-result.js
|
|
2525
2525
|
function maybeAsyncResult(getResult, resultHandler, errorHandler = (err) => {
|
|
2526
2526
|
throw err;
|
|
2527
2527
|
}) {
|
|
@@ -2536,7 +2536,7 @@ function isFunction(arg) {
|
|
|
2536
2536
|
return typeof arg === "function";
|
|
2537
2537
|
}
|
|
2538
2538
|
|
|
2539
|
-
// node_modules/yargs/build/lib/utils/which-module.js
|
|
2539
|
+
// ../../node_modules/yargs/build/lib/utils/which-module.js
|
|
2540
2540
|
function whichModule(exported) {
|
|
2541
2541
|
if (typeof require === "undefined")
|
|
2542
2542
|
return null;
|
|
@@ -2548,7 +2548,7 @@ function whichModule(exported) {
|
|
|
2548
2548
|
return null;
|
|
2549
2549
|
}
|
|
2550
2550
|
|
|
2551
|
-
// node_modules/yargs/build/lib/command.js
|
|
2551
|
+
// ../../node_modules/yargs/build/lib/command.js
|
|
2552
2552
|
var DEFAULT_MARKER = /(^\*)|(^\$0)/;
|
|
2553
2553
|
var CommandInstance = class {
|
|
2554
2554
|
constructor(usage2, validation2, globalMiddleware, shim3) {
|
|
@@ -2940,7 +2940,7 @@ function isCommandHandlerDefinition(cmd) {
|
|
|
2940
2940
|
return typeof cmd === "object" && !Array.isArray(cmd);
|
|
2941
2941
|
}
|
|
2942
2942
|
|
|
2943
|
-
// node_modules/yargs/build/lib/utils/obj-filter.js
|
|
2943
|
+
// ../../node_modules/yargs/build/lib/utils/obj-filter.js
|
|
2944
2944
|
function objFilter(original = {}, filter = () => true) {
|
|
2945
2945
|
const obj = {};
|
|
2946
2946
|
objectKeys(original).forEach((key) => {
|
|
@@ -2951,7 +2951,7 @@ function objFilter(original = {}, filter = () => true) {
|
|
|
2951
2951
|
return obj;
|
|
2952
2952
|
}
|
|
2953
2953
|
|
|
2954
|
-
// node_modules/yargs/build/lib/utils/set-blocking.js
|
|
2954
|
+
// ../../node_modules/yargs/build/lib/utils/set-blocking.js
|
|
2955
2955
|
function setBlocking(blocking) {
|
|
2956
2956
|
if (typeof process === "undefined")
|
|
2957
2957
|
return;
|
|
@@ -2963,7 +2963,7 @@ function setBlocking(blocking) {
|
|
|
2963
2963
|
});
|
|
2964
2964
|
}
|
|
2965
2965
|
|
|
2966
|
-
// node_modules/yargs/build/lib/usage.js
|
|
2966
|
+
// ../../node_modules/yargs/build/lib/usage.js
|
|
2967
2967
|
function isBoolean(fail) {
|
|
2968
2968
|
return typeof fail === "boolean";
|
|
2969
2969
|
}
|
|
@@ -3489,7 +3489,7 @@ function getText(text) {
|
|
|
3489
3489
|
return isIndentedText(text) ? text.text : text;
|
|
3490
3490
|
}
|
|
3491
3491
|
|
|
3492
|
-
// node_modules/yargs/build/lib/completion-templates.js
|
|
3492
|
+
// ../../node_modules/yargs/build/lib/completion-templates.js
|
|
3493
3493
|
var completionShTemplate = `###-begin-{{app_name}}-completions-###
|
|
3494
3494
|
#
|
|
3495
3495
|
# yargs command completion script
|
|
@@ -3540,7 +3540,7 @@ compdef _{{app_name}}_yargs_completions {{app_name}}
|
|
|
3540
3540
|
###-end-{{app_name}}-completions-###
|
|
3541
3541
|
`;
|
|
3542
3542
|
|
|
3543
|
-
// node_modules/yargs/build/lib/completion.js
|
|
3543
|
+
// ../../node_modules/yargs/build/lib/completion.js
|
|
3544
3544
|
var Completion = class {
|
|
3545
3545
|
constructor(yargs, usage2, command2, shim3) {
|
|
3546
3546
|
var _a2, _b2, _c2;
|
|
@@ -3753,7 +3753,7 @@ function isFallbackCompletionFunction(completionFunction) {
|
|
|
3753
3753
|
return completionFunction.length > 3;
|
|
3754
3754
|
}
|
|
3755
3755
|
|
|
3756
|
-
// node_modules/yargs/build/lib/utils/levenshtein.js
|
|
3756
|
+
// ../../node_modules/yargs/build/lib/utils/levenshtein.js
|
|
3757
3757
|
function levenshtein(a, b) {
|
|
3758
3758
|
if (a.length === 0)
|
|
3759
3759
|
return b.length;
|
|
@@ -3784,7 +3784,7 @@ function levenshtein(a, b) {
|
|
|
3784
3784
|
return matrix[b.length][a.length];
|
|
3785
3785
|
}
|
|
3786
3786
|
|
|
3787
|
-
// node_modules/yargs/build/lib/validation.js
|
|
3787
|
+
// ../../node_modules/yargs/build/lib/validation.js
|
|
3788
3788
|
var specialKeys = ["$0", "--", "_"];
|
|
3789
3789
|
function validation(yargs, usage2, shim3) {
|
|
3790
3790
|
const __ = shim3.y18n.__;
|
|
@@ -4053,7 +4053,7 @@ ${customMsgs.join("\n")}` : "";
|
|
|
4053
4053
|
return self;
|
|
4054
4054
|
}
|
|
4055
4055
|
|
|
4056
|
-
// node_modules/yargs/build/lib/utils/apply-extends.js
|
|
4056
|
+
// ../../node_modules/yargs/build/lib/utils/apply-extends.js
|
|
4057
4057
|
var previouslyVisitedConfigs = [];
|
|
4058
4058
|
var shim2;
|
|
4059
4059
|
function applyExtends(config, cwd, mergeExtends, _shim) {
|
|
@@ -4106,7 +4106,7 @@ function mergeDeep(config1, config2) {
|
|
|
4106
4106
|
return target;
|
|
4107
4107
|
}
|
|
4108
4108
|
|
|
4109
|
-
// node_modules/yargs/build/lib/yargs-factory.js
|
|
4109
|
+
// ../../node_modules/yargs/build/lib/yargs-factory.js
|
|
4110
4110
|
var __classPrivateFieldSet = function(receiver, state, value, kind, f) {
|
|
4111
4111
|
if (kind === "m")
|
|
4112
4112
|
throw new TypeError("Private method is not writable");
|
|
@@ -5605,7 +5605,7 @@ function isYargsInstance(y) {
|
|
|
5605
5605
|
return !!y && typeof y.getInternalMethods === "function";
|
|
5606
5606
|
}
|
|
5607
5607
|
|
|
5608
|
-
// node_modules/yargs/index.mjs
|
|
5608
|
+
// ../../node_modules/yargs/index.mjs
|
|
5609
5609
|
var Yargs = YargsFactory(esm_default);
|
|
5610
5610
|
var yargs_default = Yargs;
|
|
5611
5611
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/nextjs-app-router",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.21",
|
|
4
4
|
"types": "./dist/index.d.ts",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"prepare": "if-env PREPARE_NO_BUILD=true || yarn build"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@plasmicapp/prepass": "1.0.
|
|
29
|
-
"@plasmicapp/query": "0.1.
|
|
28
|
+
"@plasmicapp/prepass": "1.0.23",
|
|
29
|
+
"@plasmicapp/query": "0.1.83",
|
|
30
30
|
"cross-port-killer": "1.4.0",
|
|
31
31
|
"cross-spawn": "^7.0.3",
|
|
32
32
|
"get-port": "^7.0.0",
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/cross-spawn": "^6.0.6",
|
|
70
70
|
"@types/node": "^20.8.9",
|
|
71
|
-
"@types/react": "^18
|
|
71
|
+
"@types/react": "^18",
|
|
72
72
|
"@types/yargs": "^17.0.32",
|
|
73
73
|
"next": "^13.5.11",
|
|
74
74
|
"react": "^18.2.0",
|
|
75
75
|
"typescript": "^5.2.2"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "fa74df4b34ddcda455a67582f64d2a2e35ec9c12"
|
|
78
78
|
}
|