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

@magic/log

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magic/log - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

package.json
{
"name": "@magic/log",
"version": "0.1.1",
"version": "0.1.2",
"author": "Wizards & Witches",
"description": "enhanced console.log",
"license": "AGPL-3.0",
"homepage": "https://magic.github.io/test",
"homepage": "https://magic.github.io/log",
"main": "src/index.mjs",

@@ -39,3 +39,3 @@ "module": "src/index.mjs",

"@magic/core": "github:magic/core",
"@magic/test": "0.1.18"
"@magic/test": "0.1.21"
},

@@ -42,0 +42,0 @@ "dependencies": {

@@ -18,4 +18,4 @@ # @magic/log

[npm-url]: https://www.npmjs.com/package/@magic/log
[travis-image]: https://api.travis-ci.org/magic/log.svg?branch=master
[travis-url]: https://travis-ci.org/magic/log
[travis-image]: https://img.shields.io/travis/com/magic/log/master
[travis-url]: https://travis-ci.com/magic/log
[appveyor-image]: https://img.shields.io/appveyor/ci/magic/log/master.svg

@@ -82,2 +82,12 @@ [appveyor-url]: https://ci.appveyor.com/project/magic/log/branch/master

log.annotate('Annotate this message')
// return process.hrtime to use in log.timeTaken
const start = log.hrtime()
// get delta between one hrtime and another
const delta = log.hrtime(start)
// print the s, ms or ns since start
log.timeTaken(start, 'before', 'after')
// logs 'before xns after'
```

@@ -96,1 +106,4 @@

0.1.0-cjs was preferred, but is deprecated.
#### v0.1.2
add log.hrtime and log.timeTaken

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