Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dtex/mock-io

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dtex/mock-io - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

17

modules/pwm.js

@@ -6,12 +6,9 @@ class PWM {

constructor(opts) {
return (async () => {
console.log(opts.pin);
this.pin = opts.pin;
this.edge = (undefined === opts.edge) ? 0 : opts.edge;
this.mode = opts.mode;
this.onReadable = opts.onReadable;
this.target = opts.target;
this.resolution = 10;
this.value = null;
})();
this.pin = opts.pin;
this.edge = (undefined === opts.edge) ? 0 : opts.edge;
this.mode = opts.mode;
this.onReadable = opts.onReadable;
this.target = opts.target;
this.resolution = 10;
this.value = null;
}

@@ -18,0 +15,0 @@

{
"name": "@dtex/mock-io",
"version": "0.0.3",
"version": "0.0.4",
"description": "Mock file for TC-53 IO testing",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc