Ref: getsentry/sentry-javascript#4071 (comment)
Used more or less like:
{
provide: APP_INTERCEPTOR,
useClass: TracingInterceptor,
},
{
import {useCallback} from 'react'; | |
import {millify} from '../millify'; | |
import {useAppLanguage} from './use-app-language'; | |
const cachedFormatters = new Map<string, Intl.NumberFormat>(); | |
const cachedResults = new Map<Intl.NumberFormat, Map<number, string>>(); | |
/** | |
* We cache Intl.NumberFormat instances because creating them is slow. |
import * as cdk from "aws-cdk-lib"; | |
import { TerraformSupport } from "./terraform-support"; | |
import * as azureApp from "@cdk-cloudformation/tf-azuread-application"; | |
export class AzureApplicationStack extends cdk.Stack { | |
constructor(scope: cdk.App, id: string, props: cdk.StackProps) { | |
super(scope, id, props); | |
// First deploy step 1, then change to 2 and deploy again | |
let step = 1; |
Ref: getsentry/sentry-javascript#4071 (comment)
Used more or less like:
{
provide: APP_INTERCEPTOR,
useClass: TracingInterceptor,
},
{
diff --git a/src/abstract/FormatDateTimePattern.js b/src/abstract/FormatDateTimePattern.js | |
index 47fd27397f6fff014af1c4b8862e26fea11e7aab..8d0d1234d9a5dcbd6131bbe206d4655a6c153726 100755 | |
--- a/src/abstract/FormatDateTimePattern.js | |
+++ b/src/abstract/FormatDateTimePattern.js | |
@@ -32,6 +32,28 @@ function offsetToGmtString(gmtFormat, hourFormat, offsetInMs, style) { | |
} | |
return gmtFormat.replace('{0}', offsetStr); | |
} | |
+var numberFormatsCache = new Map(); | |
+function getNumberFormatsForLocale(locale, fractionalSecondDigits) { |
diff --git a/node_modules/@apollo/client/react/hooks/hooks.cjs.js b/node_modules/@apollo/client/react/hooks/hooks.cjs.js | |
index a0acfe8..68d0b08 100644 | |
--- a/node_modules/@apollo/client/react/hooks/hooks.cjs.js | |
+++ b/node_modules/@apollo/client/react/hooks/hooks.cjs.js | |
@@ -56,8 +56,25 @@ function useBaseQuery(query, options, lazy) { | |
var queryResult = lazy | |
? result[1] | |
: result; | |
+ var _maybeFastRefresh; | |
+ if (__DEV__) { |
diff --git a/deps/v8/src/base/platform/platform-posix.cc b/deps/v8/src/base/platform/platform-posix.cc | |
index 68d651b15fe..d5624cb8ace 100644 | |
--- a/deps/v8/src/base/platform/platform-posix.cc | |
+++ b/deps/v8/src/base/platform/platform-posix.cc | |
@@ -415,6 +415,16 @@ bool OS::SetPermissions(void* address, size_t size, MemoryPermission access) { | |
int prot = GetProtectionFromMemoryPermission(access); | |
int ret = mprotect(address, size, prot); | |
+ | |
+ // MacOS 11.2 on Apple Silicon refuses to switch permissions from |
/** | |
* EXPERIMENTAL auto populator for mongo using graphql selections set | |
*/ | |
import { createParamDecorator, ExecutionContext } from "@nestjs/common"; | |
import { Model, DocumentQuery, Document, QueryPopulateOptions } from "mongoose"; | |
import { | |
FieldNode, | |
ArgumentNode, |
diff --git a/node_modules/@types/mongoose/index.d.ts b/node_modules/@types/mongoose/index.d.ts | |
index 7da3af8..636f644 100644 | |
--- a/node_modules/@types/mongoose/index.d.ts | |
+++ b/node_modules/@types/mongoose/index.d.ts | |
@@ -41,6 +41,7 @@ | |
// Richard Simko <https://github.com/richardsimko> | |
// Marek Tuchalski <https://github.com/ith> | |
// Jeremy Bensimon <https://github.com/jeremyben> | |
+// Andrei Alecu <https://github.com/andreialecu> | |
// The Half Blood Prince <https://github.com/tHBp> |
diff --git a/node_modules/@types/mongoose/index.d.ts b/node_modules/@types/mongoose/index.d.ts | |
index c430d7b..639365e 100644 | |
--- a/node_modules/@types/mongoose/index.d.ts | |
+++ b/node_modules/@types/mongoose/index.d.ts | |
@@ -83,8 +83,14 @@ declare module "mongoose" { | |
// We can use TypeScript Omit once minimum required TypeScript Version is above 3.5 | |
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>; | |
+ type NonFunctionPropertyNames<T> = { | |
+ [K in keyof T]: T[K] extends Function ? never : K; |