From bd8cf3a4b7bd4183e6894da6d2c498e5d7c62f41 Mon Sep 17 00:00:00 2001 From: Jimmy Lai Date: Wed, 22 Feb 2023 16:15:07 +0100 Subject: [PATCH] v13.1.7-canary.26 --- lerna.json | 2 +- packages/create-next-app/package.json | 2 +- packages/eslint-config-next/package.json | 4 ++-- packages/eslint-plugin-next/package.json | 2 +- packages/font/package.json | 2 +- packages/next-bundle-analyzer/package.json | 2 +- packages/next-codemod/package.json | 2 +- packages/next-env/package.json | 2 +- packages/next-mdx/package.json | 2 +- packages/next-plugin-storybook/package.json | 2 +- packages/next-polyfill-module/package.json | 2 +- packages/next-polyfill-nomodule/package.json | 2 +- packages/next-swc/package.json | 2 +- packages/next/package.json | 18 +++++++++--------- packages/next/src/compiled/scheduler/index.js | 12 +++++++----- packages/react-dev-overlay/package.json | 2 +- packages/react-refresh-utils/package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- 18 files changed, 39 insertions(+), 37 deletions(-) diff --git a/lerna.json b/lerna.json index 02a6cbe1e0e9b..8e6787656a4ff 100644 --- a/lerna.json +++ b/lerna.json @@ -16,5 +16,5 @@ "registry": "https://registry.npmjs.org/" } }, - "version": "13.1.7-canary.25" + "version": "13.1.7-canary.26" } diff --git a/packages/create-next-app/package.json b/packages/create-next-app/package.json index 7f532eb3bef35..a859ce4a48240 100644 --- a/packages/create-next-app/package.json +++ b/packages/create-next-app/package.json @@ -1,6 +1,6 @@ { "name": "create-next-app", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "keywords": [ "react", "next", diff --git a/packages/eslint-config-next/package.json b/packages/eslint-config-next/package.json index d4c62c9e4e318..e106fe0d3a126 100644 --- a/packages/eslint-config-next/package.json +++ b/packages/eslint-config-next/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-next", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "description": "ESLint configuration used by NextJS.", "main": "index.js", "license": "MIT", @@ -12,7 +12,7 @@ "test-pack": "cd ../../ && pnpm test-pack eslint-config-next" }, "dependencies": { - "@next/eslint-plugin-next": "13.1.7-canary.25", + "@next/eslint-plugin-next": "13.1.7-canary.26", "@rushstack/eslint-patch": "^1.1.3", "@typescript-eslint/parser": "^5.42.0", "eslint-import-resolver-node": "^0.3.6", diff --git a/packages/eslint-plugin-next/package.json b/packages/eslint-plugin-next/package.json index 3b063316a5229..ec4a8a13b4f28 100644 --- a/packages/eslint-plugin-next/package.json +++ b/packages/eslint-plugin-next/package.json @@ -1,6 +1,6 @@ { "name": "@next/eslint-plugin-next", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "description": "ESLint plugin for NextJS.", "main": "dist/index.js", "license": "MIT", diff --git a/packages/font/package.json b/packages/font/package.json index 5a9f37dfb90e2..c2dec2662b6c1 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -1,6 +1,6 @@ { "name": "@next/font", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "repository": { "url": "vercel/next.js", "directory": "packages/font" diff --git a/packages/next-bundle-analyzer/package.json b/packages/next-bundle-analyzer/package.json index 09bd3e226eaa2..7d08d3863da85 100644 --- a/packages/next-bundle-analyzer/package.json +++ b/packages/next-bundle-analyzer/package.json @@ -1,6 +1,6 @@ { "name": "@next/bundle-analyzer", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "main": "index.js", "types": "index.d.ts", "license": "MIT", diff --git a/packages/next-codemod/package.json b/packages/next-codemod/package.json index 992e4f74caaa4..df3c31f9a1fe0 100644 --- a/packages/next-codemod/package.json +++ b/packages/next-codemod/package.json @@ -1,6 +1,6 @@ { "name": "@next/codemod", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "license": "MIT", "dependencies": { "chalk": "4.1.0", diff --git a/packages/next-env/package.json b/packages/next-env/package.json index dd38653d910ed..9daa890dfeadf 100644 --- a/packages/next-env/package.json +++ b/packages/next-env/package.json @@ -1,6 +1,6 @@ { "name": "@next/env", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "keywords": [ "react", "next", diff --git a/packages/next-mdx/package.json b/packages/next-mdx/package.json index fc50648398f31..691e1739d04be 100644 --- a/packages/next-mdx/package.json +++ b/packages/next-mdx/package.json @@ -1,6 +1,6 @@ { "name": "@next/mdx", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "main": "index.js", "license": "MIT", "repository": { diff --git a/packages/next-plugin-storybook/package.json b/packages/next-plugin-storybook/package.json index 03e22f92004ef..5fb12195f0df3 100644 --- a/packages/next-plugin-storybook/package.json +++ b/packages/next-plugin-storybook/package.json @@ -1,6 +1,6 @@ { "name": "@next/plugin-storybook", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "repository": { "url": "vercel/next.js", "directory": "packages/next-plugin-storybook" diff --git a/packages/next-polyfill-module/package.json b/packages/next-polyfill-module/package.json index c3fb30c452a8c..15da12ceead5a 100644 --- a/packages/next-polyfill-module/package.json +++ b/packages/next-polyfill-module/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-module", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "description": "A standard library polyfill for ES Modules supporting browsers (Edge 16+, Firefox 60+, Chrome 61+, Safari 10.1+)", "main": "dist/polyfill-module.js", "license": "MIT", diff --git a/packages/next-polyfill-nomodule/package.json b/packages/next-polyfill-nomodule/package.json index 0949ed55a114e..4e2e26441d310 100644 --- a/packages/next-polyfill-nomodule/package.json +++ b/packages/next-polyfill-nomodule/package.json @@ -1,6 +1,6 @@ { "name": "@next/polyfill-nomodule", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "description": "A polyfill for non-dead, nomodule browsers.", "main": "dist/polyfill-nomodule.js", "license": "MIT", diff --git a/packages/next-swc/package.json b/packages/next-swc/package.json index a242eb9d8d7b0..36e2cc0c9fffc 100644 --- a/packages/next-swc/package.json +++ b/packages/next-swc/package.json @@ -1,6 +1,6 @@ { "name": "@next/swc", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "private": true, "scripts": { "clean": "rm -rf ./native/*", diff --git a/packages/next/package.json b/packages/next/package.json index 892e4d8313456..30ab46f289e71 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -1,6 +1,6 @@ { "name": "next", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "description": "The React Framework", "main": "./dist/server/next.js", "license": "MIT", @@ -80,19 +80,19 @@ ] }, "dependencies": { - "@next/env": "13.1.7-canary.25", + "@next/env": "13.1.7-canary.26", "@swc/helpers": "0.4.14", "caniuse-lite": "^1.0.30001406", "postcss": "8.4.14", "styled-jsx": "5.1.1" }, "peerDependencies": { + "@opentelemetry/api": "^1.4.0", "fibers": ">= 3.1.0", "node-sass": "^6.0.0 || ^7.0.0", "react": "^18.2.0", "react-dom": "^18.2.0", - "sass": "^1.3.0", - "@opentelemetry/api": "^1.4.0" + "sass": "^1.3.0" }, "peerDependenciesMeta": { "node-sass": { @@ -135,12 +135,12 @@ "@hapi/accept": "5.0.2", "@napi-rs/cli": "2.14.7", "@napi-rs/triples": "1.1.0", + "@next/polyfill-module": "13.1.7-canary.26", + "@next/polyfill-nomodule": "13.1.7-canary.26", + "@next/react-dev-overlay": "13.1.7-canary.26", + "@next/react-refresh-utils": "13.1.7-canary.26", + "@next/swc": "13.1.7-canary.26", "@opentelemetry/api": "1.4.0", - "@next/polyfill-module": "13.1.7-canary.25", - "@next/polyfill-nomodule": "13.1.7-canary.25", - "@next/react-dev-overlay": "13.1.7-canary.25", - "@next/react-refresh-utils": "13.1.7-canary.25", - "@next/swc": "13.1.7-canary.25", "@segment/ajv-human-errors": "2.1.2", "@taskr/clear": "1.1.0", "@taskr/esnext": "1.1.0", diff --git a/packages/next/src/compiled/scheduler/index.js b/packages/next/src/compiled/scheduler/index.js index a721662af8ac5..4a19e5cd50a5e 100644 --- a/packages/next/src/compiled/scheduler/index.js +++ b/packages/next/src/compiled/scheduler/index.js @@ -1,5 +1,6 @@ -(()=>{"use strict";var e={853:(e,n)=>{ -/** @license React v0.20.2 +(()=>{"use strict";var e={221:(e,n)=>{ +/** + * @license React * scheduler.development.js * * Copyright (c) Facebook, Inc. and its affiliates. @@ -7,8 +8,9 @@ * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -if(process.env.NODE_ENV!=="production"){(function(){"use strict";var e=false;var r=false;var t;var a;var l;var o;var i=typeof performance==="object"&&typeof performance.now==="function";if(i){var u=performance;n.unstable_now=function(){return u.now()}}else{var s=Date;var c=s.now();n.unstable_now=function(){return s.now()-c}}if(typeof window==="undefined"||typeof MessageChannel!=="function"){var f=null;var p=null;var _flushCallback=function(){if(f!==null){try{var e=n.unstable_now();var r=true;f(r,e);f=null}catch(e){setTimeout(_flushCallback,0);throw e}}};t=function(e){if(f!==null){setTimeout(t,0,e)}else{f=e;setTimeout(_flushCallback,0)}};a=function(e,n){p=setTimeout(e,n)};l=function(){clearTimeout(p)};n.unstable_shouldYield=function(){return false};o=n.unstable_forceFrameRate=function(){}}else{var v=window.setTimeout;var b=window.clearTimeout;if(typeof console!=="undefined"){var d=window.requestAnimationFrame;var _=window.cancelAnimationFrame;if(typeof d!=="function"){console["error"]("This browser doesn't support requestAnimationFrame. "+"Make sure that you load a "+"polyfill in older browsers. https://reactjs.org/link/react-polyfills")}if(typeof _!=="function"){console["error"]("This browser doesn't support cancelAnimationFrame. "+"Make sure that you load a "+"polyfill in older browsers. https://reactjs.org/link/react-polyfills")}}var m=false;var k=null;var y=-1;var h=5;var x=0;{n.unstable_shouldYield=function(){return n.unstable_now()>=x};o=function(){}}n.unstable_forceFrameRate=function(e){if(e<0||e>125){console["error"]("forceFrameRate takes a positive int between 0 and 125, "+"forcing frame rates higher than 125 fps is not supported");return}if(e>0){h=Math.floor(1e3/e)}else{h=5}};var performWorkUntilDeadline=function(){if(k!==null){var e=n.unstable_now();x=e+h;var r=true;try{var t=k(r,e);if(!t){m=false;k=null}else{C.postMessage(null)}}catch(e){C.postMessage(null);throw e}}else{m=false}};var g=new MessageChannel;var C=g.port2;g.port1.onmessage=performWorkUntilDeadline;t=function(e){k=e;if(!m){m=true;C.postMessage(null)}};a=function(e,r){y=v((function(){e(n.unstable_now())}),r)};l=function(){b(y);y=-1}}function push(e,n){var r=e.length;e.push(n);siftUp(e,n,r)}function peek(e){var n=e[0];return n===undefined?null:n}function pop(e){var n=e[0];if(n!==undefined){var r=e.pop();if(r!==n){e[0]=r;siftDown(e,r,0)}return n}else{return null}}function siftUp(e,n,r){var t=r;while(true){var a=t-1>>>1;var l=e[a];if(l!==undefined&&compare(l,n)>0){e[a]=n;e[t]=l;t=a}else{return}}}function siftDown(e,n,r){var t=r;var a=e.length;while(tl&&(!r||n.unstable_shouldYield())){break}var o=O.callback;if(typeof o==="function"){O.callback=null;Q=O.priorityLevel;var i=O.expirationTime<=l;var u=o(i);l=n.unstable_now();if(typeof u==="function"){O.callback=u}else{if(O===peek(R)){pop(R)}}advanceTimers(l)}else{pop(R)}O=peek(R)}if(O!==null){return true}else{var s=peek(Y);if(s!==null){a(handleTimeout,s.startTime-l)}return false}}function unstable_runWithPriority(e,n){switch(e){case P:case F:case M:case E:case L:break;default:e=M}var r=Q;Q=e;try{return n()}finally{Q=r}}function unstable_next(e){var n;switch(Q){case P:case F:case M:n=M;break;default:n=Q;break}var r=Q;Q=n;try{return e()}finally{Q=r}}function unstable_wrapCallback(e){var n=Q;return function(){var r=Q;Q=n;try{return e.apply(this,arguments)}finally{Q=r}}}function unstable_scheduleCallback(e,r,o){var i=n.unstable_now();var u;if(typeof o==="object"&&o!==null){var s=o.delay;if(typeof s==="number"&&s>0){u=i+s}else{u=i}}else{u=i}var c;switch(e){case P:c=N;break;case F:c=j;break;case L:c=D;break;case E:c=W;break;case M:default:c=A;break}var f=u+c;var p={id:B++,callback:r,priorityLevel:e,startTime:u,expirationTime:f,sortIndex:-1};if(u>i){p.sortIndex=u;push(Y,p);if(peek(R)===null&&p===peek(Y)){if(S){l()}else{S=true}a(handleTimeout,u-i)}}else{p.sortIndex=f;push(R,p);if(!G&&!z){G=true;t(flushWork)}}return p}function unstable_pauseExecution(){}function unstable_continueExecution(){if(!G&&!z){G=true;t(flushWork)}}function unstable_getFirstCallbackNode(){return peek(R)}function unstable_cancelCallback(e){e.callback=null}function unstable_getCurrentPriorityLevel(){return Q}var X=o;var Z=null;n.unstable_IdlePriority=L;n.unstable_ImmediatePriority=P;n.unstable_LowPriority=E;n.unstable_NormalPriority=M;n.unstable_Profiling=Z;n.unstable_UserBlockingPriority=F;n.unstable_cancelCallback=unstable_cancelCallback;n.unstable_continueExecution=unstable_continueExecution;n.unstable_getCurrentPriorityLevel=unstable_getCurrentPriorityLevel;n.unstable_getFirstCallbackNode=unstable_getFirstCallbackNode;n.unstable_next=unstable_next;n.unstable_pauseExecution=unstable_pauseExecution;n.unstable_requestPaint=X;n.unstable_runWithPriority=unstable_runWithPriority;n.unstable_scheduleCallback=unstable_scheduleCallback;n.unstable_wrapCallback=unstable_wrapCallback})()}},488:(e,n)=>{ -/** @license React v0.20.2 +if(process.env.NODE_ENV!=="production"){(function(){"use strict";if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==="function"){__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error)}var e=false;var t=false;var r=5;function push(e,n){var t=e.length;e.push(n);siftUp(e,n,t)}function peek(e){return e.length===0?null:e[0]}function pop(e){if(e.length===0){return null}var n=e[0];var t=e.pop();if(t!==n){e[0]=t;siftDown(e,t,0)}return n}function siftUp(e,n,t){var r=t;while(r>0){var a=r-1>>>1;var l=e[a];if(compare(l,n)>0){e[a]=n;e[r]=l;r=a}else{return}}}function siftDown(e,n,t){var r=t;var a=e.length;var l=a>>>1;while(ra&&(!t||shouldYieldToHost())){break}var l=O.callback;if(typeof l==="function"){O.callback=null;L=O.priorityLevel;var i=O.expirationTime<=a;var u=l(i);a=n.unstable_now();if(typeof u==="function"){O.callback=u}else{if(O===peek(T)){pop(T)}}advanceTimers(a)}else{pop(T)}O=peek(T)}if(O!==null){return true}else{var o=peek(x);if(o!==null){requestHostTimeout(handleTimeout,o.startTime-a)}return false}}function unstable_runWithPriority(e,n){switch(e){case a:case l:case i:case u:case o:break;default:e=i}var t=L;L=e;try{return n()}finally{L=t}}function unstable_next(e){var n;switch(L){case a:case l:case i:n=i;break;default:n=L;break}var t=L;L=n;try{return e()}finally{L=t}}function unstable_wrapCallback(e){var n=L;return function(){var t=L;L=n;try{return e.apply(this,arguments)}finally{L=t}}}function unstable_scheduleCallback(e,t,r){var s=n.unstable_now();var c;if(typeof r==="object"&&r!==null){var v=r.delay;if(typeof v==="number"&&v>0){c=s+v}else{c=s}}else{c=s}var _;switch(e){case a:_=b;break;case l:_=d;break;case o:_=w;break;case u:_=y;break;case i:default:_=m;break}var p=c+_;var O={id:C++,callback:t,priorityLevel:e,startTime:c,expirationTime:p,sortIndex:-1};if(c>s){O.sortIndex=c;push(x,O);if(peek(T)===null&&O===peek(x)){if(q){cancelHostTimeout()}else{q=true}requestHostTimeout(handleTimeout,c-s)}}else{O.sortIndex=p;push(T,O);if(!P&&!E){P=true;requestHostCallback(flushWork)}}return O}function unstable_pauseExecution(){}function unstable_continueExecution(){if(!P&&!E){P=true;requestHostCallback(flushWork)}}function unstable_getFirstCallbackNode(){return peek(T)}function unstable_cancelCallback(e){e.callback=null}function unstable_getCurrentPriorityLevel(){return L}var S=false;var B=null;var V=-1;var W=r;var Y=-1;function shouldYieldToHost(){var e=n.unstable_now()-Y;if(e125){console["error"]("forceFrameRate takes a positive int between 0 and 125, "+"forcing frame rates higher than 125 fps is not supported");return}if(e>0){W=Math.floor(1e3/e)}else{W=r}}var performWorkUntilDeadline=function(){if(B!==null){var e=n.unstable_now();Y=e;var t=true;var r=true;try{r=B(t,e)}finally{if(r){j()}else{S=false;B=null}}}else{S=false}};var j;if(typeof F==="function"){j=function(){F(performWorkUntilDeadline)}}else if(typeof MessageChannel!=="undefined"){var U=new MessageChannel;var Q=U.port2;U.port1.onmessage=performWorkUntilDeadline;j=function(){Q.postMessage(null)}}else{j=function(){A(performWorkUntilDeadline,0)}}function requestHostCallback(e){B=e;if(!S){S=true;j()}}function requestHostTimeout(e,t){V=A((function(){e(n.unstable_now())}),t)}function cancelHostTimeout(){D(V);V=-1}var z=requestPaint;var X=null;n.unstable_IdlePriority=o;n.unstable_ImmediatePriority=a;n.unstable_LowPriority=u;n.unstable_NormalPriority=i;n.unstable_Profiling=X;n.unstable_UserBlockingPriority=l;n.unstable_cancelCallback=unstable_cancelCallback;n.unstable_continueExecution=unstable_continueExecution;n.unstable_forceFrameRate=forceFrameRate;n.unstable_getCurrentPriorityLevel=unstable_getCurrentPriorityLevel;n.unstable_getFirstCallbackNode=unstable_getFirstCallbackNode;n.unstable_next=unstable_next;n.unstable_pauseExecution=unstable_pauseExecution;n.unstable_requestPaint=z;n.unstable_runWithPriority=unstable_runWithPriority;n.unstable_scheduleCallback=unstable_scheduleCallback;n.unstable_shouldYield=shouldYieldToHost;n.unstable_wrapCallback=unstable_wrapCallback;if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==="function"){__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}})()}},561:(e,n)=>{ +/** + * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. @@ -16,4 +18,4 @@ if(process.env.NODE_ENV!=="production"){(function(){"use strict";var e=false;var * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var r,t,a,l;if("object"===typeof performance&&"function"===typeof performance.now){var o=performance;n.unstable_now=function(){return o.now()}}else{var i=Date,u=i.now();n.unstable_now=function(){return i.now()-u}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var s=null,c=null,w=function(){if(null!==s)try{var e=n.unstable_now();s(!0,e);s=null}catch(e){throw setTimeout(w,0),e}};r=function(e){null!==s?setTimeout(r,0,e):(s=e,setTimeout(w,0))};t=function(e,n){c=setTimeout(e,n)};a=function(){clearTimeout(c)};n.unstable_shouldYield=function(){return!1};l=n.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,p=window.clearTimeout;if("undefined"!==typeof console){var v=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills");"function"!==typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var b=!1,d=null,_=-1,m=5,k=0;n.unstable_shouldYield=function(){return n.unstable_now()>=k};l=function(){};n.unstable_forceFrameRate=function(e){0>e||125>>1,a=e[t];if(void 0!==a&&0I(o,r))void 0!==u&&0>I(u,o)?(e[t]=u,e[i]=r,t=i):(e[t]=o,e[l]=r,t=l);else if(void 0!==u&&0>I(u,r))e[t]=u,e[i]=r,t=i;else break e}}return n}return null}function I(e,n){var r=e.sortIndex-n.sortIndex;return 0!==r?r:e.id-n.id}var x=[],g=[],C=1,P=null,F=3,M=!1,E=!1,L=!1;function T(e){for(var n=J(g);null!==n;){if(null===n.callback)K(g);else if(n.startTime<=e)K(g),n.sortIndex=n.expirationTime,H(x,n);else break;n=J(g)}}function U(e){L=!1;T(e);if(!E)if(null!==J(x))E=!0,r(V);else{var n=J(g);null!==n&&t(U,n.startTime-e)}}function V(e,r){E=!1;L&&(L=!1,a());M=!0;var l=F;try{T(r);for(P=J(x);null!==P&&(!(P.expirationTime>r)||e&&!n.unstable_shouldYield());){var o=P.callback;if("function"===typeof o){P.callback=null;F=P.priorityLevel;var i=o(P.expirationTime<=r);r=n.unstable_now();"function"===typeof i?P.callback=i:P===J(x)&&K(x);T(r)}else K(x);P=J(x)}if(null!==P)var u=!0;else{var s=J(g);null!==s&&t(U,s.startTime-r);u=!1}return u}finally{P=null,F=l,M=!1}}var q=l;n.unstable_IdlePriority=5;n.unstable_ImmediatePriority=1;n.unstable_LowPriority=4;n.unstable_NormalPriority=3;n.unstable_Profiling=null;n.unstable_UserBlockingPriority=2;n.unstable_cancelCallback=function(e){e.callback=null};n.unstable_continueExecution=function(){E||M||(E=!0,r(V))};n.unstable_getCurrentPriorityLevel=function(){return F};n.unstable_getFirstCallbackNode=function(){return J(x)};n.unstable_next=function(e){switch(F){case 1:case 2:case 3:var n=3;break;default:n=F}var r=F;F=n;try{return e()}finally{F=r}};n.unstable_pauseExecution=function(){};n.unstable_requestPaint=q;n.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=F;F=e;try{return n()}finally{F=r}};n.unstable_scheduleCallback=function(e,l,o){var i=n.unstable_now();"object"===typeof o&&null!==o?(o=o.delay,o="number"===typeof o&&0i?(e.sortIndex=o,H(g,e),null===J(x)&&e===J(g)&&(L?a():L=!0,t(U,o-i))):(e.sortIndex=u,H(x,e),E||M||(E=!0,r(V)));return e};n.unstable_wrapCallback=function(e){var n=F;return function(){var r=F;F=n;try{return e.apply(this,arguments)}finally{F=r}}}},833:(e,n,r)=>{if(process.env.NODE_ENV==="production"){e.exports=r(488)}else{e.exports=r(853)}}};var n={};function __nccwpck_require__(r){var t=n[r];if(t!==undefined){return t.exports}var a=n[r]={exports:{}};var l=true;try{e[r](a,a.exports,__nccwpck_require__);l=false}finally{if(l)delete n[r]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(833);module.exports=r})(); \ No newline at end of file +function f(e,n){var t=e.length;e.push(n);e:for(;0>>1,a=e[r];if(0>>1;rg(u,t))og(s,u)?(e[r]=s,e[o]=t,r=o):(e[r]=u,e[i]=t,r=i);else if(og(s,t))e[r]=s,e[o]=t,r=o;else break e}}return n}function g(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if("object"===typeof performance&&"function"===typeof performance.now){var t=performance;n.unstable_now=function(){return t.now()}}else{var r=Date,a=r.now();n.unstable_now=function(){return r.now()-a}}var l=[],i=[],u=1,o=null,s=3,c=!1,v=!1,_=!1,p="function"===typeof setTimeout?setTimeout:null,b="function"===typeof clearTimeout?clearTimeout:null,d="undefined"!==typeof setImmediate?setImmediate:null;"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(e){for(var n=h(i);null!==n;){if(null===n.callback)k(i);else if(n.startTime<=e)k(i),n.sortIndex=n.expirationTime,f(l,n);else break;n=h(i)}}function H(e){_=!1;G(e);if(!v)if(null!==h(l))v=!0,I(J);else{var n=h(i);null!==n&&K(H,n.startTime-e)}}function J(e,t){v=!1;_&&(_=!1,b(w),w=-1);c=!0;var r=s;try{G(t);for(o=h(l);null!==o&&(!(o.expirationTime>t)||e&&!M());){var a=o.callback;if("function"===typeof a){o.callback=null;s=o.priorityLevel;var u=a(o.expirationTime<=t);t=n.unstable_now();"function"===typeof u?o.callback=u:o===h(l)&&k(l);G(t)}else k(l);o=h(l)}if(null!==o)var p=!0;else{var d=h(i);null!==d&&K(H,d.startTime-t);p=!1}return p}finally{o=null,s=r,c=!1}}var m=!1,y=null,w=-1,T=5,x=-1;function M(){return n.unstable_now()-xe||125a?(e.sortIndex=r,f(i,e),null===h(l)&&e===h(i)&&(_?(b(w),w=-1):_=!0,K(H,r-a))):(e.sortIndex=o,f(l,e),v||c||(v=!0,I(J)));return e};n.unstable_shouldYield=M;n.unstable_wrapCallback=function(e){var n=s;return function(){var t=s;s=n;try{return e.apply(this,arguments)}finally{s=t}}}},620:(e,n,t)=>{if(process.env.NODE_ENV==="production"){e.exports=t(561)}else{e.exports=t(221)}}};var n={};function __nccwpck_require__(t){var r=n[t];if(r!==undefined){return r.exports}var a=n[t]={exports:{}};var l=true;try{e[t](a,a.exports,__nccwpck_require__);l=false}finally{if(l)delete n[t]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(620);module.exports=t})(); \ No newline at end of file diff --git a/packages/react-dev-overlay/package.json b/packages/react-dev-overlay/package.json index 0799fc0e7a09c..2d4ebf4e88ece 100644 --- a/packages/react-dev-overlay/package.json +++ b/packages/react-dev-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-dev-overlay", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "description": "A development-only overlay for developing React applications.", "repository": { "url": "vercel/next.js", diff --git a/packages/react-refresh-utils/package.json b/packages/react-refresh-utils/package.json index 79632cefbd92e..0705780654c3c 100644 --- a/packages/react-refresh-utils/package.json +++ b/packages/react-refresh-utils/package.json @@ -1,6 +1,6 @@ { "name": "@next/react-refresh-utils", - "version": "13.1.7-canary.25", + "version": "13.1.7-canary.26", "description": "An experimental package providing utilities for React Refresh.", "repository": { "url": "vercel/next.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1b78d741d2f4b..ffab6e1dafd1e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -438,7 +438,7 @@ importers: packages/eslint-config-next: specifiers: - '@next/eslint-plugin-next': 13.1.7-canary.25 + '@next/eslint-plugin-next': 13.1.7-canary.26 '@rushstack/eslint-patch': ^1.1.3 '@typescript-eslint/parser': ^5.42.0 eslint: ^7.23.0 || ^8.0.0 @@ -511,12 +511,12 @@ importers: '@hapi/accept': 5.0.2 '@napi-rs/cli': 2.14.7 '@napi-rs/triples': 1.1.0 - '@next/env': 13.1.7-canary.25 - '@next/polyfill-module': 13.1.7-canary.25 - '@next/polyfill-nomodule': 13.1.7-canary.25 - '@next/react-dev-overlay': 13.1.7-canary.25 - '@next/react-refresh-utils': 13.1.7-canary.25 - '@next/swc': 13.1.7-canary.25 + '@next/env': 13.1.7-canary.26 + '@next/polyfill-module': 13.1.7-canary.26 + '@next/polyfill-nomodule': 13.1.7-canary.26 + '@next/react-dev-overlay': 13.1.7-canary.26 + '@next/react-refresh-utils': 13.1.7-canary.26 + '@next/swc': 13.1.7-canary.26 '@opentelemetry/api': 1.4.0 '@segment/ajv-human-errors': 2.1.2 '@swc/helpers': 0.4.14