profile
viewpoint

backstopmedia/bleeding-edge-sample-app 671

A sample app for a Bleeding Edge Press book.

brigand/babel-plugin-flow-react-proptypes 439

A babel plugin to generate React PropTypes definitions from Flow type declarations.

brigand/babel-plugin-handbook 55

How to create Babel plugins

bleeding-edge-react-sample-app/bleeding-edge-react-sample-app.github.io 45

This is a sample application that goes along with the backstop media book: React Edge 2nd edition.

brigand/AutoHotkey-Quick-Help-XML 6

XML File for AutoHotkey Help

brigand/ahk-stdlib 3

Collection of AutoHotkey scripts inteneded to be made available for all users

brigand/ahkcmd 3

The power of AutoHotkey on the commandline

brigand/AhkDll-.NET 3

Work with AutoHotkey.dll with .NET

issue commentsoftprops/lambda-rust

I'm looking for version 0.41.0

The new tag is working as expected. Thanks softprops.

For anyone that comes across this, either of the following in serverless.yml will update to the newer tag.

custom:
  rust:
    dockerTag: '0.2.6-rust-1.41.0'
custom:
  rust:
    dockerTag: latest
enroly-mike

comment created time in a day

issue commentsoftprops/lambda-rust

I'm looking for version 0.41.0

It seems the publish wasn't successful. The github action shows that step taking 0 seconds for whatever reason. The latest tags are :latest and :1.39.0 from 4 months ago.

@softprops could you manually publish a new version or try the actions run again? I can't update my deps because they depend on recently stabilized features.

enroly-mike

comment created time in 2 days

fork brigand/swc

Super-fast typescript / javascript compiler written in rust

https://swc-project.github.io

fork in 3 days

startedcretz/asmble

started time in 4 days

PR opened brigand/glint

Crossterm updated to 0.16

There have been a bunch of breaking changes to crossterm recently, so this is catching up with those.

+451 -252

0 comment

13 changed files

pr created time in 5 days

push eventbrigand/glint

Frankie Bagnardi

commit sha 58d129699dae140bf36d702b0b30607e4e3e5075

chore: update log-key-event

view details

push time in 5 days

push eventbrigand/glint

Frankie Bagnardi

commit sha 7bdbad5812a2465030f89f8eb1790733b0cec531

chore: fmt

view details

Frankie Bagnardi

commit sha b157bd70611e3a640eb1e5e4159743a02b133a9a

chore: lint

view details

push time in 5 days

create barnchbrigand/glint

branch : crossterm-0-16

created branch time in 5 days

startedgoogle/argh

started time in 11 days

startedc0bra/color-scheme-js

started time in 20 days

push eventbrigand/terraform-kubernetes-redis

Frankie Bagnardi

commit sha 7876ac1167a453383760129a1e91bd51b8d846b0

fix: fix map of mixed types

view details

push time in 25 days

fork brigand/terraform-kubernetes-redis

Terraform module for deploying redis to Kubernetes

fork in 25 days

created repositorybrigand/tokio-cmd-macros

created time in 25 days

issue commentbrigand/fast-nvm-fish

No node version loaded when opening Terminal

It provides a function, which you can call if/when you want to use it.

I don't like the idea of modifying PATH when you source/fundle plugin something. Maybe that's made up for by ease of use... I'm conflicted. Going to leave it as-is for now.

jordyvandomselaar

comment created time in a month

push eventbrigand/fast-nvm-fish

Frankie Bagnardi

commit sha 8a70782a369ba77a948ab52f347dd021cc067e99

docs: mention fnm in readme

view details

push time in a month

issue openedelastic-rs/elastic

Expected struct HitsTotal (pre-release)

This seems closely related to https://github.com/elastic-rs/elastic/issues/377 but opening a new issues as that one is closed.

Getting "expected struct HitsTotal" issue with this on elasticsearch 6.7 (and the following versions for both elastic and elastic_derive crates).

  • 0.21.0-pre.2 ☑️ Good
  • 0.21.0-pre.3 ☑️ Good
  • 0.21.0-pre.4 ☑️ Good
  • 0.21.0-pre.5 ❌ Regression
(Parse(ParseError { inner: Error(\"invalid type: integer `0`, expected struct HitsTotal\", line: 11, column: 16) }))

<details>

<summary>Relevant code</summary>

#[derive(Clone, Debug, Serialize, Deserialize, ElasticType)]
pub struct PortfolioIdListing {
    pub id: String,
    pub idlisting: types::IdListing,
}

let response = esc
    .search::<es_models::PortfolioIdListing>()
    .index(EsIndex::Portfolio.name())
    .body(json!({
        "query": {
            "bool": {
                "must": {
                        // -1 is what the JS import script sets them to by default
                    "term": { "pf_likes": -1 },
                },
                "must_not": {
                    "terms": { "idlisting": exclude },
                },
            }
        },
        "size": Value::Number(BATCH_SIZE.into()),
        "_source": ["id", "idlisting"]
    }))
    .send()

</details>

created time in a month

fork brigand/rust-s3

Rust library for working with Amazon S3

fork in a month

push eventpictalk/landing-page

Frankie Bagnardi

commit sha b792891bc3e64d0b0fe4900b8695c7c5dd90059a

feat: request invite -> sign up

view details

push time in a month

issue commentbrigand/glint

Failed to Install 0.4.0

Hey, thanks for reporting this.

I asked the rust channel on freenode, and it appears a patch release of a dependency caused two versions of a trait to be included. For now, the workaround is to add --locked to the install command, until I have time to upgrade to a new crossterm version here.

cargo install glint --locked

Updated the readme.

plus7wist

comment created time in a month

push eventbrigand/glint

Frankie Bagnardi

commit sha f413070cb2843a218c5d65408689e531cfdcad70

feat(config): adds 'enhance' to default types

view details

Frankie Bagnardi

commit sha 5a3310961c50245458bdc4cfaed1ab948e0a87a6

docs(readme): add --locked to install command

view details

push time in a month

startedlaunchbadge/sqlx

started time in 2 months

push eventpictalk/landing-page

Frankie Bagnardi

commit sha 0bef96f7cb3c3ba21c7711a70a1011951c977fe0

feat(signup): hide pricing, popup for lifetime free

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 5b364ef5a94002e7ac59bf7f7ac25dfd047f1fe4

Updates

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 4568d1b081f6bb741754734726297f261742690f

docs: use CondType for all condition docs

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 2622ccc71550464bdce1ec6e79a33a8287bbcb79

Updates

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 71dd221358e927552956523fbfd678ed86f33f12

docs(IntoCondition): updated for Condition.from

view details

Frankie Bagnardi

commit sha a173690909192138c1ab71476a1a69b0cc81f867

docs: CondType: https://i.imgur.com/lFsizxp.png

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 5dbe28f731a8deb03de1d0607ec74ff8ac785b4c

chore: lint

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 8b989b3c1e8d146b55fee0474f7606e05498d9c8

version 0.0.8

view details

push time in 2 months

created tagbrigand/pattahn

tagv0.0.8

Powerful and clean pattern matching for JS

created time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha ddfe80099eece1f88ca2be1d414c04259e478c17

docs: cleanup (remove condition from page names)

view details

Frankie Bagnardi

commit sha b0ebdc1a47c97a81a12be9dabad299abb5dc5234

feat: Condition.isA(x) identified by value.isPattahnCondition

view details

Frankie Bagnardi

commit sha 4bb03b050f965bea682cdf6e35bcf8ae32f947a1

refactor: remove impl method and Match class (only exec -> ?Array)

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 3fde862360282aa79b2f7470738027495c210b0e

Updates

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 3b630ed6fc1f11e46aae1638917dcd8b60f7aa48

version 0.0.7

view details

push time in 2 months

created tagbrigand/pattahn

tagv0.0.7

Powerful and clean pattern matching for JS

created time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha ca30c240ab0e395b7b071824db5dfa706e8fea76

Updates

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha bd25b68b6b558d6ecf82e03b62e5829146899c9f

chore: lint

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 57793244d31320a78a13bdf9542856f896ea0a82

fix(filter): use left match as input for predicate

view details

Frankie Bagnardi

commit sha 08582138d60d1946339bf722453b5dadee6e9786

fix(matchobject): collect nested Output-s

view details

Frankie Bagnardi

commit sha 3449e38bb7e0725f9212f3a26e771aae52d1a080

feat(nth): initial impl and docs

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 11481afb177e71b650eb22057f8a4b868c07af84

Updates

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 4162bab7ab4ca8131d5c4091c2553b3cc2692c0b

Updates

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha f2f2e4d123f3cb75b985c49afd022e4a679ac6b1

build: remove scripts from package/package.json

view details

Frankie Bagnardi

commit sha 8d76f5fe6f5dd5787f691cfcd4b0094ad9720cc2

build: add version script for increasing package version

view details

Frankie Bagnardi

commit sha bc78ca8e050b88864f120d5d325c89d7aa80597f

feat: impl RegexTest condition

view details

Frankie Bagnardi

commit sha 182e66a433267e4ae61189d283b5d2ea39e5f1a3

feat: impl condition MatchObject

view details

Frankie Bagnardi

commit sha 7128c7455ae2012e08bd6aa84f3a296470ea25c2

feat: impl intoCondition

view details

Frankie Bagnardi

commit sha 5741c2809c181daa500b6939008c8ad02ae9cfb0

docs: write MatchObject

view details

Frankie Bagnardi

commit sha db0cb9d539fc63867d684827a44fc0cf3bb1b54c

feat: RegexBase,RegexMatch,RegexMatchAll,RegexTest with docs

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 3240e984bf1f61f9b8c5487116dbe17e172e7f41

version 0.0.6

view details

push time in 2 months

created tagbrigand/pattahn

tagv0.0.6

Powerful and clean pattern matching for JS

created time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 86dff49ca7b1016f7f116739ca1ff15abd95dbe1

version 0.0.5

view details

push time in 2 months

created tagbrigand/pattahn

tagv0.0.5

Powerful and clean pattern matching for JS

created time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 5639ec84e356f536a975d481f806f22a952a712a

build: add eslint

view details

Frankie Bagnardi

commit sha f3577fcab77cad1e3495fc60f0c3eadc2bca9840

build: publish script

view details

Frankie Bagnardi

commit sha c34d9aba8d5a31e5c4a266c22e89dfb651e5b3f3

version 0.0.4

view details

push time in 2 months

created tagbrigand/pattahn

tagv0.0.4

Powerful and clean pattern matching for JS

created time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 4fd351d48135dadd1f126853a18895a72adf1943

docs: match_chain docs

view details

Frankie Bagnardi

commit sha fe33f61b4cad0c3d0ebec1c98a115ce08bfac885

docs: add condition docs

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 3f2db984ae3bf14e6124e929637f6959ec2ea61b

feat: allow variant: match(word).with(...).exec() same as match().with(...).exec(word)

view details

Frankie Bagnardi

commit sha 220399e096ee24345e44048687e3423e8483a051

fix: exec returns array (not Match) in match(v, obj) with func consequent

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha ec87570b57fe4fe53cce97bdcb6630526d6405ec

docs: use readme as home

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 2135f2ed7c628a65c192c8d547af30e6f46a3757

Updates

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 9cdbcb1eac80121a11f627490d4a698c1f6fc34c

Updates

view details

push time in 2 months

push eventbrigand/pattahn

Frankie Bagnardi

commit sha 940cee08597d2d355ffb1476f4f2f2f03fc3f938

refactor: rename to pattahn

view details

Frankie Bagnardi

commit sha 4edc4c50ee66594f6a203490fd2ffb5659e98f28

build: build scripts for package

view details

Frankie Bagnardi

commit sha 5b0243aee27dbe474b4c2d60f5545ce917670f51

build(docs): docz config

view details

push time in 2 months

create barnchbrigand/matchany

branch : gh-pages

created branch time in 2 months

push eventbrigand/matchany

Frankie Bagnardi

commit sha 074b22eecda7e88bed41882bb5b71eab8194dafb

docs: document Always, And, AndThen

view details

Frankie Bagnardi

commit sha 99aac3f2829df1d56946ec4654e54bd61efc0a21

docs: misc work on many condition pages

view details

push time in 2 months

push eventbrigand/matchany

Frankie Bagnardi

commit sha 374d6bc49adfc0723714a8b776a1ea9a8208a077

docs: filter condition docs

view details

push time in 2 months

push eventbrigand/matchany

Frankie Bagnardi

commit sha 93cb36a0227e6e1db4e0c90d1af0d74dca263589

build: setup docz and script to generate condtion .mdx files

view details

Frankie Bagnardi

commit sha dbf7b3d6e679d9ee2c632f57df4307a8ce98d447

docs: initial generated cond docs

view details

Frankie Bagnardi

commit sha bc969faa409937e482c3c0156c8d6077c02b6945

build: docz scripts

view details

Frankie Bagnardi

commit sha 0616cb518a8ac0efcd0c9584375ba0d98907741f

build: impl doc tests for mdx files

view details

Frankie Bagnardi

commit sha 10e8a48d95f1a890ff823291a28a30d3bd3e09f4

feat: impl Filter condition

view details

Frankie Bagnardi

commit sha 8c254247f908d1b2e3c4e17fb052fa8aeee6f76a

feat(chain): bind .exec

view details

Frankie Bagnardi

commit sha 9b10743109140a7cb0417261d2fc34f1e155293e

feat: filter method of Condition

view details

Frankie Bagnardi

commit sha 60d157eda2b1aaac6c89d4a4221e2c4a7f7869d3

feat(match): return a chainMatch if insufficient arguments to match()

view details

push time in 2 months

push eventbrigand/matchany

Frankie Bagnardi

commit sha 247ff66a20c5b4255a88487e777a14160bb02df6

chore: fix docs for InstanceOf

view details

push time in 2 months

push eventbrigand/matchany

Frankie Bagnardi

commit sha 336c4e631cc0f15ce761184c6a8fd21d1d41bf7c

feat: some clone methods

view details

Frankie Bagnardi

commit sha 1ce209067e97b0baaba754a96231e90fe65a3477

feat: impl Or condition

view details

Frankie Bagnardi

commit sha eb429de6abc28b2d1f44ac5e79e3edc413db4faa

feat: impl Id, InstanceOf conditions

view details

push time in 2 months

push eventbrigand/matchany

Frankie Bagnardi

commit sha 4a205abe3cfce2196a119c6eb5a5a01cda6b1350

feat: impl conditions And,AndTheen,Eq,Map,Prop,Test

view details

push time in 2 months

push eventbrigand/matchany

Frankie Bagnardi

commit sha 81764d9b4c53a1f458822bcf6d7cfdab3893fcd7

build: switch to jest

view details

push time in 2 months

create barnchbrigand/matchany

branch : master

created branch time in 2 months

created repositorybrigand/matchany

created time in 2 months

push eventbrigand/jellobot

Frankie Bagnardi

commit sha 34fa474be8097eb5ee3ecc097454faeb80c6bfbf

fix(js-eval): explicitly specify @latest for deps

view details

push time in 2 months

startedgraphql-rust/graphql-client

started time in 2 months

startedKeats/validator

started time in 2 months

push eventpictalk/landing-page

Frankie Bagnardi

commit sha 83f6459b7700e7aeed05c4cb9b1ca7b197be5181

feat: signup button in URL, and signup/login use dyn.pictalk.com

view details

push time in 2 months

startednghenglim/sqlink

started time in 2 months

issue commententwicklerstube/babel-plugin-root-import

unable to find '.../.../.../src'

Without the metro-react-native preset, I get this as babel output, which looks good:

import api from "../../services/api";

and with it, I get this, which also appears to be correct, as long as @babel/runtime is available.

var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");
var _api=_interopRequireDefault(require("../../services/api"));

Maybe something else happens when actually executed by the react-native build tools, but I'm not very familiar with it. Any more information you can provide, like the full error message?

Tycholiz

comment created time in 2 months

push eventpictalk/landing-page

Frankie Bagnardi

commit sha 05a97aa47b4ab815faf15ecb8407ee3bd9036d96

fix: use /image/ prefix for chrome/firefox images

view details

push time in 3 months

push eventbrigand/ballet

Frankie Bagnardi

commit sha 777dd42edc7d528820418fd34e7e6a23cb3019d3

feat: support Local_TriggerValue set to e.g. coordinates_for:32

view details

push time in 3 months

created tagbrigand/n1ql

tagv0.1.1

created time in 3 months

push eventbrigand/n1ql

Frankie Bagnardi

commit sha 6fe560758bb189f85508d998452c1aa48b57add2

allow colon in identifiers

view details

Frankie Bagnardi

commit sha 95f0afcf3df3858cd4b8675ca1df36979d170933

0.1.1

view details

push time in 3 months

created tagbrigand/n1ql

tagv0.1.0

created time in 3 months

push eventbrigand/n1ql

Frankie Bagnardi

commit sha 60be64ed2cbedbe8ba143f04dcad76329716bc94

0.1.0

view details

push time in 3 months

create barnchbrigand/n1ql

branch : master

created branch time in 3 months

created repositorybrigand/n1ql

created time in 3 months

issue closedyarnpkg/website

522 on GET yarnpkg.com/latest.tar.gz

Hey, just wanted to report a seemingly random failure installing yarn in a Github Actions run at 2019-12-02T21:41Z (give or take a minute).

In a bash script:

curl -o- -L https://yarnpkg.com/install.sh | bash

Output of that command:

[1/2]: https://yarnpkg.com/latest.tar.gz --> /tmp/yarn.tar.gz.l7TB86GFgV
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    93  100    93    0     0   1347      0 --:--:-- --:--:-- --:--:--  1347

100   609    0   609    0     0   2832      0 --:--:-- --:--:-- --:--:--  2832

100 1214k  100 1214k    0     0  2913k      0 --:--:-- --:--:-- --:--:-- 2913k

[2/2]: https://yarnpkg.com/latest.tar.gz.asc --> /tmp/yarn.tar.gz.l7TB86GFgV.asc

  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
curl: (22) The requested URL returned error: 522 
> Failed to download https://yarnpkg.com/latest.tar.gz.

Feel free to close the issue if it doesn't appear to be actionable.

closed time in 3 months

brigand

issue commentyarnpkg/website

522 on GET yarnpkg.com/latest.tar.gz

It seems to be working now. I haven't seen the error since reporting this. Will reopen if I see it again.

brigand

comment created time in 3 months

issue openedyarnpkg/website

522 on GET yarnpkg.com/latest.tar.gz

Hey, just wanted to report a seemingly random failure installing yarn in a Github Actions run at 2019-12-02T21:41Z (give or take a minute).

In a bash script:

curl -o- -L https://yarnpkg.com/install.sh | bash

Output of that command:

[1/2]: https://yarnpkg.com/latest.tar.gz --> /tmp/yarn.tar.gz.l7TB86GFgV
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    93  100    93    0     0   1347      0 --:--:-- --:--:-- --:--:--  1347

100   609    0   609    0     0   2832      0 --:--:-- --:--:-- --:--:--  2832

100 1214k  100 1214k    0     0  2913k      0 --:--:-- --:--:-- --:--:-- 2913k

[2/2]: https://yarnpkg.com/latest.tar.gz.asc --> /tmp/yarn.tar.gz.l7TB86GFgV.asc

  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
curl: (22) The requested URL returned error: 522 
> Failed to download https://yarnpkg.com/latest.tar.gz.

Feel free to close the issue if it doesn't appear to be actionable.

created time in 3 months

push eventpictalk/landing-page

Frankie Bagnardi

commit sha 912353026d1fab727e9c8c86fe8c392afc2238e0

feat(video): when video completes, set it back to initial display

view details

push time in 3 months

push eventpictalk/landing-page

Frankie Bagnardi

commit sha caff7923460002d125f88f409a4178e7f2201be6

enhance(pricing): Mike's improved text

view details

push time in 3 months

create barnchbrigand/paste.brigand.me

branch : master

created branch time in 3 months

create barnchbrigand/paste.brigand.me

branch : video-1

created branch time in 3 months

created repositorybrigand/paste.brigand.me

created time in 3 months

push eventbrigand/jellobot

Frankie Bagnardi

commit sha 3e2b8be3114f85c987f98564a207d200d6347de4

fix(repaste): correctly display response body for gist error

view details

push time in 3 months

push eventbrigand/jellobot

Frankie Bagnardi

commit sha 4407a9242f79245e9b7658a43ab32f945cbe9e61

fix(repaste): pass user-agent to github api

view details

push time in 3 months

issue commentbrigand/babel-plugin-flow-react-proptypes

Issue when using with rollup imports

Hi. So we have a test for this here with this snapshot. I also tried with exactly import { type Bar } from "bar" and using Bar in the type for the component props, where the import seems to get completely stripped.

Could you share your babel config and the exact code that give the error (if you weren't literally using 'bar' when trying this)?

romeovs

comment created time in 3 months

Pull request review commentbrigand/jellobot

Use mdn search api v1 vs parsing html from mdn.io redirects.

 const mdnPlugin = async (msg) => {     }   } -  if (res) {-    res = await fixLanguage(res, lastRedirect).catch(() => null);-  }-   if (!res || !res.ok) {     msg.respondWithMention(`Try ${initialUrl} (couldn't fetch metadata)`);     return;   }    let pageData;   try {-    pageData = extractFromHtml(res.text);+    pageData = {+      title: res.body.documents[0].title,+      text:  res.body.documents[0].excerpt.replace(/<\/?mark>/g, ''),

Oh, you can pass highlight=false in the query to not get these <mark> elements.

https://developer.mozilla.org/en-US/docs/MDN/Contribute/Tools/Search

adedomin

comment created time in 3 months

Pull request review commentbrigand/jellobot

Use mdn search api v1 vs parsing html from mdn.io redirects.

 const mdnPlugin = async (msg) => {     }   } -  if (res) {-    res = await fixLanguage(res, lastRedirect).catch(() => null);-  }-   if (!res || !res.ok) {     msg.respondWithMention(`Try ${initialUrl} (couldn't fetch metadata)`);     return;   }    let pageData;   try {-    pageData = extractFromHtml(res.text);+    pageData = {+      title: res.body.documents[0].title,+      text:  res.body.documents[0].excerpt.replace(/<\/?mark>/g, ''),

Should we be stripping all HTML here?

adedomin

comment created time in 3 months

issue commententwicklerstube/babel-plugin-root-import

Not working with jest

@witalobenicio hey, sorry for the delay on this. I've created a repo using the provide config, minus the jest alias which you shouldn't have, and the tests pass

brigand/babel-plugin-root-import-131

Note that babel config is in .babelrc, as there are a few ways to define it, but craco config isn't one of them (unclear if you defined it in both).

Please modify it to be more like your project until it breaks, and share a forked repo, or diffs of changed files and any new files you added.

witalobenicio

comment created time in 3 months

create barnchbrigand/babel-plugin-root-import-131

branch : master

created branch time in 3 months

created repositorybrigand/babel-plugin-root-import-131

created time in 3 months

PR opened alleycat-at-git/http_router

Loosen path segment regex

Had a requirement to support things like %20 in dynamic path segments which would previously always hit the default route.

I just expanded the regex to be very permissive. It might make sense to also percent decode it, but maybe outside the scope of this library.

+1 -1

0 comment

1 changed file

pr created time in 3 months

create barnchbrigand/http_router

branch : loosen-path-segment-regex

created branch time in 3 months

fork brigand/http_router

Expressive and effective router for rust

fork in 3 months

push eventpictalk/landing-page

Frankie Bagnardi

commit sha e3a1eadad36c0287c886f6e8f674923f988f1f8e

feat: add Pictalk Save Button section

view details

push time in 3 months

issue commententwicklerstube/babel-plugin-root-import

Not working with Jest

@witalobenicio could you open a new issue with your babel config (specifying which file it's in) and package.json, along with the error you get?

denghejun

comment created time in 3 months

push eventbrigand/ballet

Frankie Bagnardi

commit sha 00b5fd349f75242637d65e19608a54cdfd4c0628

feat: impl 'x' for Exclude region

view details

push time in 3 months

issue commentbrigand/babel-plugin-flow-react-proptypes

Object type spread failing on imported type from other module or libdef (e.g. flow-typed)

@TSMMark that might happen if you have a type import (import type ...), since at the point the import is reached, we don't know whether or not we need it at runtime. The import is modified such that the babel flow plugin won't strip it, and then we can use it later if you refer to the type in a place that we process.

rosskevin

comment created time in 3 months

push eventpictalk/landing-page

Frankie Bagnardi

commit sha 2243199981911763879f1e46383255d056f9bd21

fix(video): use aspect-ratio not device-aspect-ratio

view details

push time in 4 months

push eventpictalk/landing-page

Frankie Bagnardi

commit sha 09a257345e3ddbde2b0ee3fb192c9b69090706fe

fix(video): add hard-coded maxWidth of 1280px; video centered in maxHeight container

view details

push time in 4 months

more