
Research
PyPI Package Impersonates SymPy to Deliver Cryptomining Malware
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.
A tiny (309B) library to detect when
windowglobals are defined and ready to use~!
This module exposes three module definitions:
dist/is-ready.es.jsdist/is-ready.jsdist/is-ready.min.jsIf using the UMD bundle, the library is exposed as is-ready globally.
$ npm install --save is-ready
const isReady = require('is-ready');
// Check if "window.firebase" is loaded
isReady('firebase').then(_ => {
firebase.initializeApp(...);
});
// Check if "window.firebase" & "window.firebase.auth" are loaded
isReady(['firebase', 'firebase.auth']).then(_ => {
firebase.auth().onAuthStateChanged(...);
});
// This is equivalent (but requires dependency/hierarchy knowledge)
isReady('firebase').then(_ => {
//=> ready: window.firebase
isReady('firebase.auth').then(_ => {
//=> ready: window.firebase.auth
});
});
Returns: Promise
Type: String or Array
The global variable name(s) to check. These are the would-be variable(s) mounted to window once loaded. For example, if you know a library will be accesible as window.foobar, then you would use isReady('foobar').
Any nested or sub-module names should be delimited with a .; eg firebase.auth. See dlv for more info on dot-notation access.
MIT © Luke Edwards
FAQs
WIP
The npm package xmlhttp receives a total of 0 weekly downloads. As such, xmlhttp popularity was classified as not popular.
We found that xmlhttp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Product
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.