profile
viewpoint
Sergi Almacellas Abellana pokoli Sarroca de Lleida http://www.koolpi.com Open Source enthusiasts, @tryton commiter

mholt/PapaParse 10269

Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input

pokoli/account_es 1

Tryton chart of accounts for spain

pokoli/ButiJS 1

Butifarra's game on Node.js

pokoli/cartridge 1

A Django shopping cart application.

pokoli/hugo-academic 1

The website designer for Hugo. Build and deploy a beautiful website in minutes :rocket:

iehoshia/training_iesa 0

Inicialización de Directorios

pokoli/academic-www 0

Documentation site for Academic

pokoli/bootstrap-datetimepicker 0

Date/time picker widget based on twitter bootstrap

issue commentmholt/PapaParse

[Cannot read properties of null (reading 'replace')] error when quoteChar = null

Maybe we can just change the quoteChar to undefined when it is null or fix the code to prevent the error.

Gretam11

comment created time in 2 days

issue commentmholt/PapaParse

How to export nested

This is not supported (and we do not plan to support it). You should transform your data before passing it to PapaParase

veritem

comment created time in 5 days

issue closedmholt/PapaParse

How to export nested

I'm working with JSON data which has nested fields how but PapaParse returns [object] for nested objects. How can I extract some fields from a nested json

closed time in 5 days

veritem

pull request commentmholt/PapaParse

Fix for issue #911

Hi @bezrodnov,

Thanks for your PR, it looks good to me but I see you updated the minified version and this is something that we just do on the release processs. Could you please revert this change? Thanks

bezrodnov

comment created time in 9 days

issue commentmholt/PapaParse

I don't know why it takes so long for this case.

@bezrodnov I will be happy to merge a PR that fixes that. As already commented I think Array.filter is the way to go if that does not break anything. Otherwise we can consider any other solution.

loia5tqd001

comment created time in 10 days

issue commentmholt/PapaParse

I don't know why it takes so long for this case.

Which are the requeriments of Array.filter? I think it will be the best solution but we need to keep compatibility with plain javascript.

loia5tqd001

comment created time in 10 days

issue commentmholt/PapaParse

Unable to get right delimiter

Did you have any idea on how to improvie it?

jrabello

comment created time in 10 days

issue closedmholt/PapaParse

Unable to get right delimiter

Can you guys help me to understand why papaparse is giving me the wrong delimiter for the following input?

nome;telefone
Jessica;5,58199E+12
Joi;5,51197E+12
Bea;5,582E+12

closed time in 11 days

jrabello

issue commentmholt/PapaParse

Unable to get right delimiter

Because the number of , is the same as the number of ; So one takes precedence from the other.

Paparse is not perfect guessing, the best is to specify the delimiter if you know it in advance.

jrabello

comment created time in 11 days

PR closed pokoli/signxml

Fix deprecated collections.Mapping

https://docs.python.org/3.9/library/collections.html

Deprecated since version 3.3, will be removed in version 3.10: Moved Collections Abstract Base Classes to the collections.abc module. For backwards compatibility, they continue to be visible in this module through Python 3.9.

+2 -1

1 comment

1 changed file

hodeinavarro

pr closed time in 15 days

pull request commentpokoli/signxml

Fix deprecated collections.Mapping

I fixed it in 61cd8c3e0b12132b4a38a4d450b24c49c642b373

hodeinavarro

comment created time in 15 days

push eventpokoli/signxml

Sergi Almacellas Abellana

commit sha 61cd8c3e0b12132b4a38a4d450b24c49c642b373

Add support for Python 3.10

view details

push time in 15 days

issue closedmholt/PapaParse

Parse not firing only in React production build (fine on dev)

Hi, just throwing this out there in case anyone has any advice!

I'm using papaparse in a React app like so:

        parse(url, { //remote url, public CSV file
          download: true,
          header: true,
          // delimiter: ',',
          skipEmptyLines: true,
          complete: (results, file) => {
            if (results.errors && results.errors.length) {
console.log(errors)
}
}})
... //etc

When running locally, the parse function returns complete and I receive the results. No errors.

However, in production mode after running yarn build, suddenly the parse function no longer runs at all. I never receive anything. It just fails to work whatsoever with no clue.

Is there anything I might try?

Any help greatly appreciated!

closed time in a month

bdata42

issue commentmholt/PapaParse

Parse not firing only in React production build (fine on dev)

We do not offer support on github issues, just reports about improvements or bugs in the library. Please use StackOverflow for that.

I guess your prolbem is related to the library not beeing installed on the production build.

bdata42

comment created time in a month

issue commentwting/autojump

ModuleNotFoundError after python update

I started to see the issue after updating to Python3.10 so it seems that autojump is not compatible with this new release.

lolmokha

comment created time in a month

pull request commentmholt/PapaParse

Implement https://github.com/mholt/PapaParse/issues/612

We need a bug fix release before merging this. I will take care of that!

theLAZYmd

comment created time in a month

pull request commentmholt/PapaParse

Add more cases to escapeFormulae, allow to pass RegExp

Merged it. Thanks

caub

comment created time in a month

push eventmholt/PapaParse

Cyril Auburtin

commit sha 1f2c7330d5f562630195c8c450e7ec9cf6233684

Add more cases to escapeFormulae and allow to pass RegExp (#904)

view details

push time in a month

PR merged mholt/PapaParse

Add more cases to escapeFormulae, allow to pass RegExp

See #796 #793

@pokoli @wcerfgba Hey guys, could you check this PR?

It adds more cases for escapeFormulae option, cf https://owasp.org/www-community/attacks/CSV_Injection

+37 -8

8 comments

3 changed files

caub

pr closed time in a month

pull request commentmholt/PapaParse

Add more cases to escapeFormulae, allow to pass RegExp

Hi @caub,

Tests failed due to node15 (which seems unrelated). I removed the version from github actions in https://github.com/mholt/PapaParse/commit/26a86fdf9f2e97225b101dad18dacdbac517ce58

Could you please rebase the PR so I can relauch the test suite to ensure everything is in place.

Sorry for the inconvenience.

caub

comment created time in a month

push eventmholt/PapaParse

Sergi Almacellas Abellana

commit sha 26a86fdf9f2e97225b101dad18dacdbac517ce58

Do not run tests on node15

view details

push time in a month

pull request commentmholt/PapaParse

Add more cases to escapeFormulae, allow to pass RegExp

@caub feel free to remove some test suit if it is no longer valid (but please keep the valid ones)

caub

comment created time in a month

pull request commentmholt/PapaParse

Add more cases to escapeFormulae, allow to pass RegExp

Hi @caub!

Thanks for your suggestion. Could you please keep the current tests cases as is (so we ensure nothing is borken) and add a new test case for the regexp validation (the new feature) ?

Thanks in advance!

caub

comment created time in a month

issue closedmholt/PapaParse

Using PapaParse in a .NET core application

Hello,

How do I use Papa.parse(file) in a .Net core application? The function is not recognised at the moment, I am calling it from inside the JS <script> at the bottom of my cshtml. I downloaded the package using NuGet Package Manager. Thanks!

closed time in 2 months

hajerkr

issue commentmholt/PapaParse

Using PapaParse in a .NET core application

Hi,

We do not provide end user support on github issues. Issues are just for reporting problems and new features of the library.

Please refer to Stack Overflow to post your usage questions.

Thanks

hajerkr

comment created time in 2 months

push eventpokoli/signxml

Sergi Almacellas Abellana

commit sha 13c4fd728b5eda0489f98ad814e7a9e2ecacf6a9

Add support for signature policy URI and avoid empty elements

view details

push time in 2 months

pull request commentXML-Security/signxml

WIP: xades (ETSI) implementation

I pushed new work which contains some basic testing and adapted the PR to latest tip functionalities. I will try to work on a validator soon to ensure everything works well.

blaggacao

comment created time in 2 months

push eventpokoli/signxml

Sergi Almacellas Abellana

commit sha 800e5c30a0899688f57abd80e2f10db5778781ae

Add simple test and build default options

view details

push time in 2 months

pull request commentXML-Security/signxml

Remove future imports

Is there anything else missing from my side? Tests haven't run as it requires as aproval from any maintainter.

pokoli

comment created time in 2 months

push eventpokoli/signxml

Sergi Almacellas Abellana

commit sha f1c0f8348f18fa9ea90cc5aa9c1503c67a9361d6

Remove future imports

view details

push time in 2 months

more