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

elm-test

Package Overview
Dependencies
Maintainers
4
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elm-test - npm Package Compare versions

Comparing version 0.19.1-revision11 to 0.19.1-revision12

22

lib/Supervisor.js

@@ -204,3 +204,23 @@ // @flow

console.log(XmlBuilder.create(xml).end());
// The XmlBuilder by default does not remove characters that are
// invalid in XML, like backspaces. However, we can pass it an
// `invalidCharReplacement` option to tell it how to handle
// those characters, rather than crashing. In an attempt to
// retain useful information in the output, we try and output a
// hex-encoded unicode codepoint for the invalid character. For
// example, the start of a terminal escape (`\u{001B}` in Elm) will be output as a
// literal `\u{001B}`.
var invalidCharReplacement = function (char) {
return (
'\\u{' +
char.codePointAt(0).toString(16).padStart(4, '0') +
'}'
);
};
console.log(
XmlBuilder.create(xml, {
invalidCharReplacement: invalidCharReplacement,
}).end()
);
}

@@ -207,0 +227,0 @@ }

2

package.json
{
"name": "elm-test",
"version": "0.19.1-revision11",
"version": "0.19.1-revision12",
"description": "Run elm-test suites.",

@@ -5,0 +5,0 @@ "main": "elm-test.js",

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