Skip to content

Commit

Permalink
chore: bump the theoretically-non-breaking group with 4 updates (#58)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nolan Lawson <[email protected]>
  • Loading branch information
dependabot[bot] and nolanlawson authored Sep 3, 2024
1 parent aa39262 commit 1a411f8
Show file tree
Hide file tree
Showing 3 changed files with 301 additions and 203 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
"devDependencies": {
"@babel/plugin-syntax-decorators": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@lwc/module-resolver": "7.2.0",
"@types/node": "22.0.2",
"@lwc/module-resolver": "7.2.3",
"@types/node": "22.5.2",
"babel-loader": "^9.1.3",
"chai": "^5.1.0",
"lwc": "7.2.0",
"lwc": "7.2.3",
"memfs": "^4.8.1",
"mocha": "^10.4.0",
"mocha-snap": "^5.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
if (!globalThis.lwcRuntimeFlags) {
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: Object.create(null) });
}
if (!lwcRuntimeFlags.ENABLE_FORCE_SHADOW_MIGRATE_MODE) {
if (!lwcRuntimeFlags.ENABLE_FORCE_SHADOW_MIGRATE_MODE && !lwcRuntimeFlags.DISABLE_SYNTHETIC_SHADOW) {
/**
* Copyright (c) 2024 Salesforce, Inc.
*/
Expand Down Expand Up @@ -106,8 +106,11 @@ keys,
seal,
/** Detached {@linkcode Object.setPrototypeOf}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf MDN Reference}. */
setPrototypeOf, } = Object;
const {
/** Detached {@linkcode Array.isArray}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray MDN Reference}. */
const { isArray } = Array;
isArray,
/** Detached {@linkcode Array.from}; see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from MDN Reference}. */
from: ArrayFrom, } = Array;
// For some reason, JSDoc don't get picked up for multiple renamed destructured constants (even
// though it works fine for one, e.g. isArray), so comments for these are added to the export
// statement, rather than this declaration.
Expand Down Expand Up @@ -151,7 +154,7 @@ function isFalse(obj) {
* @returns `true` if the value is a function.
*/
// Replacing `Function` with a narrower type that works for all our use cases is tricky...
// eslint-disable-next-line @typescript-eslint/ban-types
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
function isFunction(obj) {
return typeof obj === 'function';
}
Expand Down
Loading

0 comments on commit 1a411f8

Please sign in to comment.