Skip to content
#

JavaScript

javascript logo

JavaScript (JS) is a lightweight interpreted or JIT-compiled programming language with first-class functions. While it is most well-known as the scripting language for Web pages, many non-browser environments also use it, such as Node.js, Apache CouchDB and Adobe Acrobat. JavaScript is a prototype-based, multi-paradigm, dynamic language, supporting object-oriented, imperative, and declarative (e.g. functional programming) styles.

Here are 228,494 public repositories matching this topic...

bvaughn
bvaughn commented Jul 1, 2021

#21641 adds the ability for DevTools to display hook "names". The way this works is:

  1. Run the component function to detect where all the hook calls are made (by inspecting the call stack).
  2. Load source files.
  3. Look for source maps and load them (if they exist).
  4. Parse source maps.
  5. Convert line/column number in compiled code to original source code.
  6. Parse original source code
JakobJingleheimer
JakobJingleheimer commented Jun 25, 2021
  • Version: 14.17.0 & 16.4.0
  • Platform: local 20.5.0 Darwin Kernel Version 20.5.0: Sat May 8 05:10:31 PDT 2021; root:xnu-7195.121.3~9/RELEASE_ARM64_T8101 arm64
  • Subsystem: FS / Docs

What steps will reproduce the bug?

import { writeFileSync } from 'fs';

writeFileSync('test.log', { foo: 'bar' });

How often does it reproduce? Is there a required c

canonic-epicure
canonic-epicure commented May 10, 2021

Currently the error message of the exception, thrown from the Deno.stat/statSync, when the file is missing, does not include the file name:

nickolay@frontier:~/workspace/Bryntum/siesta-monorepo/siesta$ deno
Deno 1.9.2
exit using ctrl+d or close()
> Deno.statSync('/home/nickolay/not_existing_file')
Uncaught NotFound: No such file or directory (os error 2)
    at unwrapOpResult (deno:co
material-ui
storybook
votemike
votemike commented Jun 27, 2021

Describe the bug
NextJS, Vercel and Storybook don't work nicely together when using the Next default of removing trailing slashes.
The problem is that Storybook expects a trailing slash in the URL, while Next removes trailing slashes by default. This can be flipped to require trailing slashes, but only for all URLs.
Another way around this is a custom route, but [Vercel doesn't support cust

A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.

  • Updated Jul 2, 2021
  • JavaScript