Seth Silesky
Seth Silesky
@gajus I agree with you! In the meantime, can you provide version of analytics, your environment (e.g NextJS with node 12), and a stack trace? thanks!
We may need to update all the tests that use mock fetch to use more robust HTTP mock, since it's checking for `OK` see my comment: https://github.com/segmentio/analytics-next/pull/573#discussion_r941597513 Another reason why...
Seems like a potentially common issue with blockers; we might want to just noop this kind of fetch error by default. I imagine most Segment users would prefer that this...
@KeKs0r ... did you try using the synchronous API? ```ts export const analytics = SEGMENT_TOKEN ? AnalyticsBrowser.load({ writeKey: SEGMENT_TOKEN }) : undefined analytics.track('foo') ``` It _should_ log load errors, but...
agree!
I achieved this by using the `preRawData` api. ```ts csv() .fromFile(path) .preRawData(str => { const lines = str.split('\n'); // header is on second line const trimmedStr = lines.filter((_, idx) =>...
used the `preRawData` api. ```typescript csv() .fromFile(path) .preRawData(str => { const lines = str.split('\n'); const trimmedStr = lines.filter(line => /\w/.test(line)).join('\n'); return trimmedStr; }); ```
my (global) `~/.tern-config` looks like this: ``` { "plugins": { "node": {} } } ``` I did it to squash the error messages in vim for the stray javascript file...
> * The expiration doesn't take into account time spent actually processing an event (going through plugins for example) I didn't consider this -- can we add a cushion of...
This may be related to a scenario I'm researching! My workspaces are contained in `./examples/**` and `./packages/**`. I want to create a lint command that lints everything, but _only_ dependsOn...