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

erotic

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

erotic - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

1

build/callback.js

@@ -12,3 +12,2 @@ let cleanStack = require('@artdeco/clean-stack'); if (cleanStack && cleanStack.__esModule) cleanStack = cleanStack.default;

* @param {boolean} [shadow=false] print only entry stack
* @private
*/

@@ -15,0 +14,0 @@ function makeCallback(entryCaller, entryStack, shadow = false) {

@@ -35,3 +35,2 @@ const getLastItem = (array) => {

* @returns {string} A part of stack
* @private
*/

@@ -59,3 +58,2 @@ const getEntryStack = (stack, transparent) => {

* @returns {function} The caller function from `arguments.callee.caller`.
* @private
*/

@@ -62,0 +60,0 @@ const getCallerFromArguments = (args) => {

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 2 April 2019
### [2.0.3](https://github.com/artdecocode/erotic/compare/v2.0.2...v2.0.3)
- [fix] Remove `@private` JSDoc.
## 14 January 2019

@@ -2,0 +8,0 @@

{
"name": "erotic",
"version": "2.0.2",
"version": "2.0.3",
"description": "Capture error stacks in asynchronous functions at the point of call.",

@@ -14,3 +14,3 @@ "main": "build",

"build": "yarn-s doc b",
"e": "node example",
"e": "alanode",
"example/message.js": "yarn e example/message",

@@ -51,8 +51,8 @@ "example/error.js": "yarn e example/error",

"devDependencies": {
"alamode": "1.6.1",
"documentary": "1.20.1",
"alamode": "1.9.0",
"documentary": "1.23.2",
"eslint-config-artdeco": "1.0.1",
"noddy": "1.1.1",
"yarn-s": "1.1.0",
"zoroaster": "3.6.6"
"zoroaster": "3.11.2"
},

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

@@ -148,2 +148,4 @@ <a href="https://artdeco.bz/erotic"><img align="right" src="./logo.jpg" width="225" alt="Erotic" />

<p align="center"><a href="#table-of-contents"><img src=".documentary/section-breaks/0.svg?sanitize=true" width="25"></a></p>
### `erotic(`<br/>&nbsp;&nbsp;`transparent?: boolean,`<br/>`): Callback`

@@ -325,5 +327,5 @@

at Module._compile (module.js:653:30)
at Module._compile (/Users/zavr/adc/erotic/node_modules/pirates/lib/index.js:83:24)
at Module._compile (/Users/zavr/adc/erotic/node_modules/pirates/lib/index.js:99:24)
at Module._extensions..js (module.js:664:10)
at Object.newLoader [as .js] (/Users/zavr/adc/erotic/node_modules/pirates/lib/index.js:88:7)
at Object.newLoader [as .js] (/Users/zavr/adc/erotic/node_modules/pirates/lib/index.js:104:7)
at Module.load (module.js:566:32)

@@ -330,0 +332,0 @@ at tryModuleLoad (module.js:506:12)

@@ -12,3 +12,2 @@ import cleanStack from '@artdeco/clean-stack'

* @param {boolean} [shadow=false] print only entry stack
* @private
*/

@@ -15,0 +14,0 @@ export function makeCallback(entryCaller, entryStack, shadow = false) {

@@ -35,3 +35,2 @@ const getLastItem = (array) => {

* @returns {string} A part of stack
* @private
*/

@@ -59,3 +58,2 @@ export const getEntryStack = (stack, transparent) => {

* @returns {function} The caller function from `arguments.callee.caller`.
* @private
*/

@@ -62,0 +60,0 @@ export const getCallerFromArguments = (args) => {

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