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

@ctrl/mac-address

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ctrl/mac-address - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

1

dist/getMAC.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMAC = void 0;
const os_1 = require("os");

@@ -4,0 +5,0 @@ const zeroRegex = /(?:[0]{1,2}[:-]){5}[0]{1,2}/;

10

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var getMAC_1 = require("./getMAC");
exports.getMAC = getMAC_1.getMAC;
Object.defineProperty(exports, "getMAC", { enumerable: true, get: function () { return getMAC_1.getMAC; } });
var parseMAC_1 = require("./parseMAC");
exports.parseMAC = parseMAC_1.parseMAC;
exports.parseString = parseMAC_1.parseString;
exports.parseLong = parseMAC_1.parseLong;
Object.defineProperty(exports, "parseMAC", { enumerable: true, get: function () { return parseMAC_1.parseMAC; } });
Object.defineProperty(exports, "parseString", { enumerable: true, get: function () { return parseMAC_1.parseString; } });
Object.defineProperty(exports, "parseLong", { enumerable: true, get: function () { return parseMAC_1.parseLong; } });
var MAC_1 = require("./MAC");
exports.MAC = MAC_1.MAC;
Object.defineProperty(exports, "MAC", { enumerable: true, get: function () { return MAC_1.MAC; } });
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MAC = void 0;
/**

@@ -4,0 +5,0 @@ * The MAC class wraps a 48-bit integer, and provides several helper

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.parseMAC = exports.parseLong = exports.parseString = void 0;
const MAC_1 = require("./MAC");

@@ -4,0 +5,0 @@ const HEX_RE = /^[a-f0-9]$/;

{
"name": "@ctrl/mac-address",
"version": "2.0.1",
"version": "2.1.0",
"description": "Parse and manipulate MAC addresses",

@@ -10,5 +10,5 @@ "author": "Scott Cooper <scttcper@gmail.com>",

"license": "MIT",
"repository": "typectrl/mac-address",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"repository": "scttcper/mac-address",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [

@@ -27,23 +27,17 @@ "dist"

"prepare": "npm run build",
"build": "del dist && tsc -p tsconfig.build.json",
"build": "del-cli dist && tsc -p tsconfig.build.json",
"test": "jest",
"test:watch": "jest --watch",
"test:ci": "jest --ci --reporters=default --reporters=jest-junit --coverage",
"semantic-release": "semantic-release"
"test:ci": "jest --ci --reporters=default --reporters=jest-junit --coverage"
},
"dependencies": {},
"devDependencies": {
"@types/jest": "25.2.1",
"@types/node": "13.13.4",
"@typescript-eslint/eslint-plugin": "2.30.0",
"@typescript-eslint/parser": "2.30.0",
"del-cli": "3.0.0",
"eslint": "6.8.0",
"eslint-config-xo-space": "0.24.0",
"eslint-config-xo-typescript": "0.28.0",
"jest": "25.5.3",
"jest-junit": "10.0.0",
"semantic-release": "17.0.7",
"ts-jest": "25.4.0",
"typescript": "3.8.3"
"@ctrl/eslint-config": "1.0.3",
"@types/jest": "26.0.4",
"@types/node": "14.0.18",
"del-cli": "3.0.1",
"jest": "26.1.0",
"jest-junit": "11.0.1",
"ts-jest": "26.1.1",
"typescript": "3.9.6"
},

@@ -58,4 +52,4 @@ "jest": {

"engines": {
"node": ">=8"
"node": ">=10"
}
}

@@ -1,2 +0,2 @@

# @ctrl/mac-address [![npm](https://img.shields.io/npm/v/@ctrl/mac-address.svg?maxAge=3600)](https://www.npmjs.com/package/@ctrl/mac-address) [![CircleCI](https://circleci.com/gh/TypeCtrl/mac-address.svg?style=svg)](https://circleci.com/gh/TypeCtrl/mac-address) [![coverage status](https://codecov.io/gh/typectrl/mac-address/branch/master/graph/badge.svg)](https://codecov.io/gh/typectrl/mac-address)
# @ctrl/mac-address [![npm](https://badgen.net/npm/v/@ctrl/mac-address)](https://www.npmjs.com/package/@ctrl/mac-address) [![CircleCI](https://badgen.net/circleci/github/scttcper/mac-address)](https://circleci.com/gh/scttcper/mac-address) [![coverage](https://badgen.net/codecov/c/github/scttcper/mac-address)](https://codecov.io/gh/scttcper/mac-address)

@@ -3,0 +3,0 @@ Zero dependency typescript port of [joyent/node-macaddr](https://github.com/joyent/node-macaddr) and getMac [bevry/getmac](https://github.com/bevry/getmac)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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