Comparing version 2.8.1 to 2.9.0
@@ -140,2 +140,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ltx = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
var m = attr.match('xmlns:?(.*)') | ||
// eslint-disable-next-line no-prototype-builtins | ||
if (this.attrs.hasOwnProperty(attr) && m) { | ||
@@ -1537,11 +1538,13 @@ namespaces[this.attrs[attr]] = m[1] | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
ctor.prototype = Object.create(superCtor.prototype, { | ||
constructor: { | ||
value: ctor, | ||
enumerable: false, | ||
writable: true, | ||
configurable: true | ||
} | ||
}); | ||
if (superCtor) { | ||
ctor.super_ = superCtor | ||
ctor.prototype = Object.create(superCtor.prototype, { | ||
constructor: { | ||
value: ctor, | ||
enumerable: false, | ||
writable: true, | ||
configurable: true | ||
} | ||
}) | ||
} | ||
}; | ||
@@ -1551,7 +1554,9 @@ } else { | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
var TempCtor = function () {} | ||
TempCtor.prototype = superCtor.prototype | ||
ctor.prototype = new TempCtor() | ||
ctor.prototype.constructor = ctor | ||
if (superCtor) { | ||
ctor.super_ = superCtor | ||
var TempCtor = function () {} | ||
TempCtor.prototype = superCtor.prototype | ||
ctor.prototype = new TempCtor() | ||
ctor.prototype.constructor = ctor | ||
} | ||
} | ||
@@ -1558,0 +1563,0 @@ } |
@@ -140,2 +140,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.ltx = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
var m = attr.match('xmlns:?(.*)') | ||
// eslint-disable-next-line no-prototype-builtins | ||
if (this.attrs.hasOwnProperty(attr) && m) { | ||
@@ -1537,11 +1538,13 @@ namespaces[this.attrs[attr]] = m[1] | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
ctor.prototype = Object.create(superCtor.prototype, { | ||
constructor: { | ||
value: ctor, | ||
enumerable: false, | ||
writable: true, | ||
configurable: true | ||
} | ||
}); | ||
if (superCtor) { | ||
ctor.super_ = superCtor | ||
ctor.prototype = Object.create(superCtor.prototype, { | ||
constructor: { | ||
value: ctor, | ||
enumerable: false, | ||
writable: true, | ||
configurable: true | ||
} | ||
}) | ||
} | ||
}; | ||
@@ -1551,7 +1554,9 @@ } else { | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
var TempCtor = function () {} | ||
TempCtor.prototype = superCtor.prototype | ||
ctor.prototype = new TempCtor() | ||
ctor.prototype.constructor = ctor | ||
if (superCtor) { | ||
ctor.super_ = superCtor | ||
var TempCtor = function () {} | ||
TempCtor.prototype = superCtor.prototype | ||
ctor.prototype = new TempCtor() | ||
ctor.prototype.constructor = ctor | ||
} | ||
} | ||
@@ -1558,0 +1563,0 @@ } |
@@ -93,2 +93,3 @@ 'use strict' | ||
var m = attr.match('xmlns:?(.*)') | ||
// eslint-disable-next-line no-prototype-builtins | ||
if (this.attrs.hasOwnProperty(attr) && m) { | ||
@@ -95,0 +96,0 @@ namespaces[this.attrs[attr]] = m[1] |
{ | ||
"name": "ltx", | ||
"version": "2.8.1", | ||
"version": "2.9.0", | ||
"description": "<xml for=\"JavaScript\">", | ||
@@ -28,16 +28,16 @@ "author": "Astro", | ||
"dependencies": { | ||
"inherits": "^2.0.1" | ||
"inherits": "^2.0.4" | ||
}, | ||
"devDependencies": { | ||
"benchmark": "^2.1.3", | ||
"browserify": "^16.2.3", | ||
"benchmark": "^2.1.4", | ||
"browserify": "^16.5.0", | ||
"libxmljs": "^0.19.5", | ||
"microtime": "^2.1.2", | ||
"node-expat": "^2.3.13", | ||
"microtime": "^3.0.0", | ||
"node-expat": "^2.3.18", | ||
"node-xml": "^1.0.2", | ||
"sax": "^1.2.2", | ||
"saxes": "^3.1.3", | ||
"standard": "^12.0.1", | ||
"vows": "^0.8.1" | ||
"sax": "^1.2.4", | ||
"saxes": "^3.1.11", | ||
"standard": "^14.1.0", | ||
"vows": "^0.8.2" | ||
} | ||
} |
118995
3895
Updatedinherits@^2.0.4