node-tosource icon indicating copy to clipboard operation
node-tosource copied to clipboard

Converts JavaScript objects to source

Results 8 node-tosource issues
Sort by recently updated
recently updated
newest added

When using the usual ESM stuff, I still resolve to `index.js` instead of `index.esm.js`. ```js import { createRequire } from "node:module"; const require = createRequire(import.meta.url); console.table({ "is-what": { esm: import.meta.resolve("is-what"),...

Hello, We want to use the tosource package, but in [NPM](https://www.npmjs.com/package/tosource), the license is showing as "none" on the right hand side(under weekly downloads). Because of this our automated package...

Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

In my case, the output contains `function () { [native code] }` so that it's invalid to be read by the browser.

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7. Release notes Sourced from node-fetch's releases. v2.6.7 Security patch release Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th...

dependencies

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...

dependencies

Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tmpl&package-manager=npm_and_yarn&previous-version=1.0.4&new-version=1.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Standard on Javascript for source code are the single quotes (') instead of the double quote (") to distingish from HTML attributes, and in fact Node.js use single quotes when...