Giter VIP home page Giter VIP logo

wetransfer / concorde.js Goto Github PK

View Code? Open in Web Editor NEW
17.0 11.0 1.0 3.24 MB

A sexy pinnacle of engineering that’s nonetheless incredibly inefficient and expensive and goes out of business because it can’t find enough use. It also provides some tools to deal with the browser.

License: MIT License

JavaScript 94.18% Shell 1.85% HTML 3.97%
browser-detection cookie debounce wt-branch-protection-default

concorde.js's People

Contributors

arkaitzgarro avatar dependabot[bot] avatar maxvw avatar renesijnke avatar renovate[bot] avatar ulisessp avatar

Stargazers

 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

Forkers

danishack

concorde.js's Issues

Cookie expiry set fails when set to decimal

Describe the bug

Currently when you use the Cookie module and try to set a cookie with days parameter it must be an Integer, not a decimal. If it is a decimal it fails silently and defaults to session length.

To Reproduce

Steps to reproduce the behavior:

  1. Require the Cookie module
  2. Call the cookie set function with some dummy data and a decimal days parameter:
    Cookie.set('test', 'test', { days: 10.5 });
  3. Check that the cookie length time defaults to session time on your browser cookie panel.

Expected behavior

Alert the user that decimals can't be used or round the number up or down instead of defaulting to session length

Additional context

Related issues:

Create a template for new modules

The creation process of new modules is manual right now, and it implies copy&paste an existing module, modify names, update docs, etc. This is error prone and far from being performant.

Something like Yeoman generators, using EJS

Update docs and open source guidelines

We need to update our main README file to include the following info:

  • Features
  • Requirements
  • Usage
  • Communication
  • Installation
  • Release Notes
  • License

And also add a Code of conduct and contributing guidelines based on other OS projects at WeTransfer.

Review author and contributors fields

As per npm documentation:

The “author” is one person. “contributors” is an array of people.

We are specifying "author": "WeTransfer folks",, which is not correct. We also may want to add ourselves as contributors, or add a generic dev account, like "contributors": ["WeTransfer folks <[email protected]> (https://github.com/WeTransfer)"]

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.