profile
viewpoint

jsdom/jsdom 14147

A JavaScript implementation of various web standards, for use with Node.js

domchristie/turndown 4822

🛏 An HTML to Markdown converter written in JavaScript

parallel-js/parallel.js 2836

Easy multi-core processing utilities for Node.

Sebmaster/copperlicht 23

the copperlicht 3d engine

Sebmaster/nests-for-trello 17

Chrome addon to enable nested boards in trello

jsdom/tr46 11

An implementation of the Unicode UTS #46: Unicode IDNA Compatibility Processing.

Sebmaster/disassemblr.js 5

a javascript disassembler

Sebmaster/avi.js 4

simple javascript AVI encoder

Sebmaster/bootloader-game 4

a game in the 512 bytes of a bootloader

Sebmaster/mysqlcl 4

node.js mysql client

pull request commentjsdom/whatwg-url

Stop special casing U+0000 in parse fragment

Looks like we'll have to roll wpt first to get the tests to pass for this one, but code changes LGTM.

annevk

comment created time in a month

issue commentjsdom/webidl2js

Promise-returning operations should return Promise.reject on invalid argument

We could probably implement this rather easily by just marking the functions async if they have a Promise return type nowadays since our node requirements are high enough, yeah?

danyao

comment created time in a month

issue commentjsdom/jsdom

Get stack trace from window.eval()

your sample code doesn't contain an eval. please post a full sample.

jakobrosenberg

comment created time in 2 months

push eventSebmaster/commons

Sebastian Mayr

commit sha 06319bd372800fff6d39fc5aff0574870adb4df2

Fix generators causing exceptions in function-name

view details

push time in 2 months

push eventSebmaster/commons

Sebastian Mayr

commit sha d974fb7f0366901817173e3eede8420ca18ef372

Fix generators causing exceptions in function-name

view details

push time in 2 months

pull request commentsinonjs/commons

Fix generators causing exceptions in function-name

Pushed a version with feature detection via eval which should work.

Sebmaster

comment created time in 2 months

push eventSebmaster/commons

Sebastian Mayr

commit sha 53d84491f92cf3ff49c6fa2edaa07c945a3cbd67

Fix generators causing exceptions in function-name

view details

push time in 2 months

pull request commentsinonjs/commons

Fix generators causing exceptions in function-name

I'm not sure what the proper solution for the eslint generator incompatbility is. Are sinon tests run in any browsers that'd we'd have to make sure test runs succeed in?

Sebmaster

comment created time in 2 months

push eventSebmaster/commons

Sebastian Mayr

commit sha 49dc03b8dbb5818bec7cbe1abb19b21c98ebbeaf

Upgrade parser version for tests This allows use of (e.g.) generators in tests, without allowing incompatible syntax in output files.

view details

Sebastian Mayr

commit sha 786d562a7bb2ada3c80792b8d9fdd2046eb90e02

Fix generators causing exceptions in function-name

view details

push time in 2 months

push eventSebmaster/commons

Sebastian Mayr

commit sha 9c25072a3979bf68a8470fdb7936730ae1c35c67

Fix generators causing exceptions in function-name

view details

push time in 2 months

push eventSebmaster/commons

Sebastian Mayr

commit sha c9173eed0aec93df7b5289112de61072774e2507

Fix generators causing exceptions in function-name

view details

push time in 2 months

PR opened sinonjs/commons

Fix generators causing exceptions in function-name

String(x) fails in objects if the object doesn't contain a toString() method. This is also exhibited when determining the name of Object.create(null), but I encountered this error as a nested result of the .ascii() formatter.

+11 -1

0 comment

2 changed files

pr created time in 2 months

create barnchSebmaster/commons

branch : fix/generator-constructors

created branch time in 2 months

fork Sebmaster/commons

Simple functions shared among the sinon end user libraries

fork in 2 months

issue closedjsdom/jsdom

Why can't I silence the 'Could not parse CSS stylesheet' error?

I'm writing a web scraping project for a machine with limited storage and every now and again, jsdom throws an error when it cannot parse the stylesheet, where the message contains stack trace and all. I'm not too interested in the error being fixed, I assume it happens due to the website I'm scraping from. But I need to handle the error myself, since the size of the error message is making it difficult to operate under the tight storage size restrictions. It just isn't happening though, I always get the native JSDOM error. Please allow me to handle it myself.

Basic info:

  • Node.js version: 13.11.0
  • jsdom version: 16.2.0

Minimal reproduction case

const { JSDOM } = require('jsdom');

try {
  window = new JSDOM(html).window;
} catch {
  // this never appears, even when JSDOM throws
  console.error('JSDOM stylesheet parsing error, operation aborted.');
}

<!-- Please create a minimal repro. Any reports involving third party libraries will be closed, as we cannot debug third-party library interactions for you.

Please do not use syntax that is not supported in Node.js, such as JSX or import statements. If we cannot run the code in Node.js, we will close the issue, as we cannot debug whatever toolchain you are using. -->

How does similar code behave in browsers?

N/A, error is logged in console server-side.

closed time in 2 months

geopic

issue commentjsdom/jsdom

Why can't I silence the 'Could not parse CSS stylesheet' error?

jsdom connects the virtual console to the real console by default: https://github.com/jsdom/jsdom#virtual-consoles

geopic

comment created time in 2 months

PR closed jsdom/jsdom

Update dates-and-times.js

Line 235 missing (error) part.

+1 -1

1 comment

1 changed file

KikoPT1234

pr closed time in 3 months

pull request commentjsdom/jsdom

Update dates-and-times.js

Duplicate of #2868 (and a bunch of others).

KikoPT1234

comment created time in 3 months

issue closedjsdom/jsdom

WANT TO SEE HOT PICS WITH ME? 💋 💋 💋

WANT TO SEE HOT PICS WITH ME? 💋 💋 💋 👇 👇 👇

https://is.gd/ms4xm3

closed time in 3 months

gromovadarya90
more