Comparing version 2.0.0 to 2.0.1
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ var inherits = require('inherits') |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ var escape = require('./escape') |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ module.exports.escapeXML = function escapeXML(s) { |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ var parse = require('./parse') |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ var Parser = require('./Parser') |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ var EventEmitter = require('events').EventEmitter |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ var inherits = require('inherits') |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -10,3 +10,3 @@ module.exports = [ | ||
].map(function(name) { | ||
return require('./' + name) | ||
return require('./' + name) | ||
}) |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ var inherits = require('inherits') |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ var inherits = require('inherits') |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ var inherits = require('inherits') |
@@ -1,2 +0,2 @@ | ||
'use strict'; | ||
'use strict' | ||
@@ -3,0 +3,0 @@ var inherits = require('inherits') |
71
ltx.js
@@ -1,3 +0,3 @@ | ||
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
'use strict'; | ||
(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 e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
'use strict' | ||
@@ -394,3 +394,3 @@ var escape = require('./escape') | ||
},{"./escape":3}],2:[function(require,module,exports){ | ||
'use strict'; | ||
'use strict' | ||
@@ -465,4 +465,4 @@ var EventEmitter = require('events').EventEmitter | ||
},{"./Element":1,"./parsers/ltx":6,"events":7,"inherits":8}],3:[function(require,module,exports){ | ||
'use strict'; | ||
},{"./Element":1,"./parsers/ltx":6,"events":8,"inherits":7}],3:[function(require,module,exports){ | ||
'use strict' | ||
@@ -486,3 +486,3 @@ module.exports.escapeXML = function escapeXML(s) { | ||
},{}],4:[function(require,module,exports){ | ||
'use strict'; | ||
'use strict' | ||
@@ -513,3 +513,3 @@ var parse = require('./parse') | ||
},{"./Element":1,"./Parser":2,"./escape":3,"./parse":5}],5:[function(require,module,exports){ | ||
'use strict'; | ||
'use strict' | ||
@@ -541,3 +541,3 @@ var Parser = require('./Parser') | ||
},{"./Parser":2}],6:[function(require,module,exports){ | ||
'use strict'; | ||
'use strict' | ||
@@ -713,3 +713,28 @@ var inherits = require('inherits') | ||
},{"events":7,"inherits":8}],7:[function(require,module,exports){ | ||
},{"events":8,"inherits":7}],7:[function(require,module,exports){ | ||
if (typeof Object.create === 'function') { | ||
// implementation from standard node.js 'util' module | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
ctor.prototype = Object.create(superCtor.prototype, { | ||
constructor: { | ||
value: ctor, | ||
enumerable: false, | ||
writable: true, | ||
configurable: true | ||
} | ||
}); | ||
}; | ||
} else { | ||
// old school shim for old browsers | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
var TempCtor = function () {} | ||
TempCtor.prototype = superCtor.prototype | ||
ctor.prototype = new TempCtor() | ||
ctor.prototype.constructor = ctor | ||
} | ||
} | ||
},{}],8:[function(require,module,exports){ | ||
// Copyright Joyent, Inc. and other Node contributors. | ||
@@ -1017,27 +1042,3 @@ // | ||
},{}],8:[function(require,module,exports){ | ||
if (typeof Object.create === 'function') { | ||
// implementation from standard node.js 'util' module | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
ctor.prototype = Object.create(superCtor.prototype, { | ||
constructor: { | ||
value: ctor, | ||
enumerable: false, | ||
writable: true, | ||
configurable: true | ||
} | ||
}); | ||
}; | ||
} else { | ||
// old school shim for old browsers | ||
module.exports = function inherits(ctor, superCtor) { | ||
ctor.super_ = superCtor | ||
var TempCtor = function () {} | ||
TempCtor.prototype = superCtor.prototype | ||
ctor.prototype = new TempCtor() | ||
ctor.prototype.constructor = ctor | ||
} | ||
} | ||
},{}]},{},[4]); | ||
},{}]},{},[4])(4) | ||
}); |
{ | ||
"name": "ltx", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "./lib/index", | ||
@@ -36,8 +36,3 @@ "browser": "./lib/index-browserify", | ||
"easysax": "^0.1.14", | ||
"grunt": "^0.4.5", | ||
"grunt-browserify": "^4.0.1", | ||
"grunt-cli": "^0.1.13", | ||
"grunt-contrib-clean": "^0.6.0", | ||
"grunt-contrib-jshint": "^0.11.3", | ||
"grunt-vows": "^0.4.2", | ||
"eslint": "^1.3.1", | ||
"microtime": "^2.0.0", | ||
@@ -50,3 +45,6 @@ "node-expat": "^2.3.9", | ||
"scripts": { | ||
"test": "./node_modules/.bin/grunt test" | ||
"webify": "browserify -s ltx lib/index.js -o ltx.js", | ||
"unit": "./node_modules/.bin/vows --spec", | ||
"lint": "./node_modules/.bin/eslint .", | ||
"test": "npm run unit && npm run lint && npm run webify" | ||
}, | ||
@@ -53,0 +51,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
56404
8
17
1803
0