Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency xmlbuilder to v15 #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 15, 2020

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
xmlbuilder 2.2.1 -> 15.1.1 age adoption passing confidence

Release Notes

oozcitak/xmlbuilder-js

v15.1.1

Compare Source

v15.1.0

Compare Source

  • Added the invalidCharReplacement option to replace invalid characters with a user supplied replacement character. See #​147.

v15.0.0

Compare Source

  • Pretty printing now keeps single CDATA nodes in-line with their parent elements. See #​224.

v14.0.0

Compare Source

  • Removed support for node.js 6.0. Minimum required version is now 8.0.

v13.0.2

Compare Source

  • Fixed a bug where importing a document into an empty parent document did not set the root node. See #​213.

v13.0.1

Compare Source

  • Corrected typings for doctype and character data nodes. See #​211.

v13.0.0

Compare Source

  • Rewrote all TypeSript typings to be strictly compatible with the API. This is a breaking change for TypeScript users only.

v12.0.1

Compare Source

  • Added option for pretty printing attributes.

v12.0.0

Compare Source

  • Removed support for node.js 4.0 and 5.0. Minimum required version is now 6.0.

v11.0.1

Compare Source

  • Added TypeScript typings. See #​200.

v11.0.0

Compare Source

  • Calling end() with arguments no longer overwrites writer options. See #​120.

  • Added writer state and customizable space and endline functions to help customize writer behavior. Also added openNode and closeNode functions to writer. See #​193.

  • Fixed a bug where writer functions would not be called for nodes with a single child node in pretty print mode. See #​195.

  • Renamed elEscape to textEscape in XMLStringifier.

  • Fixed a bug where empty arrays would produce child nodes. See #​190.

  • Removed the skipNullAttributes option. null attributes are now skipped by default. Added the keepNullAttributes option in case someone needs the old behavior.

  • Removed the skipNullNodes option. null nodes are now skipped by default. Added the keepNullNodes option in case someone needs the old behavior.

  • undefined values are now skipped when converting JS objects.

  • Renamed stringify functions. See #​194:

    • eleName -> name
    • attName -> name
    • eleText -> text
  • Fixed argument order for attribute function in the writer. See #​196.

  • Added openAttribute and closeAttribute functions to writer. See #​196.

  • Added node types to node objects. Node types and writer states are exported by the module with the nodeType and writerState properties.

  • Fixed a bug where array items would not be correctly converted. See #​159.

  • Fixed a bug where mixed-content inside JS objects with #text decorator would not be correctly converted. See #​171.

  • Fixed a bug where JS objects would not be expanded in callback mode. See #​173.

  • Fixed a bug where character validation would not obey document's XML version. Added separate validation for XML 1.0 and XML 1.1 documents. See #​169.

  • Fixed a bug where names would not be validated according to the spec. See #​49.

  • Renamed text property to value in comment and cdata nodes to unify the API.

  • Removed doctype function to prevent name clash with DOM implementation. Use the dtd function instead.

  • Removed dummy nodes from the XML tree (Those were created while chain-building the tree).

  • Renamed attributesproperty to attribs to prevent name clash with DOM property with the same name.

  • Implemented the DOM standard (read-only) to support XPath lookups. XML namespaces are not currently supported. See #​122.

v10.1.1

Compare Source

  • Fixed an edge case where a null node at root level would be printed although skipNullNodes was set. See #​187.

v10.1.0

Compare Source

  • Added the skipNullNodes option to skip nodes with null values. See #​158.

v10.0.0

Compare Source

  • Added current indentation level as a parameter to the onData function when in callback mode. See #​125.
  • Added name of the current node and parent node to error messages where possible. See #​152. This has the potential to break code depending on the content of error messages.
  • Fixed an issue where objects created with Object.create(null) created an error. See #​176.
  • Added test builds for node.js v8 and v10.

v9.0.7

Compare Source

  • Simplified regex used for validating encoding.

v9.0.6

Compare Source

v9.0.5

Compare Source

v9.0.4

Compare Source

  • spacebeforeslash writer option accepts true as well as space char(s).

v9.0.3

Compare Source

  • spacebeforeslash writer option can now be used with XML fragments.

v9.0.2

Compare Source

  • Added the spacebeforeslash writer option to add a space character before closing tags of empty elements. See #​157.

v9.0.1

Compare Source

  • Fixed character validity checks to work with node.js 4.0 and 5.0. See #​161.

v9.0.0

Compare Source

  • Removed case conversion options.
  • Removed support for node.js 4.0 and 5.0. Minimum required version is now 6.0.
  • Fixed valid char filter to use XML 1.1 instead of 1.0. See #​147.
  • Added options for negative indentation and suppressing pretty printing of text nodes. See #​145.

v8.2.2

Compare Source

  • Falsy values can now be used as a text node in callback mode.

v8.2.1

Compare Source

  • Falsy values can now be used as a text node. See #​117.

v8.2.0

Compare Source

  • Removed lodash dependency to keep the library small and simple. See #​114, #​53, and #​43.
  • Added title case to name conversion options.

v8.1.0

Compare Source

  • Added the callback option to the begin export function. When used with a callback function, the XML document will be generated in chunks and each chunk will be passed to the supplied function. In this mode, begin uses a different code path and the builder should use much less memory since the entire XML tree is not kept. There are a few drawbacks though. For example, traversing the document tree or adding attributes to a node after it is written is not possible. It is also not possible to remove nodes or attributes.
var result = '';

builder.begin(function(chunk) { result += chunk; })
  .dec()
  .ele('root')
    .ele('xmlbuilder').up()
  .end();
  • Replaced native Object.assign with lodash.assign to support old JS engines. See #​111.

v8.0.0

Compare Source

  • Added the begin export function. See the wiki for details.
  • Added the ability to add comments and processing instructions before and after the root element. Added commentBefore, commentAfter, instructionBefore and instructionAfter functions for this purpose.
  • Dropped support for old node.js releases. Minimum required node.js version is now 4.0.

v7.0.0

Compare Source

  • Processing instructions are now created as regular nodes. This is a major breaking change if you are using processing instructions. Previously processing instructions were inserted before their parent node. After this change processing instructions are appended to the children of the parent node. Note that it is not currently possible to insert processing instructions before or after the root element.

    root.ele('node').ins('pi');
    // pre-v7
    <?pi?><node/>
    // v7
    <node><?pi?></node>

v6.0.0

Compare Source

  • Added custom XML writers. The default string conversion functions are now collected under the XMLStringWriter class which can be accessed by the stringWriter(options) function exported by the module. An XMLStreamWriter is also added which outputs the XML document to a writable stream. A stream writer can be created by calling the streamWriter(stream, options) function exported by the module. Both classes are heavily customizable and the details are added to the wiki. It is also possible to write an XML writer from scratch and use it when calling end() on the XML document.

v5.0.1

Compare Source

  • Pretty printing now keeps single CDATA nodes in-line with their parent elements also with the stream writer.

v5.0.0

Compare Source

  • Pretty printing now keeps single CDATA nodes in-line with their parent elements. See #​224.

v4.2.1

Compare Source

  • Updated lodash dependency to 4.0.0.

v4.2.0

Compare Source

  • Added the noDoubleEncoding option to create() to control whether existing html entities are encoded.

v4.1.0

Compare Source

  • Added the separateArrayItems option to create() to control how arrays are handled when converting from objects. e.g.
root.ele({ number: [ "one", "two"  ]});
// with separateArrayItems: true
<number>
  <one/>
  <two/>
</number>
// with separateArrayItems: false
<number>one</number>
<number>two</number>

v4.0.0

Compare Source

  • Removed support for node.js 6.0. Minimum required version is now 8.0.

v3.1.0

Compare Source

  • #list decorator ignores empty arrays.

v3.0.0

Compare Source

  • Rewrote all TypeSript typings to be strictly compatible with the API. This is a breaking change for TypeScript users only.

v2.6.5

Compare Source

  • Use native isArray instead of lodash.
  • Indentation of processing instructions are set to the parent element's.

v2.6.4

Compare Source

  • Updated lodash dependency to 3.5.0.

v2.6.3

Compare Source

  • Bumped version because previous release was not published on npm.

v2.6.2

Compare Source

  • Updated lodash dependency to 3.5.0.

v2.6.1

Compare Source

  • Updated lodash dependency to 3.3.0.

v2.6.0

Compare Source

  • Fixed a bug where the XMLNode constructor overwrote the super class parent.
  • Removed document property from cloned nodes.
  • Switched to mocha.js for testing.

v2.5.2

Compare Source

  • Updated lodash dependency to 3.2.0.

v2.5.1

Compare Source

  • Updated lodash dependency to 3.1.0.
  • Support all node >= 0.8.

v2.5.0

Compare Source

  • Updated lodash dependency to 3.0.0.

v2.4.6

Compare Source

  • Show more information from attribute creation with null values.
  • Added iojs as an engine.
  • Self close elements with empty text.

v2.4.5

Compare Source

  • Fixed prepublish script to run on windows.
  • Fixed bug in XMLStringifier where an undefined value was used while reporting an invalid encoding value.
  • Moved require statements to the top of files to reduce lazy requires. See #​62.

v2.4.4

Compare Source

  • Added the offset option to toString() for use in XML fragments.

v2.4.3

Compare Source

  • Corrected license in package description.

v2.4.2

Compare Source

  • Dropped performance test and memwatch dependency.

v2.4.1

Compare Source

  • Fixed a bug where empty indent string was omitted when pretty printing. See #​59.

v2.4.0

Compare Source

  • Correct cases of pubID and sysID.
  • Use single lodash instead of separate npm modules. See #​53.
  • Escape according to Canonical XML 1.0. See #​54.

v2.3.0

Compare Source

  • Convert objects to JS primitives while sanitizing user input.
  • Object builder preserves items with null values. See #​44.
  • Use modularized lodash functions to cut down dependencies.
  • Process empty objects when converting from objects so that we don't throw on empty child objects.

Renovate configuration

📅 Schedule: "before 3am on Monday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@coveralls
Copy link

coveralls commented Jun 15, 2020

Coverage Status

Coverage remained the same at 94.824% when pulling b9af351 on renovate/xmlbuilder-15.x into c4c256d on master.

@renovate renovate bot force-pushed the renovate/xmlbuilder-15.x branch from 32c4cbc to a5bf9cd Compare June 15, 2020 08:54
@renovate renovate bot changed the title Update dependency xmlbuilder to v15 fix(deps): update dependency xmlbuilder to v15 Oct 19, 2020
@renovate renovate bot force-pushed the renovate/xmlbuilder-15.x branch from a5bf9cd to ecbf968 Compare January 6, 2021 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants