fix(deps): update dependency xmlbuilder to v15 #105
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.2.1
->15.1.1
Release Notes
oozcitak/xmlbuilder-js
v15.1.1
Compare Source
noDoubleEncoding
flag kept named entities other than those specified in the spec (see #16 inxmlbuilder2
).v15.1.0
Compare Source
invalidCharReplacement
option to replace invalid characters with a user supplied replacement character. See #147.v15.0.0
Compare Source
v14.0.0
Compare Source
v13.0.2
Compare Source
v13.0.1
Compare Source
v13.0.0
Compare Source
v12.0.1
Compare Source
v12.0.0
Compare Source
v11.0.1
Compare Source
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
andcloseNode
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
totextEscape
inXMLStringifier
.Fixed a bug where empty arrays would produce child nodes. See #190.
Removed the
skipNullAttributes
option.null
attributes are now skipped by default. Added thekeepNullAttributes
option in case someone needs the old behavior.Removed the
skipNullNodes
option.null
nodes are now skipped by default. Added thekeepNullNodes
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
andcloseAttribute
functions to writer. See #196.Added node types to node objects. Node types and writer states are exported by the module with the
nodeType
andwriterState
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 tovalue
in comment and cdata nodes to unify the API.Removed
doctype
function to prevent name clash with DOM implementation. Use thedtd
function instead.Removed dummy nodes from the XML tree (Those were created while chain-building the tree).
Renamed
attributes
property toattribs
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
skipNullNodes
was set. See #187.v10.1.0
Compare Source
skipNullNodes
option to skip nodes with null values. See #158.v10.0.0
Compare Source
v9.0.7
Compare Source
v9.0.6
Compare Source
v9.0.5
Compare Source
v9.0.4
Compare Source
spacebeforeslash
writer option acceptstrue
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
spacebeforeslash
writer option to add a space character before closing tags of empty elements. See #157.v9.0.1
Compare Source
v9.0.0
Compare Source
v8.2.2
Compare Source
v8.2.1
Compare Source
v8.2.0
Compare Source
v8.1.0
Compare Source
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.Object.assign
withlodash.assign
to support old JS engines. See #111.v8.0.0
Compare Source
begin
export function. See the wiki for details.commentBefore
,commentAfter
,instructionBefore
andinstructionAfter
functions for this purpose.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.
v6.0.0
Compare Source
XMLStringWriter
class which can be accessed by thestringWriter(options)
function exported by the module. AnXMLStreamWriter
is also added which outputs the XML document to a writable stream. A stream writer can be created by calling thestreamWriter(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 callingend()
on the XML document.v5.0.1
Compare Source
v5.0.0
Compare Source
v4.2.1
Compare Source
v4.2.0
Compare Source
noDoubleEncoding
option tocreate()
to control whether existing html entities are encoded.v4.1.0
Compare Source
separateArrayItems
option tocreate()
to control how arrays are handled when converting from objects. e.g.v4.0.0
Compare Source
v3.1.0
Compare Source
#list
decorator ignores empty arrays.v3.0.0
Compare Source
v2.6.5
Compare Source
isArray
instead of lodash.v2.6.4
Compare Source
v2.6.3
Compare Source
v2.6.2
Compare Source
v2.6.1
Compare Source
v2.6.0
Compare Source
XMLNode
constructor overwrote the super class parent.v2.5.2
Compare Source
v2.5.1
Compare Source
v2.5.0
Compare Source
v2.4.6
Compare Source
v2.4.5
Compare Source
v2.4.4
Compare Source
offset
option totoString()
for use in XML fragments.v2.4.3
Compare Source
v2.4.2
Compare Source
v2.4.1
Compare Source
v2.4.0
Compare Source
v2.3.0
Compare Source
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.
This PR has been generated by WhiteSource Renovate. View repository job log here.