ah ok, thanks
In Stripe dashboard, I can see this endpoint exist, and allow to see the webhook secret
I'd like to use it from this lib
Add retrieveSecret in https://github.com/stripe/stripe-node/blob/master/lib/resources/WebhookEndpoints.js#L13
We would store the webhook secret at the moment it was created, but this is less practical than being able to read it
No response
You should use new Date(..).toJSON()
or .toISOString()
to get a standard format
or something like .toJSON().slice(0, 10)
to get YYYY-MM-DD format when needed
8.4.1
Add comment for singleQuoteReplacement
Readme: add supporting details
Hi, the licence is "ISC" in the package.json
free of use, no constraints
Fixed, thanks for reporting
We added this singleQuoteReplacement
option lately, and I added a comment about it that it should not be a reserved word
For example does it work for you to use a space ' '
or a a '+'
?
Fix #20 negated wildcard stringification (#22)
I was testing this module out in production and within 24h someone entered a term like this 😅
-"keyword"*
…which produces the invalid syntax:
!("keyword"):*
…perhaps a wildcard after a phrase should just be dropped?
Fix #20
Fix #20
Not using next.js I tried this: https://replit.com/@caub/emotion-dup-styles#index.js
import { CacheProvider, Global } from '@emotion/react';
import { cache } from '@emotion/css';
import styled from '@emotion/styled';
const Bg = styled.div({
backgroundColor: '#48c'
});
const Sub = ({ children }) => <Bg>[children}</Bg>;
const app = (
<CacheProvider value={cache}>
<Global styles={{ div: { margiin: 0 } }} />
<Sub>Test 1</Sub>
<Sub>Test 2</Sub>
</CacheProvider>
)
Then react renderToStaticMarkup doesn't give any styles
I can see them in cache, what's the properway to add them in the markup? Object.values(cache.inserted).join('\n')
?
@gnongsie or @rsachan8 it's just moving jwk-to-pem from devDependencies to dependencies, else npm i --production
won't work as described
simple fix, do you want a PR?
Would using the option added in https://github.com/caub/pg-tsquery/issues/14 help here?
yes it is, ok so
I'll check if !("keyword":*)
is valid, in which case it's a precedence fix to do in the parser
For now it may be possible to fix this case by customizing the default regexes: https://github.com/caub/pg-tsquery/blob/master/index.js#L59-L64
Good catch, I'll try a fix when I've time
In my usecase, I just need to remove them, so I can do .replace(/\p{Emoji}|\p{Default_Ignorable_Code_Point}/gu, '')
, and that works for multi code points emojis is this right?
'️🤷♂️'.replace(/\p{Emoji}|\p{Default_Ignorable_Code_Point}/gu, '').length
0
but .match(/\p{Emoji}|\p{Default_Ignorable_Code_Point}/gu)
return multiple characters instead of one, is this what you meant?
That regex /\p{Emoji}|\p{Default_Ignorable_Code_Point}/
would detect all emojis and join controls