Code Monkey home page Code Monkey logo

Comments (3)

damienwebdev avatar damienwebdev commented on July 18, 2024 1

I've already acquired ownership -- see: #19

from faker.

Shinigami92 avatar Shinigami92 commented on July 18, 2024

Did we already claim the npm org?
If not, please do that immediately

https://www.npmjs.com/package/@faker-js/faker

Maybe we could also release a 5.5.3 🤔
That way the community can already just replace the dep to our package without any issues (except for no TS support 🤔)

from faker.

damienwebdev avatar damienwebdev commented on July 18, 2024

In a review of what was previously in the repo (but omitted from 5.5.3) and what will now be released with 6.0.0 is the new word API in the distributed faker.js in dist/faker.js and dist/faker.min.js.

word was (and continues to be) published in lib, so NodeJS users (and those browser users using a bundler) had access to word but unpkg users did not.

As a note, this means that these two file sizes have grown significantly:

File Size @ Version 5.5.3 Size @ Version 6.0.0-alpha.1
dist/faker.min.js 1.5M 1.8M
dist/faker.js 5.8M 6.9M

A large portion of the filesize in the unminified files comes from the source maps.

I'm wondering two things:

  1. Should no longer publish the unminified form in dist in order to save everyone's bandwidth costs.
  2. How quickly (after 6.0.0) do we have to move to separately loadable locales and APIs to mitigate bandwidth issues.

from faker.

Related Issues (20)

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.