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

jest-docblock

Package Overview
Dependencies
Maintainers
7
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-docblock - npm Package Compare versions

Comparing version 25.2.6 to 25.3.0

7

build/index.js

@@ -50,2 +50,3 @@ 'use strict';

const stringStartRe = /(\r?\n|^) *\* ?/g;
const STRING_ARRAY = [];

@@ -97,3 +98,3 @@ function extract(contents) {

) {
result[match[1]] = [].concat(result[match[1]], nextPragma);
result[match[1]] = STRING_ARRAY.concat(result[match[1]], nextPragma);
} else {

@@ -150,3 +151,5 @@ result[match[1]] = nextPragma;

function printKeyValues(key, valueOrArray) {
return [].concat(valueOrArray).map(value => `@${key} ${value}`.trim());
return STRING_ARRAY.concat(valueOrArray).map(value =>
`@${key} ${value}`.trim()
);
}
{
"name": "jest-docblock",
"version": "25.2.6",
"version": "25.3.0",
"repository": {

@@ -31,3 +31,3 @@ "type": "git",

},
"gitHead": "43207b743df164e9e58bd483dd9167b9084da18b"
"gitHead": "45a4936d96d74cdee6b91122a51a556e3ebe6dc8"
}

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