Socket
Socket
Sign inDemoInstall

@tapjs/reporter

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tapjs/reporter - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

12

dist/esm/hanging-indent.js
import { Text, Transform } from 'ink';
import React from 'react';
// kind of a weird way to add a hanging indent for wrapped lines,
// but it seems to work.
// See: https://github.com/vadimdemedes/ink/issues/611
const sigil = '\x01\x02\x03\x03\x02\x01';
export const HangingIndent = ({ indent = 4, children, ...props }) => (React.createElement(Transform, { transform: o => o.includes(sigil)
? o.replace(sigil, '')
: ' '.repeat(indent) + o },
React.createElement(Text, { ...props },
sigil,
children)));
export const HangingIndent = ({ indent = 4, children, ...props }) => (React.createElement(Transform, { transform: (o, i) => (i === 0 ? o : ' '.repeat(indent) + o) },
React.createElement(Text, { ...props }, children)));
//# sourceMappingURL=hanging-indent.js.map

12

package.json
{
"name": "@tapjs/reporter",
"version": "1.0.2",
"version": "1.0.3",
"description": "Pretty test output reporters for tap",

@@ -69,13 +69,13 @@ "author": "Isaac Z. Schlueter <i@izs.me> (https://blog.izs.me)",

"peerDependencies": {
"@tapjs/core": "1.0.2"
"@tapjs/core": "1.0.3"
},
"dependencies": {
"@tapjs/config": "2.0.2",
"@tapjs/test": "1.0.2",
"@tapjs/config": "2.0.3",
"@tapjs/test": "1.0.3",
"chalk": "^5.2.0",
"ink": "^4.3.1",
"ink": "^4.4.1",
"ms": "^2.1.3",
"patch-console": "^2.0.0",
"prismjs": "^1.29.0",
"prismjs-terminal": "^1.2.2",
"prismjs-terminal": "^1.2.3",
"react": "^18.2.0",

@@ -82,0 +82,0 @@ "string-length": "^6.0.0"

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