New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@abcaustralia/hyperdraft

Package Overview
Dependencies
Maintainers
70
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@abcaustralia/hyperdraft - npm Package Compare versions

Comparing version 1.3.3 to 1.3.4

2

lib/runtime.spec.js

@@ -24,3 +24,3 @@ "use strict";

' They spent $24027 less than the median.\n',
].join('\n'));
].join(''));
expect(partialsUsed).toHaveLength(0);

@@ -27,0 +27,0 @@ }));

@@ -12,17 +12,17 @@ "use strict";

let output = input;
if (opts.removeExtraWhitespace !== false) {
output = removeExtraWhitespace(output);
}
if (opts.removeProtocolFromUrls !== false) {
output = removeProtocolFromUrls(output);
}
if (opts.decodeHtml !== false) {
output = decodeHtml(output);
}
if (opts.sanitizeHtml !== false) {
output = sanitizeHtml(output);
}
if (opts.decodeHtml !== false) {
output = decodeHtml(output);
}
if (opts.fixIndefiniteArticles !== false) {
output = fixIndefiniteArticles(output);
}
if (opts.removeExtraWhitespace !== false) {
output = removeExtraWhitespace(output);
}
(opts.replaceRegex || []).forEach(({ replace, find }) => {

@@ -29,0 +29,0 @@ output = output.replace(new RegExp(find, 'g'), replace);

{
"name": "@abcaustralia/hyperdraft",
"version": "1.3.3",
"version": "1.3.4",
"description": "A runtime for natural language generation",

@@ -5,0 +5,0 @@ "private": false,

@@ -17,3 +17,3 @@ import { readFileSync } from 'fs';

' They spent $24027 less than the median.\n',
].join('\n'),
].join(''),
);

@@ -20,0 +20,0 @@ expect(partialsUsed).toHaveLength(0);

@@ -23,17 +23,17 @@ import sanitize from 'sanitize-html';

let output = input;
if (opts.removeExtraWhitespace !== false) {
output = removeExtraWhitespace(output);
}
if (opts.removeProtocolFromUrls !== false) {
output = removeProtocolFromUrls(output);
}
if (opts.decodeHtml !== false) {
output = decodeHtml(output);
}
if (opts.sanitizeHtml !== false) {
output = sanitizeHtml(output);
}
if (opts.decodeHtml !== false) {
output = decodeHtml(output);
}
if (opts.fixIndefiniteArticles !== false) {
output = fixIndefiniteArticles(output);
}
if (opts.removeExtraWhitespace !== false) {
output = removeExtraWhitespace(output);
}

@@ -40,0 +40,0 @@ (opts.replaceRegex || []).forEach(({ replace, find }) => {

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