Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
node.js lib for the Chipolo
npm install chipolo
var Chipolo = require('chipolo');
Discover
Chipolo.discover(callback(chipolo));
Color:
var color = chipolo.color;
Connect
chipolo.connect(callback);
Disconnect
chipolo.disconnect(callback);
Discover Services and Characteristics
chipolo.discoverServicesAndCharacteristics(callback);
Pair
Make sure Chipolo is not "paired" with other device first.
chipolo.pair(callback(success)); // success: true | false
Device Info
chipolo.readModelNumber(callback(modelNumber));
chipolo.readSerialNumber(callback(serialNumber));
chipolo.readFirmwareRevision(callback(firmwareRevision));
chipolo.readHardwareRevision(callback(hardwareRevision));
chipolo.readSoftwareRevision(callback(softwareRevision));
chipolo.readManufacturerName(callback(manufacturerName));
Temperature_
chipolo.readTemperature(callback(temperature)); // temperature in °C
Battery
chipolo.readIsBatteryLow(callback(isBatteryLow)); // isBatteryLow: true | false
Audio notifications
// inRange, outOfRange, shakeAndFind: true | false
chipolo.setAudioNotifications(inRange, outOfRange, shakeAndFind, callback);
Beep
chipolo.beep(callback);
Distance
chipolo.estimateDistance(callback(estimatedDistance));
Disconnect
chipolo.on('disconnect', callback);
FAQs
node.js lib for the Chipolo
We found that chipolo 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.