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 227,392 public repositories matching this topic...

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
cubenoy22
cubenoy22 commented May 25, 2021

Suggestion

🔍 Search Terms

  • scanner + label:API
  • SourceFileLike
  • getPositionOfLineAndCharacter
  • getLineAndCharacterOfPosition

Viability Checklist

My suggestion meets these guidelines:

  • This wouldn't be a breaking change in existing TypeScript/JavaScript code
  • This wouldn't change the runtime behavior of existing JavaScript code
  • This could be impleme
material-ui
storybook
muster-mark
muster-mark commented Jun 22, 2021

Describe the bug
My default browser is Firefox (if I type open https://storybook.js.org/ in my console then it opens in Firefox. However when I run npm run storybook it opens in another browser I happen to have installed on my computer, called Google Chrome.

To Reproduce
Set Firefox as default Browser. In a Story book project, run npm run storybook

System
Environment Inf

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 Jun 26, 2021
  • JavaScript