Giter VIP home page Giter VIP logo

fxhash-boilerplate's People

Contributors

ciphrd avatar digitallyserviced avatar laurent-h avatar louisholley avatar maerzhase avatar pradel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fxhash-boilerplate's Issues

Update readme?

The read me of this repository currently say:
npx degit fxhash/params-boilerplate your_project_name

Maybe it should say:
npx degit fxhash/fxhash-boilerplate your_project_name

Because it's weird to point to another non updated template, when the official doc point to this specific template no?
Or is there a reason that I don't see for still directing people to use a previous template ?

Change the file size from 15 to 30 MB

In fxhash site said "the ZIP file must be <= 30 MB. Please try to optimize your projects as much as possible." but in the README.md file it says the code file must be less than 15MB. So please check and update , it confusing to new developers who tries to understand the system.

npm audit shows 5 vulnerabilities (1 moderate, 3 high, 1 critical)

Please see the following report:

# npm audit report

async  2.0.0 - 2.6.3
Severity: high
Prototype Pollution in async - https://github.com/advisories/GHSA-fwr7-v2mv-hh25
fix available via `npm audit fix`
node_modules/async

follow-redirects  <1.14.8
Severity: moderate
Exposure of Sensitive Information to an Unauthorized Actor in follow-redirects - https://github.com/advisories/GHSA-pw2r-vq6v-hr8c
fix available via `npm audit fix`
node_modules/follow-redirects

minimist  <1.2.6
Severity: critical
Prototype Pollution in minimist - https://github.com/advisories/GHSA-xvch-5gv4-984h
fix available via `npm audit fix`
node_modules/minimist

node-forge  <=1.2.1
Severity: high
Improper Verification of Cryptographic Signature in `node-forge` - https://github.com/advisories/GHSA-2r2c-g63r-vccr
Improper Verification of Cryptographic Signature in node-forge - https://github.com/advisories/GHSA-x4jg-mjrx-434g
Improper Verification of Cryptographic Signature in node-forge - https://github.com/advisories/GHSA-cfm4-qjh2-4765
fix available via `npm audit fix`
node_modules/node-forge

terser  5.0.0 - 5.14.1
Severity: high
Terser insecure use of regular expressions before v4.8.1 and v5.14.2 leads to ReDoS - https://github.com/advisories/GHSA-4wf5-vphf-c2xc
fix available via `npm audit fix`
node_modules/terser

I'll make a PR that updates package-lock.json after running npm audit fix

TypeScript type definitions for snippet API

Hey all, are there any existing type definitions for the API and if not would there be any interest? Is this considered (relatively) stable or still too early? I'm working on updating my own project template, but could feed those type parts back to here if there's interest. Let me know pls!

Specify License

This might be an oversight, but there is no license assigned to the boilerplate.

According to choosealicense this might mean that the boilerplate is under exclusive copyright by default.

Could we maybe add a LICENSE?

EDIT: Other fxhash repos also don't specify a license. It would be nice if they did, in order to protect contributors and users.

Thanks!

src/index.js

I don't see that things in src/index.js (referenced via relative path from index.html: "../src/index.js") are being included in the result. If they are not, then I suggest that you change the location of index.js so that it is in or under public. That will make its usage more obvious.

Feature request: Add / remove / change params

As far as my understanding goes, right now $fx.params() can be used once to define params. When I want to add more params, I have to do this:

$fx.params($fx.getDefinitions().concat([{
  "id": "new_param",
  "name": "New param",
  "type": "boolean",
}]));

And if I want to change an existing param, I have to know its index in the list:

$fx.params($fx.getDefinitions().slice(0, -1).concat([{
  "id": "replacing_param",
  "name": "Replacing last param",
  "type": "boolean",
}]));

or:

$fx.params($fx.getDefinitions().slice(0, $fx.getDefinitions().indexOf($fx.getRawParam("replacing_param"))).concat([{
  "id": "replacing_param",
  "name": "Replacing specific param",
  "type": "boolean",
}]));

To remove one param, I would use the same approach:

$fx.params($fx.getDefinitions().slice(0, $fx.getDefinitions().indexOf($fx.getRawParam("deleting_param"))));

I wish I could change the params more easily.

base58check alphabet

The base58check uses this array of chars: "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"

Bitcoin base58 alphabet

Tezos base58 alphabet

Definition

Why is fxhash using this one? ("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ")

I get that order doesn't matter for the random generation of var fxhash, but I realized I was using the wrong index for base58 to decimal conversion because I was relying on the defined alphabet variable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.