Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update edge runtime to 1.1.0-beta.40 #41513

Merged
merged 3 commits into from Oct 18, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -57,7 +57,7 @@
"@babel/plugin-proposal-object-rest-spread": "7.14.7",
"@babel/preset-flow": "7.14.5",
"@babel/preset-react": "7.14.5",
"@edge-runtime/jest-environment": "1.1.0-beta.35",
"@edge-runtime/jest-environment": "1.1.0-beta.36",
"@fullhuman/postcss-purgecss": "1.3.0",
"@mdx-js/loader": "0.18.0",
"@next/bundle-analyzer": "workspace:*",
Expand Down
14 changes: 11 additions & 3 deletions packages/next/compiled/@edge-runtime/primitives/console.js
Expand Up @@ -121,8 +121,11 @@ var require_dist = __commonJS({
return typeof value === type;
}
__name(kind, "kind");
var getConstructorName = /* @__PURE__ */ __name((object) => object.constructor.name, "getConstructorName");
var getPrefix = /* @__PURE__ */ __name((constructor, size = "") => `${constructor}${size} `, "getPrefix");
var getConstructorName = /* @__PURE__ */ __name((object) => {
var _a;
return (_a = object.constructor) == null ? void 0 : _a.name;
}, "getConstructorName");
var getPrefix = /* @__PURE__ */ __name((constructor = "", size = "") => `${constructor}${size} `, "getPrefix");
function createFormat2(opts = {}) {
if (opts.customInspectSymbol === void 0) {
opts.customInspectSymbol = Symbol.for("edge-runtime.inspect.custom");
Expand Down Expand Up @@ -275,7 +278,11 @@ var require_dist = __commonJS({
if (noIterator) {
keys = getKeys(value, ctx.showHidden);
braces = ["{", "}"];
if (constructor === "Object") {
if (constructor === void 0) {
if (keys.length === 0) {
return `[Object: null prototype] {}`;
}
} else if (constructor === "Object") {
if (keys.length === 0) {
return `{}`;
}
Expand Down Expand Up @@ -572,6 +579,7 @@ var log = /* @__PURE__ */ __name((...args) => bareLog(format(...args)), "log");
var konsole = {
assert: (assertion, ...args) => assert(assertion, format(...args)),
count: console.count.bind(console),
debug: log,
dir: console.dir.bind(console),
error,
info: log,
Expand Down
@@ -1 +1 @@
{"name":"@edge-runtime/primitives","version":"1.1.0-beta.36","main":"./index.js","license":"MPLv2"}
{"name":"@edge-runtime/primitives","version":"1.1.0-beta.37","main":"./index.js","license":"MPLv2"}
2 changes: 1 addition & 1 deletion packages/next/compiled/edge-runtime/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/next/package.json
Expand Up @@ -121,7 +121,7 @@
"@babel/runtime": "7.15.4",
"@babel/traverse": "7.18.0",
"@babel/types": "7.18.0",
"@edge-runtime/primitives": "1.1.0-beta.36",
"@edge-runtime/primitives": "1.1.0-beta.37",
"@hapi/accept": "5.0.2",
"@napi-rs/cli": "2.12.0",
"@napi-rs/triples": "1.1.0",
Expand Down Expand Up @@ -204,7 +204,7 @@
"debug": "4.1.1",
"devalue": "2.0.1",
"domain-browser": "4.19.0",
"edge-runtime": "1.1.0-beta.39",
"edge-runtime": "1.1.0-beta.40",
"events": "3.3.0",
"find-cache-dir": "3.3.1",
"find-up": "4.1.0",
Expand Down
34 changes: 17 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.