check out my latest app: Icon Preview
and my latest blog post
Get the name of the current operating system. Example: macOS Sierra
License: MIT License
check out my latest app: Icon Preview
and my latest blog post
dependency execa@^1.0.0 has the following vulnerability reported:
Description:
Attackers could trick execa into executing arbitrary binaries. This behaviour is caused by the setting preferLocal=true which makes execa search for locally installed binaries and executes them.
Identifiers
[email protected]
Severity
Critical
Would you mind please updating this lib to pull in your latest windows-release
so that execa
may be patched by downstream consumers? Thank you!
Hi,
I currently use version 4.0.0 of os-name and was trying to update os-name 5.0.0 to get the new windows 11 display name and I noticed the below error.
`
../../../node_modules/os-name/index.js:1
({"Object.":function(module,exports,require,__dirname,__filename,global,jest){import os from 'node:os';
^^^^^^
SyntaxError: Cannot use import statement outside a module
1 | import * as os from 'os';
> 2 | const osName = require('os-name');
`
The newer version of os-name (5.0.0) has adopted ES modules and my current project setup doesn't support it.
Is there a way to support commonjs modules?
Unless you're planning on adding a lot of new features, I think that it just bloats the library.
And, of course, thanks for the library.
It's only available on Node.js 14, so we must guard its usage.
https://nodejs.org/api/os.html#os_os_version
https://github.com/ehmicky/cross-platform-node-guide/blob/master/docs/7_system/os_identification.md
On Linux, we'll need to do some parsing to get out the actual distro name.
NestJs/cli is using version 4.0.1 and since in v6 it require node v18, can you do a back-port to this version with the latest changes.
Refer to:
nestjs/nest-cli#2400
Hi.
There is dependencies on old versions of macos-release + win-release
Instead of "OS X Yosemite", how about "OS X Yosemite 10.10.2"?
Getting the following error
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.