kopia lustrzana https://github.com/c9/core
Wed Jan 31 05:00:26 CET 2018
rodzic
49c96550e5
commit
288d1c5458
|
@ -280,7 +280,7 @@ var config = require.config = function(cfg) {
|
|||
config.paths[p] = cfg.paths[p];
|
||||
});
|
||||
|
||||
if (cfg.useCache && global.caches && location.protocol == "https:") {
|
||||
if (cfg.useCache && global.caches && location.protocol === "https:") {
|
||||
config.useCache = true;
|
||||
checkCache();
|
||||
}
|
||||
|
@ -6133,6 +6133,7 @@ var dom = require("../lib/dom");
|
|||
var lang = require("../lib/lang");
|
||||
var BROKEN_SETDATA = useragent.isChrome < 18;
|
||||
var USE_IE_MIME_TYPE = useragent.isIE;
|
||||
var HAS_FOCUS_ARGS = useragent.isChrome > 63;
|
||||
|
||||
var TextInputIOS = require("./textinput_ios").TextInput;
|
||||
var TextInput = function(parentNode, host) {
|
||||
|
@ -6169,12 +6170,29 @@ var TextInput = function(parentNode, host) {
|
|||
host.onFocus(e);
|
||||
resetSelection();
|
||||
});
|
||||
this.$focusScroll = false;
|
||||
this.focus = function() {
|
||||
if (tempStyle) return text.focus();
|
||||
if (tempStyle || HAS_FOCUS_ARGS || this.$focusScroll == "browser")
|
||||
return text.focus({ preventScroll: true });
|
||||
var top = text.style.top;
|
||||
text.style.position = "fixed";
|
||||
text.style.top = "0px";
|
||||
text.focus();
|
||||
var isTransformed = text.getBoundingClientRect().top != 0;
|
||||
var ancestors = [];
|
||||
if (isTransformed) {
|
||||
var t = text.parentElement;
|
||||
while (t) {
|
||||
ancestors.push(t);
|
||||
t.setAttribute("ace_nocontext", true);
|
||||
t = t.parentElement;
|
||||
}
|
||||
}
|
||||
text.focus({ preventScroll: true });
|
||||
if (isTransformed) {
|
||||
ancestors.forEach(function(p) {
|
||||
p.removeAttribute("ace_nocontext");
|
||||
});
|
||||
}
|
||||
setTimeout(function() {
|
||||
text.style.position = "";
|
||||
if (text.style.top == "0px")
|
||||
|
@ -19317,7 +19335,10 @@ var optionsProvider = {
|
|||
getOptions: function(optionNames) {
|
||||
var result = {};
|
||||
if (!optionNames) {
|
||||
optionNames = Object.keys(this.$options);
|
||||
var options = this.$options;
|
||||
optionNames = Object.keys(options).filter(function(key) {
|
||||
return !options[key].hidden;
|
||||
});
|
||||
} else if (!Array.isArray(optionNames)) {
|
||||
result = optionNames;
|
||||
optionNames = Object.keys(result);
|
||||
|
@ -20707,8 +20728,8 @@ function DefaultHandlers(mouseHandler) {
|
|||
var prevScroll = this.$lastScroll;
|
||||
var t = ev.domEvent.timeStamp;
|
||||
var dt = t - prevScroll.t;
|
||||
var vx = ev.wheelX / dt;
|
||||
var vy = ev.wheelY / dt;
|
||||
var vx = dt ? ev.wheelX / dt : prevScroll.vx;
|
||||
var vy = dt ? ev.wheelY / dt : prevScroll.vy;
|
||||
if (dt < SCROLL_COOLDOWN_T) {
|
||||
vx = (vx + prevScroll.vx) / 2;
|
||||
vy = (vy + prevScroll.vy) / 2;
|
||||
|
@ -21642,6 +21663,7 @@ exports.MouseHandler = MouseHandler;
|
|||
|
||||
define("ace/mouse/fold_handler",[], function(require, exports, module) {
|
||||
"use strict";
|
||||
var dom = require("../lib/dom");
|
||||
|
||||
function FoldHandler(editor) {
|
||||
|
||||
|
@ -21657,6 +21679,14 @@ function FoldHandler(editor) {
|
|||
|
||||
e.stop();
|
||||
}
|
||||
|
||||
var target = e.domEvent && e.domEvent.target;
|
||||
if (target && dom.hasCssClass(target, "ace_inline_button")) {
|
||||
if (dom.hasCssClass(target, "ace_toggle_wrap")) {
|
||||
session.setOption("wrap", true);
|
||||
editor.renderer.scrollCursorIntoView();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
editor.on("gutterclick", function(e) {
|
||||
|
@ -22298,11 +22328,11 @@ var Selection = function(session) {
|
|||
this.doc = session.getDocument();
|
||||
|
||||
this.clearSelection();
|
||||
this.lead = this.selectionLead = this.doc.createAnchor(0, 0);
|
||||
this.anchor = this.selectionAnchor = this.doc.createAnchor(0, 0);
|
||||
this.cursor = this.lead = this.doc.createAnchor(0, 0);
|
||||
this.anchor = this.doc.createAnchor(0, 0);
|
||||
|
||||
var self = this;
|
||||
this.lead.on("change", function(e) {
|
||||
this.cursor.on("change", function(e) {
|
||||
self._emit("changeCursor");
|
||||
if (!self.$isEmpty)
|
||||
self._emit("changeSelection");
|
||||
|
@ -22310,7 +22340,7 @@ var Selection = function(session) {
|
|||
self.$desiredColumn = null;
|
||||
});
|
||||
|
||||
this.selectionAnchor.on("change", function() {
|
||||
this.anchor.on("change", function() {
|
||||
if (!self.$isEmpty)
|
||||
self._emit("changeSelection");
|
||||
});
|
||||
|
@ -22320,34 +22350,26 @@ var Selection = function(session) {
|
|||
|
||||
oop.implement(this, EventEmitter);
|
||||
this.isEmpty = function() {
|
||||
return (this.$isEmpty || (
|
||||
return this.$isEmpty || (
|
||||
this.anchor.row == this.lead.row &&
|
||||
this.anchor.column == this.lead.column
|
||||
));
|
||||
);
|
||||
};
|
||||
this.isMultiLine = function() {
|
||||
if (this.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return this.getRange().isMultiLine();
|
||||
return !this.$isEmpty && this.anchor.row != this.cursor.row;
|
||||
};
|
||||
this.getCursor = function() {
|
||||
return this.lead.getPosition();
|
||||
};
|
||||
this.setSelectionAnchor = function(row, column) {
|
||||
this.$isEmpty = false;
|
||||
this.anchor.setPosition(row, column);
|
||||
|
||||
if (this.$isEmpty) {
|
||||
this.$isEmpty = false;
|
||||
this._emit("changeSelection");
|
||||
}
|
||||
};
|
||||
this.getSelectionAnchor = function() {
|
||||
if (this.$isEmpty)
|
||||
return this.getSelectionLead();
|
||||
else
|
||||
return this.anchor.getPosition();
|
||||
|
||||
return this.anchor.getPosition();
|
||||
};
|
||||
this.getSelectionLead = function() {
|
||||
return this.lead.getPosition();
|
||||
|
@ -22381,15 +22403,12 @@ var Selection = function(session) {
|
|||
var anchor = this.anchor;
|
||||
var lead = this.lead;
|
||||
|
||||
if (this.isEmpty())
|
||||
if (this.$isEmpty)
|
||||
return Range.fromPoints(lead, lead);
|
||||
|
||||
if (this.isBackwards()) {
|
||||
return Range.fromPoints(lead, anchor);
|
||||
}
|
||||
else {
|
||||
return Range.fromPoints(anchor, lead);
|
||||
}
|
||||
return this.isBackwards()
|
||||
? Range.fromPoints(lead, anchor)
|
||||
: Range.fromPoints(anchor, lead);
|
||||
};
|
||||
this.clearSelection = function() {
|
||||
if (!this.$isEmpty) {
|
||||
|
@ -22398,22 +22417,17 @@ var Selection = function(session) {
|
|||
}
|
||||
};
|
||||
this.selectAll = function() {
|
||||
var lastRow = this.doc.getLength() - 1;
|
||||
this.setSelectionAnchor(0, 0);
|
||||
this.moveCursorTo(lastRow, this.doc.getLine(lastRow).length);
|
||||
this.cursor.setPosition(Number.MAX_VALUE, Number.MAX_VALUE);
|
||||
};
|
||||
this.setRange =
|
||||
this.setSelectionRange = function(range, reverse) {
|
||||
if (reverse) {
|
||||
this.setSelectionAnchor(range.end.row, range.end.column);
|
||||
this.selectTo(range.start.row, range.start.column);
|
||||
} else {
|
||||
this.setSelectionAnchor(range.start.row, range.start.column);
|
||||
this.selectTo(range.end.row, range.end.column);
|
||||
}
|
||||
if (this.getRange().isEmpty())
|
||||
this.$isEmpty = true;
|
||||
this.$desiredColumn = null;
|
||||
var start = reverse ? range.end : range.start;
|
||||
var end = reverse ? range.start : range.end;
|
||||
this.$isEmpty = !Range.comparePoints(start, end);
|
||||
this.anchor.setPosition(start.row, start.column);
|
||||
this.cursor.setPosition(end.row, end.column);
|
||||
this.$isEmpty = !Range.comparePoints(this.anchor, this.cursor);
|
||||
};
|
||||
|
||||
this.$moveSelection = function(mover) {
|
||||
|
@ -22607,7 +22621,6 @@ var Selection = function(session) {
|
|||
var line = this.doc.getLine(row);
|
||||
var rightOfCursor = line.substring(column);
|
||||
|
||||
var match;
|
||||
this.session.nonTokenRe.lastIndex = 0;
|
||||
this.session.tokenRe.lastIndex = 0;
|
||||
var fold = this.session.getFoldAt(row, column, 1);
|
||||
|
@ -22615,7 +22628,7 @@ var Selection = function(session) {
|
|||
this.moveCursorTo(fold.end.row, fold.end.column);
|
||||
return;
|
||||
}
|
||||
if (match = this.session.nonTokenRe.exec(rightOfCursor)) {
|
||||
if (this.session.nonTokenRe.exec(rightOfCursor)) {
|
||||
column += this.session.nonTokenRe.lastIndex;
|
||||
this.session.nonTokenRe.lastIndex = 0;
|
||||
rightOfCursor = line.substring(column);
|
||||
|
@ -22627,7 +22640,7 @@ var Selection = function(session) {
|
|||
this.moveCursorWordRight();
|
||||
return;
|
||||
}
|
||||
if (match = this.session.tokenRe.exec(rightOfCursor)) {
|
||||
if (this.session.tokenRe.exec(rightOfCursor)) {
|
||||
column += this.session.tokenRe.lastIndex;
|
||||
this.session.tokenRe.lastIndex = 0;
|
||||
}
|
||||
|
@ -22649,10 +22662,9 @@ var Selection = function(session) {
|
|||
}
|
||||
|
||||
var leftOfCursor = lang.stringReverse(str);
|
||||
var match;
|
||||
this.session.nonTokenRe.lastIndex = 0;
|
||||
this.session.tokenRe.lastIndex = 0;
|
||||
if (match = this.session.nonTokenRe.exec(leftOfCursor)) {
|
||||
if (this.session.nonTokenRe.exec(leftOfCursor)) {
|
||||
column -= this.session.nonTokenRe.lastIndex;
|
||||
leftOfCursor = leftOfCursor.slice(this.session.nonTokenRe.lastIndex);
|
||||
this.session.nonTokenRe.lastIndex = 0;
|
||||
|
@ -22664,7 +22676,7 @@ var Selection = function(session) {
|
|||
this.moveCursorWordLeft();
|
||||
return;
|
||||
}
|
||||
if (match = this.session.tokenRe.exec(leftOfCursor)) {
|
||||
if (this.session.tokenRe.exec(leftOfCursor)) {
|
||||
column -= this.session.tokenRe.lastIndex;
|
||||
this.session.tokenRe.lastIndex = 0;
|
||||
}
|
||||
|
@ -22673,12 +22685,12 @@ var Selection = function(session) {
|
|||
};
|
||||
|
||||
this.$shortWordEndIndex = function(rightOfCursor) {
|
||||
var match, index = 0, ch;
|
||||
var index = 0, ch;
|
||||
var whitespaceRe = /\s/;
|
||||
var tokenRe = this.session.tokenRe;
|
||||
|
||||
tokenRe.lastIndex = 0;
|
||||
if (match = this.session.tokenRe.exec(rightOfCursor)) {
|
||||
if (this.session.tokenRe.exec(rightOfCursor)) {
|
||||
index = this.session.tokenRe.lastIndex;
|
||||
} else {
|
||||
while ((ch = rightOfCursor[index]) && whitespaceRe.test(ch))
|
||||
|
@ -22867,9 +22879,9 @@ var Selection = function(session) {
|
|||
try {
|
||||
func(this);
|
||||
var end = this.getCursor();
|
||||
return Range.fromPoints(start,end);
|
||||
return Range.fromPoints(start, end);
|
||||
} catch(e) {
|
||||
return Range.fromPoints(start,start);
|
||||
return Range.fromPoints(start, start);
|
||||
} finally {
|
||||
this.moveCursorToPosition(start);
|
||||
}
|
||||
|
@ -22900,8 +22912,9 @@ var Selection = function(session) {
|
|||
this.addRange(r, true);
|
||||
}
|
||||
return;
|
||||
} else
|
||||
} else {
|
||||
data = data[0];
|
||||
}
|
||||
}
|
||||
if (this.rangeList)
|
||||
this.toSingleRange(data);
|
||||
|
@ -29077,7 +29090,7 @@ var config = require("./config");
|
|||
var TokenIterator = require("./token_iterator").TokenIterator;
|
||||
|
||||
var clipboard = require("./clipboard");
|
||||
var Editor = function(renderer, session) {
|
||||
var Editor = function(renderer, session, options) {
|
||||
var container = renderer.getContainerElement();
|
||||
this.container = container;
|
||||
this.renderer = renderer;
|
||||
|
@ -29085,7 +29098,7 @@ var Editor = function(renderer, session) {
|
|||
|
||||
this.commands = new CommandManager(useragent.isMac ? "mac" : "win", defaultCommands);
|
||||
if (typeof document == "object") {
|
||||
this.textInput = new TextInput(renderer.getTextAreaContainer(), this);
|
||||
this.textInput = new TextInput(renderer.getTextAreaContainer(), this);
|
||||
this.renderer.textarea = this.textInput.getElement();
|
||||
this.$mouseHandler = new MouseHandler(this);
|
||||
new FoldHandler(this);
|
||||
|
@ -29112,8 +29125,10 @@ var Editor = function(renderer, session) {
|
|||
_self._$emitInputEvent.schedule(31);
|
||||
});
|
||||
|
||||
this.setSession(session || new EditSession(""));
|
||||
this.setSession(session || options && options.session || new EditSession(""));
|
||||
config.resetOptions(this);
|
||||
if (options)
|
||||
this.setOptions(options);
|
||||
config._signal("editor", this);
|
||||
};
|
||||
|
||||
|
@ -29643,7 +29658,7 @@ Editor.$uid = 0;
|
|||
var line = session.getLine(selection.start.row);
|
||||
|
||||
var needle = line.substring(startColumn, endColumn);
|
||||
if (!/[\w\d]/.test(needle))
|
||||
if (needle.length > 5000 || !/[\w\d]/.test(needle))
|
||||
return;
|
||||
|
||||
var re = this.$search.$assembleRegExp({
|
||||
|
@ -30874,9 +30889,21 @@ config.defineOptions(Editor.prototype, "editor", {
|
|||
},
|
||||
keyboardHandler: {
|
||||
set: function(val) { this.setKeyboardHandler(val); },
|
||||
get: function() { return this.keybindingId; },
|
||||
get: function() { return this.$keybindingId; },
|
||||
handlesSet: true
|
||||
},
|
||||
value: {
|
||||
set: function(val) { this.session.setValue(val); },
|
||||
get: function() { return this.getValue(); },
|
||||
handlesSet: true,
|
||||
hidden: true
|
||||
},
|
||||
session: {
|
||||
set: function(val) { this.setSession(val); },
|
||||
get: function() { return this.session; },
|
||||
handlesSet: true,
|
||||
hidden: true
|
||||
},
|
||||
|
||||
hScrollBarAlwaysVisible: "renderer",
|
||||
vScrollBarAlwaysVisible: "renderer",
|
||||
|
@ -31423,6 +31450,7 @@ var Text = function(parentEl) {
|
|||
this.TAB_CHAR = "\u2014"; //"\u21E5";
|
||||
this.SPACE_CHAR = "\xB7";
|
||||
this.$padding = 0;
|
||||
this.MAX_LINE_LENGTH = 10000;
|
||||
|
||||
this.$updateEolChar = function() {
|
||||
var doc = this.session.doc;
|
||||
|
@ -31809,9 +31837,19 @@ var Text = function(parentEl) {
|
|||
for (var i = 1; i < tokens.length; i++) {
|
||||
token = tokens[i];
|
||||
value = token.value;
|
||||
if (screenColumn + value.length > this.MAX_LINE_LENGTH)
|
||||
return this.$renderOverflowMessage(stringBuilder, screenColumn, token, value);
|
||||
screenColumn = this.$renderToken(stringBuilder, screenColumn, token, value);
|
||||
}
|
||||
};
|
||||
|
||||
this.$renderOverflowMessage = function(stringBuilder, screenColumn, token, value) {
|
||||
this.$renderToken(stringBuilder, screenColumn, token,
|
||||
value.slice(0, this.MAX_LINE_LENGTH - screenColumn));
|
||||
stringBuilder.push(
|
||||
"<span style='position:absolute;right:0' class='ace_inline_button ace_keyword ace_toggle_wrap'><click to see more...></span>"
|
||||
);
|
||||
};
|
||||
this.$renderLine = function(stringBuilder, row, onlyContents, foldLine) {
|
||||
if (!foldLine && foldLine != false)
|
||||
foldLine = this.session.getFoldLine(row);
|
||||
|
@ -32150,7 +32188,7 @@ var lang = require("../lib/lang");
|
|||
var useragent = require("../lib/useragent");
|
||||
var EventEmitter = require("../lib/event_emitter").EventEmitter;
|
||||
|
||||
var CHAR_COUNT = 100;
|
||||
var CHAR_COUNT = 256;
|
||||
var USE_OBSERVER = typeof ResizeObserver == "function";
|
||||
|
||||
var FontMetrics = exports.FontMetrics = function(parentEl) {
|
||||
|
@ -32699,7 +32737,7 @@ var VirtualRenderer = function(container, theme) {
|
|||
}
|
||||
|
||||
var style = this.$printMarginEl.style;
|
||||
style.left = ((this.characterWidth * this.$printMarginColumn) + this.$padding) + "px";
|
||||
style.left = Math.round(this.characterWidth * this.$printMarginColumn + this.$padding) + "px";
|
||||
style.visibility = this.$showPrintMargin ? "visible" : "hidden";
|
||||
|
||||
if (this.session && this.session.$wrap == -1)
|
||||
|
@ -33032,7 +33070,7 @@ var VirtualRenderer = function(container, theme) {
|
|||
offset = this.scrollTop - firstRowScreen * lineHeight;
|
||||
|
||||
var changes = 0;
|
||||
if (this.layerConfig.width != longestLine)
|
||||
if (this.layerConfig.width != longestLine || hScrollChanged)
|
||||
changes = this.CHANGE_H_SCROLL;
|
||||
if (hScrollChanged || vScrollChanged) {
|
||||
changes = this.$updateCachedSize(true, this.gutterWidth, size.width, size.height);
|
||||
|
@ -33082,6 +33120,9 @@ var VirtualRenderer = function(container, theme) {
|
|||
var charCount = this.session.getScreenWidth();
|
||||
if (this.showInvisibles && !this.session.$useWrapMode)
|
||||
charCount += 1;
|
||||
|
||||
if (this.$textLayer && charCount > this.$textLayer.MAX_LINE_LENGTH)
|
||||
charCount = this.$textLayer.MAX_LINE_LENGTH + 30;
|
||||
|
||||
return Math.max(this.$size.scrollerWidth - 2 * this.$padding, Math.round(charCount * this.characterWidth));
|
||||
};
|
||||
|
@ -70099,8 +70140,8 @@ var EditSession = require("./edit_session").EditSession;
|
|||
this.toSingleRange();
|
||||
this.setSelectionRange(range, lastRange.cursor == lastRange.start);
|
||||
} else {
|
||||
var cursor = this.session.documentToScreenPosition(this.selectionLead);
|
||||
var anchor = this.session.documentToScreenPosition(this.selectionAnchor);
|
||||
var cursor = this.session.documentToScreenPosition(this.cursor);
|
||||
var anchor = this.session.documentToScreenPosition(this.anchor);
|
||||
|
||||
var rectSel = this.rectangularRangeBlock(cursor, anchor);
|
||||
rectSel.forEach(this.addRange, this);
|
||||
|
@ -101203,6 +101244,8 @@ define("plugins/c9.ide.language.core/marker",[], function(require, exports, modu
|
|||
var Range = require("ace/range").Range;
|
||||
var Anchor = require('ace/anchor').Anchor;
|
||||
var comparePoints = Range.comparePoints;
|
||||
|
||||
var MAX_COLUMN = 5000;
|
||||
|
||||
function SimpleAnchor(row, column) {
|
||||
this.row = row;
|
||||
|
@ -101287,9 +101330,12 @@ define("plugins/c9.ide.language.core/marker",[], function(require, exports, modu
|
|||
var showOccurenceMarkers = !editor.inMultiSelectMode
|
||||
&& (sel.isEmpty() ? true : sel.isMultiLine() ? false : null);
|
||||
var occurrenceMarkers = [];
|
||||
var ignoreInfoMarkers = annos.length > 1000;
|
||||
annos.forEach(function(anno) {
|
||||
if (disabledMarkerTypes[anno.type])
|
||||
return;
|
||||
if (ignoreInfoMarkers && anno.type == "info")
|
||||
return;
|
||||
if (anno.pos.el && anno.pos.sl !== anno.pos.el)
|
||||
return;
|
||||
|
||||
|
@ -101298,6 +101344,9 @@ define("plugins/c9.ide.language.core/marker",[], function(require, exports, modu
|
|||
if (pos.sl > lastLine)
|
||||
pos.sl = lastLine;
|
||||
|
||||
if (pos.sc > MAX_COLUMN)
|
||||
return;
|
||||
|
||||
var range = new Range(pos.sl, pos.sc || 0, pos.el, pos.ec || 0);
|
||||
if (anno.type == "occurrence_other" || anno.type == "occurrence_main") {
|
||||
if (!showOccurenceMarkers) {
|
||||
|
@ -110985,14 +111034,10 @@ apf.splitter.templates = {
|
|||
}
|
||||
|
||||
|
||||
apf.plane.show(this);
|
||||
apf.plane.setCursor(_self.type == "vertical" ? "ew-resize" : "ns-resize");
|
||||
|
||||
|
||||
_self.$setStyleClass(this, _self.$baseCSSname + "Moving");
|
||||
|
||||
_self.$setStyleClass(document.body,
|
||||
_self.type == "vertical" ? "w-resize" : "n-resize",
|
||||
[_self.type == "vertical" ? "n-resize" : "w-resize"]);
|
||||
document.onmouseup = function(e) {
|
||||
if (!e) e = event;
|
||||
|
||||
|
@ -111004,8 +111049,7 @@ apf.splitter.templates = {
|
|||
}
|
||||
|
||||
_self.$setStyleClass(_self.$ext, "", [_self.$baseCSSname + "Moving"]);
|
||||
_self.$setStyleClass(document.body, "", ["n-resize", "w-resize"]);
|
||||
|
||||
|
||||
if (changedPosition)
|
||||
pHtml.style.position = "";
|
||||
|
||||
|
@ -111018,8 +111062,7 @@ apf.splitter.templates = {
|
|||
_self.update(newPos, true);
|
||||
|
||||
|
||||
apf.plane.hide();
|
||||
|
||||
apf.plane.unsetCursor();
|
||||
|
||||
if (!_self.realtime) {
|
||||
_self.$ext.style.left = "";
|
||||
|
@ -111195,28 +111238,18 @@ apf.splitter.templates = {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
apf.plane.show(this);
|
||||
|
||||
apf.plane.setCursor(_self.type == "vertical" ? "ew-resize" : "ns-resize");
|
||||
|
||||
_self.$setStyleClass(this, _self.$baseCSSname + "Moving");
|
||||
|
||||
_self.$setStyleClass(document.body,
|
||||
_self.type == "vertical" ? "w-resize" : "n-resize",
|
||||
[_self.type == "vertical" ? "n-resize" : "w-resize"]);
|
||||
document.onmouseup = function(e) {
|
||||
if (!e) e = event;
|
||||
|
||||
_self.$setStyleClass(_self.$ext, "", [_self.$baseCSSname + "Moving"]);
|
||||
_self.$setStyleClass(document.body, "", ["n-resize", "w-resize"]);
|
||||
|
||||
update(e, true);
|
||||
|
||||
|
||||
apf.plane.hide();
|
||||
var frames = document.getElementsByTagName("iframe");
|
||||
for (var i = 0; i < frames.length; i++)
|
||||
frames[i].style.pointerEvents = "";
|
||||
apf.plane.unsetCursor();
|
||||
|
||||
if (!_self.realtime) {
|
||||
_self.$ext.style.left = "";
|
||||
|
@ -116450,10 +116483,10 @@ apf.plane = {
|
|||
return this.$find(options && options.protect || "default");
|
||||
},
|
||||
|
||||
show: function(o, reAppend, copyCursor, useRealSize, options) {
|
||||
show: function(o, options) {
|
||||
this.options = options || {};
|
||||
var item = this.$find(options && options.protect || "default");
|
||||
item.show(o, reAppend, copyCursor, useRealSize, options);
|
||||
item.show(o, options);
|
||||
},
|
||||
|
||||
hide: function(protect, noAnim) {
|
||||
|
@ -116465,22 +116498,21 @@ apf.plane = {
|
|||
}
|
||||
},
|
||||
|
||||
setCursor: function(cursor) {
|
||||
this.show("cursorCover", {
|
||||
cursor: cursor, zClass: "print", protect: "cursorCover"
|
||||
});
|
||||
},
|
||||
|
||||
unsetCursor: function() {
|
||||
this.hide("cursorCover");
|
||||
},
|
||||
|
||||
$factory: function(){
|
||||
var _self = this,
|
||||
spacerPath = "url(" + (apf.skins.skins["default"]
|
||||
? apf.skins.skins["default"].mediaPath + "spacer.gif" : "images/spacer.gif") + ")";
|
||||
|
||||
function getCover(){
|
||||
var obj = document.createElement("DIV");
|
||||
|
||||
return obj;
|
||||
}
|
||||
var _self = this;
|
||||
|
||||
function createCover(){
|
||||
var cover = document.body.appendChild(getCover());
|
||||
if (!_self.options.customCover)
|
||||
cover.style.background = spacerPath;
|
||||
|
||||
var cover = apf.buildDom(["div"], document.body);
|
||||
cover.style.position = "fixed";
|
||||
cover.style.left = 0;
|
||||
cover.style.top = 0;
|
||||
|
@ -116494,11 +116526,11 @@ apf.plane = {
|
|||
return {
|
||||
host: this,
|
||||
plane: plane,
|
||||
lastCursor: null,
|
||||
lastCoverType: "default",
|
||||
|
||||
show: function(o, reAppend, copyCursor, useRealSize, options) {
|
||||
var coverType = options && options.customCover ? "custom" : "default",
|
||||
show: function(o, options) {
|
||||
if (!options) options = {}
|
||||
var coverType = options.customCover ? "custom" : "default",
|
||||
plane;
|
||||
|
||||
if (coverType == "custom" || this.lastCoverType != coverType)
|
||||
|
@ -116506,63 +116538,27 @@ apf.plane = {
|
|||
|
||||
plane = this.plane;
|
||||
|
||||
if (!options || !options.customCover)
|
||||
this.plane.style.background = options && options.color || spacerPath;
|
||||
if (!options.customCover)
|
||||
this.plane.style.background = options.color || "";
|
||||
|
||||
this.animate = options && options.animate;
|
||||
this.protect = options && options.protect;
|
||||
this.protect = options.protect;
|
||||
|
||||
if (this.protect)
|
||||
apf.setProperty("planes", (apf.planes || 0) + 1);
|
||||
|
||||
if (o) { //@experimental
|
||||
this.current = o;
|
||||
if (reAppend) {
|
||||
this.$originalPlace = [o.parentNode, o.nextSibling];
|
||||
this.plane.appendChild(o);
|
||||
}
|
||||
}
|
||||
if (options && options.zIndex)
|
||||
apf.window.zManager.set(options && options.zClass || "plane", this.plane, !reAppend && o);
|
||||
this.current = o.style && o;
|
||||
if (options.zIndex || options.zClass)
|
||||
apf.window.zManager.set(options.zClass || "plane", this.plane, this.current);
|
||||
|
||||
useRealSize = apf.isIE;
|
||||
var pWidth = (plane.parentNode == document.body
|
||||
? useRealSize ? document.documentElement.offsetWidth : apf.getWindowWidth()
|
||||
: plane.parentNode.offsetWidth);
|
||||
|
||||
var pHeight = (plane.parentNode == document.body
|
||||
? useRealSize ? document.documentElement.offsetHeight : apf.getWindowHeight()
|
||||
: plane.parentNode.offsetHeight);
|
||||
|
||||
if (copyCursor) {
|
||||
if (this.lastCursor === null)
|
||||
this.lastCursor = document.body.style.cursor;
|
||||
document.body.style.cursor = apf.getStyle(o, "cursor");
|
||||
}
|
||||
this.plane.style.cursor = options.cursor || "";
|
||||
|
||||
this.plane.style.display = "block";
|
||||
var toOpacity = parseFloat(options && options.opacity) || 1;
|
||||
if (this.animate) {
|
||||
var _self = this;
|
||||
this.plane.style.opacity = 0;
|
||||
setTimeout(function(){
|
||||
apf.tween.single(_self.plane, {
|
||||
steps: 5,
|
||||
interval: 10,
|
||||
type: "fade",
|
||||
from: 0,
|
||||
to: toOpacity
|
||||
});
|
||||
}, 100);
|
||||
}
|
||||
else
|
||||
this.plane.style.opacity = toOpacity;
|
||||
this.plane.style.opacity = parseFloat(options.opacity) || (options.color ? 1 : 0);
|
||||
|
||||
var diff = apf.getDiff(plane);
|
||||
this.plane.style.width = "100%";//(pWidth - diff[0]) + "px";
|
||||
this.plane.style.height = "100%";//(pHeight - diff[1]) + "px";
|
||||
this.plane.style.width = "100%";
|
||||
this.plane.style.height = "100%";
|
||||
|
||||
this.lastCoverType = options && options.customCover ? "custom" : "default";
|
||||
this.lastCoverType = options.customCover ? "custom" : "default";
|
||||
|
||||
return plane;
|
||||
},
|
||||
|
@ -116571,50 +116567,16 @@ apf.plane = {
|
|||
if (this.protect)
|
||||
apf.setProperty("planes", apf.planes - 1);
|
||||
|
||||
var isChild; // try...catch block is needed to work around a FF3 Win issue with HTML elements
|
||||
try {
|
||||
isChild = apf.isChildOf(this.plane, document.activeElement);
|
||||
}
|
||||
catch (ex) {
|
||||
isChild = false;
|
||||
}
|
||||
if (this.current && this.current.parentNode == this.plane)
|
||||
this.$originalPlace[0].insertBefore(this.current, this.$originalPlace[1]);
|
||||
|
||||
if (this.animate && !noAnim) {
|
||||
var _self = this;
|
||||
setTimeout(function(){
|
||||
apf.tween.single(_self.plane, {
|
||||
steps: 5,
|
||||
interval: 10,
|
||||
type: "fade",
|
||||
from: apf.getStyle(_self.plane, "opacity"),
|
||||
to: 0,
|
||||
onfinish: function(){
|
||||
_self.plane.style.display = "none";
|
||||
}
|
||||
});
|
||||
}, 100);
|
||||
}
|
||||
else {
|
||||
this.plane.style.opacity = 0;
|
||||
if (this.current)
|
||||
apf.window.zManager.clear(this.plane, this.current);
|
||||
this.plane.style.display = "none";
|
||||
}
|
||||
|
||||
if (isChild && apf.document.activeElement) {
|
||||
document.activeElement.focus();
|
||||
apf.document.activeElement.$focus();
|
||||
}
|
||||
this.plane.style.opacity = 0;
|
||||
if (this.current)
|
||||
apf.window.zManager.clear(this.plane, this.current);
|
||||
this.plane.style.display = "none";
|
||||
|
||||
this.current = null;
|
||||
|
||||
if (this.lastCursor !== null) {
|
||||
document.body.style.cursor = this.lastCursor;
|
||||
this.lastCursor = null;
|
||||
}
|
||||
|
||||
return this.plane;
|
||||
}
|
||||
};
|
||||
|
@ -121717,7 +121679,7 @@ apf.BaseStateButtons = function(){
|
|||
pNode.style.height = (pNode.offsetHeight - pDiff[1]) + "px";
|
||||
|
||||
if (!hasAnimated && _self.$maxconf && _self.$maxconf[4])
|
||||
apf.plane.show(htmlNode, false, null, null, {
|
||||
apf.plane.show(htmlNode, {
|
||||
color: _self.$maxconf[4],
|
||||
opacity: _self.$maxconf[5],
|
||||
animate: _self.animate,
|
||||
|
@ -122173,9 +122135,7 @@ apf.Interactive = function(){
|
|||
if (_self.editable)
|
||||
posAbs = true;
|
||||
if (posAbs && !_self.aData) {
|
||||
apf.plane.show(dragOutline
|
||||
? oOutline
|
||||
: _self.$ext, e.reappend);//, true
|
||||
apf.plane.setCursor("default");
|
||||
}
|
||||
|
||||
|
||||
|
@ -122214,7 +122174,7 @@ apf.Interactive = function(){
|
|||
|
||||
|
||||
if (posAbs && !_self.aData)
|
||||
apf.plane.hide();
|
||||
apf.plane.unsetCursor();
|
||||
|
||||
|
||||
var htmlNode = dragOutline
|
||||
|
@ -122398,29 +122358,16 @@ apf.Interactive = function(){
|
|||
|
||||
|
||||
if (posAbs) {
|
||||
apf.plane.show(resizeOutline
|
||||
? oOutline
|
||||
: ext);//, true
|
||||
apf.plane.setCursor(getCssCursor(resizeType) + "-resize");
|
||||
}
|
||||
|
||||
|
||||
var iMarginLeft;
|
||||
|
||||
|
||||
{
|
||||
if (ext.style.right) {
|
||||
ext.style.left = myPos[0] + "px";
|
||||
}
|
||||
if (ext.style.bottom) {
|
||||
ext.style.top = myPos[1] + "px";
|
||||
}
|
||||
}
|
||||
|
||||
if (!options || !options.nocursor) {
|
||||
if (lastCursor === null)
|
||||
lastCursor = document.body.style.cursor;//apf.getStyle(document.body, "cursor");
|
||||
document.body.style.cursor = getCssCursor(resizeType) + "-resize";
|
||||
}
|
||||
if (ext.style.right)
|
||||
ext.style.left = myPos[0] + "px";
|
||||
if (ext.style.bottom)
|
||||
ext.style.top = myPos[1] + "px";
|
||||
|
||||
document.onmousemove = resizeMove;
|
||||
document.onmouseup = function(e, cancel) {
|
||||
|
@ -122428,7 +122375,7 @@ apf.Interactive = function(){
|
|||
|
||||
|
||||
if (posAbs)
|
||||
apf.plane.hide();
|
||||
apf.plane.unsetCursor();
|
||||
|
||||
|
||||
clearTimeout(timer);
|
||||
|
@ -124905,7 +124852,7 @@ apf.AmlWindow = function(struct, tagName) {
|
|||
this.$propHandlers["modal"] = function(value) {
|
||||
if (value) {
|
||||
if (this.visible)
|
||||
apf.plane.show(this.$ext, false, null, null, {
|
||||
apf.plane.show(this.$ext, {
|
||||
color: "black",
|
||||
opacity: this.cover && this.cover.getAttribute("opacity") || 0.5,
|
||||
protect: this.$uniqueId,
|
||||
|
@ -124969,7 +124916,7 @@ apf.AmlWindow = function(struct, tagName) {
|
|||
return (this.visible = false);
|
||||
|
||||
if (this.modal) {
|
||||
apf.plane.show(this.$ext, false, null, null, {
|
||||
apf.plane.show(this.$ext, {
|
||||
color: "black",
|
||||
opacity: this.cover && this.cover.getAttribute("opacity") || 0.5,
|
||||
protect: this.$uniqueId,
|
||||
|
|
|
@ -149,7 +149,6 @@ exports.transform = function(iterator, maxPos, context) {
|
|||
var value = '';
|
||||
|
||||
while (token!==null) {
|
||||
console.log(token);
|
||||
|
||||
if( !token ){
|
||||
token = iterator.stepForward();
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -25,6 +25,7 @@ var Text = function(parentEl) {
|
|||
this.TAB_CHAR = "\u2014"; //"\u21E5";
|
||||
this.SPACE_CHAR = "\xB7";
|
||||
this.$padding = 0;
|
||||
this.MAX_LINE_LENGTH = 10000;
|
||||
|
||||
this.$updateEolChar = function() {
|
||||
var doc = this.session.doc;
|
||||
|
@ -411,9 +412,19 @@ var Text = function(parentEl) {
|
|||
for (var i = 1; i < tokens.length; i++) {
|
||||
token = tokens[i];
|
||||
value = token.value;
|
||||
if (screenColumn + value.length > this.MAX_LINE_LENGTH)
|
||||
return this.$renderOverflowMessage(stringBuilder, screenColumn, token, value);
|
||||
screenColumn = this.$renderToken(stringBuilder, screenColumn, token, value);
|
||||
}
|
||||
};
|
||||
|
||||
this.$renderOverflowMessage = function(stringBuilder, screenColumn, token, value) {
|
||||
this.$renderToken(stringBuilder, screenColumn, token,
|
||||
value.slice(0, this.MAX_LINE_LENGTH - screenColumn));
|
||||
stringBuilder.push(
|
||||
"<span style='position:absolute;right:0' class='ace_inline_button ace_keyword ace_toggle_wrap'><click to see more...></span>"
|
||||
);
|
||||
};
|
||||
this.$renderLine = function(stringBuilder, row, onlyContents, foldLine) {
|
||||
if (!foldLine && foldLine != false)
|
||||
foldLine = this.session.getFoldLine(row);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -628,7 +628,10 @@ var optionsProvider = {
|
|||
getOptions: function(optionNames) {
|
||||
var result = {};
|
||||
if (!optionNames) {
|
||||
optionNames = Object.keys(this.$options);
|
||||
var options = this.$options;
|
||||
optionNames = Object.keys(options).filter(function(key) {
|
||||
return !options[key].hidden;
|
||||
});
|
||||
} else if (!Array.isArray(optionNames)) {
|
||||
result = optionNames;
|
||||
optionNames = Object.keys(result);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -92,8 +92,6 @@ dom.importCssString(".ace_occur-highlight {\n\
|
|||
background-color: rgba(87, 255, 8, 0.25);\n\
|
||||
position: absolute;\n\
|
||||
z-index: 4;\n\
|
||||
-moz-box-sizing: border-box;\n\
|
||||
-webkit-box-sizing: border-box;\n\
|
||||
box-sizing: border-box;\n\
|
||||
box-shadow: 0 0 4px rgb(91, 255, 50);\n\
|
||||
}\n\
|
||||
|
@ -563,8 +561,6 @@ dom.importCssString && dom.importCssString("\
|
|||
.ace_marker-layer .ace_isearch-result {\
|
||||
position: absolute;\
|
||||
z-index: 6;\
|
||||
-moz-box-sizing: border-box;\
|
||||
-webkit-box-sizing: border-box;\
|
||||
box-sizing: border-box;\
|
||||
}\
|
||||
div.ace_isearch-result {\
|
||||
|
@ -639,8 +635,6 @@ exports.handler.attach = function(editor) {
|
|||
dom.importCssString('\
|
||||
.emacs-mode .ace_cursor{\
|
||||
border: 1px rgba(50,250,50,0.8) solid!important;\
|
||||
-moz-box-sizing: border-box!important;\
|
||||
-webkit-box-sizing: border-box!important;\
|
||||
box-sizing: border-box!important;\
|
||||
background-color: rgba(0,250,0,0.9);\
|
||||
opacity: 0.5;\
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
font-size: 12px;
|
||||
padding: 0 0 0 0;
|
||||
background: #4d4d4d;
|
||||
flex: 1;
|
||||
}
|
||||
.chatText p {
|
||||
padding: 7px 7px 7px 10px;
|
||||
|
@ -1439,8 +1440,6 @@
|
|||
}
|
||||
.ace_content {
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
@ -1556,6 +1555,16 @@
|
|||
opacity: 1;
|
||||
text-indent: 0;
|
||||
}
|
||||
[ace_nocontext=true] {
|
||||
transform: none!important;
|
||||
filter: none!important;
|
||||
clip-path: none!important;
|
||||
mask: none!important;
|
||||
contain: none!important;
|
||||
perspective: none!important;
|
||||
mix-blend-mode: initial!important;
|
||||
z-index: auto;
|
||||
}
|
||||
.ace_layer {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
|
@ -1564,8 +1573,6 @@
|
|||
white-space: pre;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -1588,8 +1595,6 @@
|
|||
.ace_cursor {
|
||||
z-index: 4;
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border-left: 2px solid;
|
||||
transform: translatez(0);
|
||||
|
@ -1608,7 +1613,6 @@
|
|||
opacity: 0.2;
|
||||
}
|
||||
.ace_smooth-blinking .ace_cursor {
|
||||
-webkit-transition: opacity 0.18s;
|
||||
transition: opacity 0.18s;
|
||||
}
|
||||
.ace_marker-layer .ace_step,
|
||||
|
@ -1631,13 +1635,9 @@
|
|||
.ace_marker-layer .ace_selected-word {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.ace_line .ace_fold {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
height: 11px;
|
||||
|
@ -1657,7 +1657,6 @@
|
|||
}
|
||||
.ace_tooltip {
|
||||
background-color: #FFF;
|
||||
background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));
|
||||
background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
|
||||
border: 1px solid gray;
|
||||
border-radius: 1px;
|
||||
|
@ -1667,8 +1666,6 @@
|
|||
padding: 3px 4px;
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
cursor: default;
|
||||
white-space: pre;
|
||||
|
@ -1683,8 +1680,6 @@
|
|||
padding-right: 13px;
|
||||
}
|
||||
.ace_fold-widget {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0 -12px 0 1px;
|
||||
display: none;
|
||||
|
@ -1732,17 +1727,29 @@
|
|||
.ace_dark .ace_fold-widget:active {
|
||||
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
.ace_inline_button {
|
||||
border: 1px solid lightgray;
|
||||
display: inline-block;
|
||||
margin: -1px 8px;
|
||||
padding: 0 5px;
|
||||
pointer-events: auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ace_inline_button:hover {
|
||||
border-color: gray;
|
||||
background: rgba(200, 200, 200, 0.2);
|
||||
display: inline-block;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.ace_fold-widget.ace_invalid {
|
||||
background-color: #FFB4B4;
|
||||
border-color: #DE5555;
|
||||
}
|
||||
.ace_fade-fold-widgets .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.4s ease 0.05s;
|
||||
transition: opacity 0.4s ease 0.05s;
|
||||
opacity: 0;
|
||||
}
|
||||
.ace_fade-fold-widgets:hover .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.05s ease 0.05s;
|
||||
transition: opacity 0.05s ease 0.05s;
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
font-size: 12px;
|
||||
padding: 0 0 0 0;
|
||||
background: #333333;
|
||||
flex: 1;
|
||||
}
|
||||
.chatText p {
|
||||
padding: 7px 7px 7px 10px;
|
||||
|
@ -1439,8 +1440,6 @@
|
|||
}
|
||||
.ace_content {
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
@ -1556,6 +1555,16 @@
|
|||
opacity: 1;
|
||||
text-indent: 0;
|
||||
}
|
||||
[ace_nocontext=true] {
|
||||
transform: none!important;
|
||||
filter: none!important;
|
||||
clip-path: none!important;
|
||||
mask: none!important;
|
||||
contain: none!important;
|
||||
perspective: none!important;
|
||||
mix-blend-mode: initial!important;
|
||||
z-index: auto;
|
||||
}
|
||||
.ace_layer {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
|
@ -1564,8 +1573,6 @@
|
|||
white-space: pre;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -1588,8 +1595,6 @@
|
|||
.ace_cursor {
|
||||
z-index: 4;
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border-left: 2px solid;
|
||||
transform: translatez(0);
|
||||
|
@ -1608,7 +1613,6 @@
|
|||
opacity: 0.2;
|
||||
}
|
||||
.ace_smooth-blinking .ace_cursor {
|
||||
-webkit-transition: opacity 0.18s;
|
||||
transition: opacity 0.18s;
|
||||
}
|
||||
.ace_marker-layer .ace_step,
|
||||
|
@ -1631,13 +1635,9 @@
|
|||
.ace_marker-layer .ace_selected-word {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.ace_line .ace_fold {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
height: 11px;
|
||||
|
@ -1657,7 +1657,6 @@
|
|||
}
|
||||
.ace_tooltip {
|
||||
background-color: #FFF;
|
||||
background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));
|
||||
background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
|
||||
border: 1px solid gray;
|
||||
border-radius: 1px;
|
||||
|
@ -1667,8 +1666,6 @@
|
|||
padding: 3px 4px;
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
cursor: default;
|
||||
white-space: pre;
|
||||
|
@ -1683,8 +1680,6 @@
|
|||
padding-right: 13px;
|
||||
}
|
||||
.ace_fold-widget {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0 -12px 0 1px;
|
||||
display: none;
|
||||
|
@ -1732,17 +1727,29 @@
|
|||
.ace_dark .ace_fold-widget:active {
|
||||
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
.ace_inline_button {
|
||||
border: 1px solid lightgray;
|
||||
display: inline-block;
|
||||
margin: -1px 8px;
|
||||
padding: 0 5px;
|
||||
pointer-events: auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ace_inline_button:hover {
|
||||
border-color: gray;
|
||||
background: rgba(200, 200, 200, 0.2);
|
||||
display: inline-block;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.ace_fold-widget.ace_invalid {
|
||||
background-color: #FFB4B4;
|
||||
border-color: #DE5555;
|
||||
}
|
||||
.ace_fade-fold-widgets .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.4s ease 0.05s;
|
||||
transition: opacity 0.4s ease 0.05s;
|
||||
opacity: 0;
|
||||
}
|
||||
.ace_fade-fold-widgets:hover .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.05s ease 0.05s;
|
||||
transition: opacity 0.05s ease 0.05s;
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
font-size: 12px;
|
||||
padding: 0 0 0 0;
|
||||
background: #303130;
|
||||
flex: 1;
|
||||
}
|
||||
.chatText p {
|
||||
padding: 10px 10px 10px 12px;
|
||||
|
@ -1371,8 +1372,6 @@
|
|||
}
|
||||
.ace_content {
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
@ -1488,6 +1487,16 @@
|
|||
opacity: 1;
|
||||
text-indent: 0;
|
||||
}
|
||||
[ace_nocontext=true] {
|
||||
transform: none!important;
|
||||
filter: none!important;
|
||||
clip-path: none!important;
|
||||
mask: none!important;
|
||||
contain: none!important;
|
||||
perspective: none!important;
|
||||
mix-blend-mode: initial!important;
|
||||
z-index: auto;
|
||||
}
|
||||
.ace_layer {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
|
@ -1496,8 +1505,6 @@
|
|||
white-space: pre;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -1520,8 +1527,6 @@
|
|||
.ace_cursor {
|
||||
z-index: 4;
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border-left: 2px solid;
|
||||
transform: translatez(0);
|
||||
|
@ -1540,7 +1545,6 @@
|
|||
opacity: 0.2;
|
||||
}
|
||||
.ace_smooth-blinking .ace_cursor {
|
||||
-webkit-transition: opacity 0.18s;
|
||||
transition: opacity 0.18s;
|
||||
}
|
||||
.ace_marker-layer .ace_step,
|
||||
|
@ -1563,13 +1567,9 @@
|
|||
.ace_marker-layer .ace_selected-word {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.ace_line .ace_fold {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
height: 11px;
|
||||
|
@ -1589,7 +1589,6 @@
|
|||
}
|
||||
.ace_tooltip {
|
||||
background-color: #FFF;
|
||||
background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));
|
||||
background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
|
||||
border: 1px solid gray;
|
||||
border-radius: 1px;
|
||||
|
@ -1599,8 +1598,6 @@
|
|||
padding: 3px 4px;
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
cursor: default;
|
||||
white-space: pre;
|
||||
|
@ -1615,8 +1612,6 @@
|
|||
padding-right: 13px;
|
||||
}
|
||||
.ace_fold-widget {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0 -12px 0 1px;
|
||||
display: none;
|
||||
|
@ -1664,17 +1659,29 @@
|
|||
.ace_dark .ace_fold-widget:active {
|
||||
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
.ace_inline_button {
|
||||
border: 1px solid lightgray;
|
||||
display: inline-block;
|
||||
margin: -1px 8px;
|
||||
padding: 0 5px;
|
||||
pointer-events: auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ace_inline_button:hover {
|
||||
border-color: gray;
|
||||
background: rgba(200, 200, 200, 0.2);
|
||||
display: inline-block;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.ace_fold-widget.ace_invalid {
|
||||
background-color: #FFB4B4;
|
||||
border-color: #DE5555;
|
||||
}
|
||||
.ace_fade-fold-widgets .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.4s ease 0.05s;
|
||||
transition: opacity 0.4s ease 0.05s;
|
||||
opacity: 0;
|
||||
}
|
||||
.ace_fade-fold-widgets:hover .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.05s ease 0.05s;
|
||||
transition: opacity 0.05s ease 0.05s;
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
font-size: 12px;
|
||||
padding: 0 0 0 0;
|
||||
background: #fbfbfb;
|
||||
flex: 1;
|
||||
}
|
||||
.chatText p {
|
||||
padding: 10px 10px 10px 12px;
|
||||
|
@ -1371,8 +1372,6 @@
|
|||
}
|
||||
.ace_content {
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
@ -1488,6 +1487,16 @@
|
|||
opacity: 1;
|
||||
text-indent: 0;
|
||||
}
|
||||
[ace_nocontext=true] {
|
||||
transform: none!important;
|
||||
filter: none!important;
|
||||
clip-path: none!important;
|
||||
mask: none!important;
|
||||
contain: none!important;
|
||||
perspective: none!important;
|
||||
mix-blend-mode: initial!important;
|
||||
z-index: auto;
|
||||
}
|
||||
.ace_layer {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
|
@ -1496,8 +1505,6 @@
|
|||
white-space: pre;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -1520,8 +1527,6 @@
|
|||
.ace_cursor {
|
||||
z-index: 4;
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border-left: 2px solid;
|
||||
transform: translatez(0);
|
||||
|
@ -1540,7 +1545,6 @@
|
|||
opacity: 0.2;
|
||||
}
|
||||
.ace_smooth-blinking .ace_cursor {
|
||||
-webkit-transition: opacity 0.18s;
|
||||
transition: opacity 0.18s;
|
||||
}
|
||||
.ace_marker-layer .ace_step,
|
||||
|
@ -1563,13 +1567,9 @@
|
|||
.ace_marker-layer .ace_selected-word {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.ace_line .ace_fold {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
height: 11px;
|
||||
|
@ -1589,7 +1589,6 @@
|
|||
}
|
||||
.ace_tooltip {
|
||||
background-color: #FFF;
|
||||
background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));
|
||||
background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
|
||||
border: 1px solid gray;
|
||||
border-radius: 1px;
|
||||
|
@ -1599,8 +1598,6 @@
|
|||
padding: 3px 4px;
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
cursor: default;
|
||||
white-space: pre;
|
||||
|
@ -1615,8 +1612,6 @@
|
|||
padding-right: 13px;
|
||||
}
|
||||
.ace_fold-widget {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0 -12px 0 1px;
|
||||
display: none;
|
||||
|
@ -1664,17 +1659,29 @@
|
|||
.ace_dark .ace_fold-widget:active {
|
||||
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
.ace_inline_button {
|
||||
border: 1px solid lightgray;
|
||||
display: inline-block;
|
||||
margin: -1px 8px;
|
||||
padding: 0 5px;
|
||||
pointer-events: auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ace_inline_button:hover {
|
||||
border-color: gray;
|
||||
background: rgba(200, 200, 200, 0.2);
|
||||
display: inline-block;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.ace_fold-widget.ace_invalid {
|
||||
background-color: #FFB4B4;
|
||||
border-color: #DE5555;
|
||||
}
|
||||
.ace_fade-fold-widgets .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.4s ease 0.05s;
|
||||
transition: opacity 0.4s ease 0.05s;
|
||||
opacity: 0;
|
||||
}
|
||||
.ace_fade-fold-widgets:hover .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.05s ease 0.05s;
|
||||
transition: opacity 0.05s ease 0.05s;
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
font-size: 12px;
|
||||
padding: 0 0 0 0;
|
||||
background: #212121;
|
||||
flex: 1;
|
||||
}
|
||||
.chatText p {
|
||||
padding: 7px 7px 7px 10px;
|
||||
|
@ -1439,8 +1440,6 @@
|
|||
}
|
||||
.ace_content {
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
@ -1556,6 +1555,16 @@
|
|||
opacity: 1;
|
||||
text-indent: 0;
|
||||
}
|
||||
[ace_nocontext=true] {
|
||||
transform: none!important;
|
||||
filter: none!important;
|
||||
clip-path: none!important;
|
||||
mask: none!important;
|
||||
contain: none!important;
|
||||
perspective: none!important;
|
||||
mix-blend-mode: initial!important;
|
||||
z-index: auto;
|
||||
}
|
||||
.ace_layer {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
|
@ -1564,8 +1573,6 @@
|
|||
white-space: pre;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -1588,8 +1595,6 @@
|
|||
.ace_cursor {
|
||||
z-index: 4;
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border-left: 2px solid;
|
||||
transform: translatez(0);
|
||||
|
@ -1608,7 +1613,6 @@
|
|||
opacity: 0.2;
|
||||
}
|
||||
.ace_smooth-blinking .ace_cursor {
|
||||
-webkit-transition: opacity 0.18s;
|
||||
transition: opacity 0.18s;
|
||||
}
|
||||
.ace_marker-layer .ace_step,
|
||||
|
@ -1631,13 +1635,9 @@
|
|||
.ace_marker-layer .ace_selected-word {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.ace_line .ace_fold {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
height: 11px;
|
||||
|
@ -1657,7 +1657,6 @@
|
|||
}
|
||||
.ace_tooltip {
|
||||
background-color: #FFF;
|
||||
background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));
|
||||
background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
|
||||
border: 1px solid gray;
|
||||
border-radius: 1px;
|
||||
|
@ -1667,8 +1666,6 @@
|
|||
padding: 3px 4px;
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
cursor: default;
|
||||
white-space: pre;
|
||||
|
@ -1683,8 +1680,6 @@
|
|||
padding-right: 13px;
|
||||
}
|
||||
.ace_fold-widget {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0 -12px 0 1px;
|
||||
display: none;
|
||||
|
@ -1732,17 +1727,29 @@
|
|||
.ace_dark .ace_fold-widget:active {
|
||||
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
.ace_inline_button {
|
||||
border: 1px solid lightgray;
|
||||
display: inline-block;
|
||||
margin: -1px 8px;
|
||||
padding: 0 5px;
|
||||
pointer-events: auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ace_inline_button:hover {
|
||||
border-color: gray;
|
||||
background: rgba(200, 200, 200, 0.2);
|
||||
display: inline-block;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.ace_fold-widget.ace_invalid {
|
||||
background-color: #FFB4B4;
|
||||
border-color: #DE5555;
|
||||
}
|
||||
.ace_fade-fold-widgets .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.4s ease 0.05s;
|
||||
transition: opacity 0.4s ease 0.05s;
|
||||
opacity: 0;
|
||||
}
|
||||
.ace_fade-fold-widgets:hover .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.05s ease 0.05s;
|
||||
transition: opacity 0.05s ease 0.05s;
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
font-size: 12px;
|
||||
padding: 0 0 0 0;
|
||||
background: #393939;
|
||||
flex: 1;
|
||||
}
|
||||
.chatText p {
|
||||
padding: 7px 7px 7px 10px;
|
||||
|
@ -1439,8 +1440,6 @@
|
|||
}
|
||||
.ace_content {
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
min-width: 100%;
|
||||
}
|
||||
|
@ -1556,6 +1555,16 @@
|
|||
opacity: 1;
|
||||
text-indent: 0;
|
||||
}
|
||||
[ace_nocontext=true] {
|
||||
transform: none!important;
|
||||
filter: none!important;
|
||||
clip-path: none!important;
|
||||
mask: none!important;
|
||||
contain: none!important;
|
||||
perspective: none!important;
|
||||
mix-blend-mode: initial!important;
|
||||
z-index: auto;
|
||||
}
|
||||
.ace_layer {
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
|
@ -1564,8 +1573,6 @@
|
|||
white-space: pre;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -1588,8 +1595,6 @@
|
|||
.ace_cursor {
|
||||
z-index: 4;
|
||||
position: absolute;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
border-left: 2px solid;
|
||||
transform: translatez(0);
|
||||
|
@ -1608,7 +1613,6 @@
|
|||
opacity: 0.2;
|
||||
}
|
||||
.ace_smooth-blinking .ace_cursor {
|
||||
-webkit-transition: opacity 0.18s;
|
||||
transition: opacity 0.18s;
|
||||
}
|
||||
.ace_marker-layer .ace_step,
|
||||
|
@ -1631,13 +1635,9 @@
|
|||
.ace_marker-layer .ace_selected-word {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.ace_line .ace_fold {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
height: 11px;
|
||||
|
@ -1657,7 +1657,6 @@
|
|||
}
|
||||
.ace_tooltip {
|
||||
background-color: #FFF;
|
||||
background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));
|
||||
background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));
|
||||
border: 1px solid gray;
|
||||
border-radius: 1px;
|
||||
|
@ -1667,8 +1666,6 @@
|
|||
padding: 3px 4px;
|
||||
position: fixed;
|
||||
z-index: 999999;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
cursor: default;
|
||||
white-space: pre;
|
||||
|
@ -1683,8 +1680,6 @@
|
|||
padding-right: 13px;
|
||||
}
|
||||
.ace_fold-widget {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
margin: 0 -12px 0 1px;
|
||||
display: none;
|
||||
|
@ -1732,17 +1727,29 @@
|
|||
.ace_dark .ace_fold-widget:active {
|
||||
box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
.ace_inline_button {
|
||||
border: 1px solid lightgray;
|
||||
display: inline-block;
|
||||
margin: -1px 8px;
|
||||
padding: 0 5px;
|
||||
pointer-events: auto;
|
||||
cursor: pointer;
|
||||
}
|
||||
.ace_inline_button:hover {
|
||||
border-color: gray;
|
||||
background: rgba(200, 200, 200, 0.2);
|
||||
display: inline-block;
|
||||
pointer-events: auto;
|
||||
}
|
||||
.ace_fold-widget.ace_invalid {
|
||||
background-color: #FFB4B4;
|
||||
border-color: #DE5555;
|
||||
}
|
||||
.ace_fade-fold-widgets .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.4s ease 0.05s;
|
||||
transition: opacity 0.4s ease 0.05s;
|
||||
opacity: 0;
|
||||
}
|
||||
.ace_fade-fold-widgets:hover .ace_fold-widget {
|
||||
-webkit-transition: opacity 0.05s ease 0.05s;
|
||||
transition: opacity 0.05s ease 0.05s;
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
27
lib/tern/node_modules/enhanced-resolve/node_modules/graceful-fs/package.json
wygenerowano
vendored
27
lib/tern/node_modules/enhanced-resolve/node_modules/graceful-fs/package.json
wygenerowano
vendored
|
@ -44,14 +44,33 @@
|
|||
"legacy-streams.js",
|
||||
"polyfills.js"
|
||||
],
|
||||
"readme": "# graceful-fs\n\ngraceful-fs functions as a drop-in replacement for the fs module,\nmaking various improvements.\n\nThe improvements are meant to normalize behavior across different\nplatforms and environments, and to make filesystem access more\nresilient to errors.\n\n## Improvements over [fs module](https://nodejs.org/api/fs.html)\n\n* Queues up `open` and `readdir` calls, and retries them once\n something closes if there is an EMFILE error from too many file\n descriptors.\n* fixes `lchmod` for Node versions prior to 0.6.2.\n* implements `fs.lutimes` if possible. Otherwise it becomes a noop.\n* ignores `EINVAL` and `EPERM` errors in `chown`, `fchown` or\n `lchown` if the user isn't root.\n* makes `lchmod` and `lchown` become noops, if not available.\n* retries reading a file if `read` results in EAGAIN error.\n\nOn Windows, it retries renaming a file for up to one second if `EACCESS`\nor `EPERM` error occurs, likely because antivirus software has locked\nthe directory.\n\n## USAGE\n\n```javascript\n// use just like fs\nvar fs = require('graceful-fs')\n\n// now go and do stuff with it...\nfs.readFileSync('some-file-or-whatever')\n```\n\n## Global Patching\n\nIf you want to patch the global fs module (or any other fs-like\nmodule) you can do this:\n\n```javascript\n// Make sure to read the caveat below.\nvar realFs = require('fs')\nvar gracefulFs = require('graceful-fs')\ngracefulFs.gracefulify(realFs)\n```\n\nThis should only ever be done at the top-level application layer, in\norder to delay on EMFILE errors from any fs-using dependencies. You\nshould **not** do this in a library, because it can cause unexpected\ndelays in other parts of the program.\n\n## Changes\n\nThis module is fairly stable at this point, and used by a lot of\nthings. That being said, because it implements a subtle behavior\nchange in a core part of the node API, even modest changes can be\nextremely breaking, and the versioning is thus biased towards\nbumping the major when in doubt.\n\nThe main change between major versions has been switching between\nproviding a fully-patched `fs` module vs monkey-patching the node core\nbuiltin, and the approach by which a non-monkey-patched `fs` was\ncreated.\n\nThe goal is to trade `EMFILE` errors for slower fs operations. So, if\nyou try to open a zillion files, rather than crashing, `open`\noperations will be queued up and wait for something else to `close`.\n\nThere are advantages to each approach. Monkey-patching the fs means\nthat no `EMFILE` errors can possibly occur anywhere in your\napplication, because everything is using the same core `fs` module,\nwhich is patched. However, it can also obviously cause undesirable\nside-effects, especially if the module is loaded multiple times.\n\nImplementing a separate-but-identical patched `fs` module is more\nsurgical (and doesn't run the risk of patching multiple times), but\nalso imposes the challenge of keeping in sync with the core module.\n\nThe current approach loads the `fs` module, and then creates a\nlookalike object that has all the same methods, except a few that are\npatched. It is safe to use in all versions of Node from 0.8 through\n7.0.\n\n### v4\n\n* Do not monkey-patch the fs module. This module may now be used as a\n drop-in dep, and users can opt into monkey-patching the fs builtin\n if their app requires it.\n\n### v3\n\n* Monkey-patch fs, because the eval approach no longer works on recent\n node.\n* fixed possible type-error throw if rename fails on windows\n* verify that we *never* get EMFILE errors\n* Ignore ENOSYS from chmod/chown\n* clarify that graceful-fs must be used as a drop-in\n\n### v2.1.0\n\n* Use eval rather than monkey-patching fs.\n* readdir: Always sort the results\n* win32: requeue a file if error has an OK status\n\n### v2.0\n\n* A return to monkey patching\n* wrap process.cwd\n\n### v1.1\n\n* wrap readFile\n* Wrap fs.writeFile.\n* readdir protection\n* Don't clobber the fs builtin\n* Handle fs.read EAGAIN errors by trying again\n* Expose the curOpen counter\n* No-op lchown/lchmod if not implemented\n* fs.rename patch only for win32\n* Patch fs.rename to handle AV software on Windows\n* Close #4 Chown should not fail on einval or eperm if non-root\n* Fix isaacs/fstream#1 Only wrap fs one time\n* Fix #3 Start at 1024 max files, then back off on EMFILE\n* lutimes that doens't blow up on Linux\n* A full on-rewrite using a queue instead of just swallowing the EMFILE error\n* Wrap Read/Write streams as well\n\n### 1.0\n\n* Update engines for node 0.6\n* Be lstat-graceful on Windows\n* first\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "65cf80d1fd3413b823c16c626c1e7c326452bee5",
|
||||
"bugs": {
|
||||
"url": "https://github.com/isaacs/node-graceful-fs/issues"
|
||||
},
|
||||
"homepage": "https://github.com/isaacs/node-graceful-fs#readme",
|
||||
"_id": "graceful-fs@4.1.11",
|
||||
"_shasum": "0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658",
|
||||
"_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
|
||||
"_from": "graceful-fs@>=4.1.2 <5.0.0"
|
||||
"_from": "graceful-fs@>=4.1.2 <5.0.0",
|
||||
"_npmVersion": "3.10.9",
|
||||
"_nodeVersion": "6.5.0",
|
||||
"_npmUser": {
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658",
|
||||
"tarball": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-18-east.internal.npmjs.com",
|
||||
"tmp": "tmp/graceful-fs-4.1.11.tgz_1479843029430_0.2122855328489095"
|
||||
},
|
||||
"_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz"
|
||||
}
|
||||
|
|
|
@ -58,6 +58,5 @@
|
|||
"tmp": "tmp/inherits-2.0.3.tgz_1473295776489_0.08142363070510328"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
||||
"readme": "ERROR: No README data found!"
|
||||
"_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz"
|
||||
}
|
||||
|
|
|
@ -248,7 +248,7 @@
|
|||
},
|
||||
"homepage": "https://github.com/ternjs/tern#readme",
|
||||
"_id": "tern@0.16.1",
|
||||
"_shasum": "b64be7cfe6d01de1baf4968c4e4327b92d27836a",
|
||||
"_shasum": "b52eebccdd6def724a2c34c3fa80e0906dc2627d",
|
||||
"_from": "git+https://github.com/cloud9ide/tern.git#39015d544d4c00c7899fea4c95c2e5bc2720e68e",
|
||||
"_resolved": "git+https://github.com/cloud9ide/tern.git#39015d544d4c00c7899fea4c95c2e5bc2720e68e"
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"readme": "# tern_from_ts\n\nTern signatures extracted from typescript signatures.\n\nLicense: MIT\n\nSee also https://github.com/marijnh/tern and https://github.com/borisyankov/DefinitelyTyped\n",
|
||||
"readmeFilename": "README.md",
|
||||
"_id": "tern_from_ts@0.0.1",
|
||||
"_shasum": "aba5cd46a4027c1f12428f6674a5eccfa0a1804f",
|
||||
"_shasum": "16e8bbe1eb067c81cde1d28a2e72743e831f5460",
|
||||
"_from": "git+https://github.com/cloud9ide/tern_from_ts.git#66df507986bbdd63f3bc4f0c53edb39169ce4f1c",
|
||||
"_resolved": "git+https://github.com/cloud9ide/tern_from_ts.git#66df507986bbdd63f3bc4f0c53edb39169ce4f1c"
|
||||
}
|
||||
|
|
|
@ -124,7 +124,7 @@ function build(config, opts, callback) {
|
|||
// Concatenate all files using uglify2 with source maps
|
||||
var result;
|
||||
if (opts.compress)
|
||||
result = require("./compress")(sources, opts);
|
||||
result = require("./compress").withCache(sources, opts);
|
||||
else {
|
||||
result = {
|
||||
code : sources.map(function(src){ return src.source.trim(); }).join("\n\n") + "\n",
|
||||
|
@ -301,7 +301,7 @@ function checkImages(css, opts, cache) {
|
|||
}
|
||||
|
||||
function addCssPrefixes(css) {
|
||||
return css.replace(/\b(user-select|font-smoothing)\b([^;\n]+);?/g, function(_, prop, value, index, string) {
|
||||
return css.replace(/\b(user-select|font-smoothing)\b([^;}\n]+);?/g, function(_, prop, value, index, string) {
|
||||
if (prop[0] == "u" && string[index - 1] != "-") {
|
||||
return "-webkit-" + prop + value + "; -moz-" + prop + value + "; -ms-" + prop + value + "; " + _;
|
||||
}
|
||||
|
|
|
@ -286,7 +286,7 @@ var config = require.config = function(cfg) {
|
|||
config.paths[p] = cfg.paths[p];
|
||||
});
|
||||
|
||||
if (cfg.useCache && global.caches && location.protocol == "https:") {
|
||||
if (cfg.useCache && global.caches && location.protocol === "https:") {
|
||||
config.useCache = true;
|
||||
checkCache();
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var UglifyJS = require("uglify-js");
|
||||
|
||||
var fs = require("fs");
|
||||
|
||||
function compress(sources, opts) {
|
||||
if (!opts)
|
||||
|
@ -10,23 +10,33 @@ function compress(sources, opts) {
|
|||
var toplevel = null;
|
||||
var literals = [];
|
||||
|
||||
sources.forEach(function(pkg){
|
||||
if (/"disable compress"/.test(pkg.source)) {
|
||||
sources.forEach(function(pkg) {
|
||||
if (pkg.source == undefined && pkg.file)
|
||||
pkg.source = fs.readFileSync(pkg.file, "utf8");
|
||||
|
||||
if (/"disable compress"/.test(pkg.source))
|
||||
return literals.push(pkg.source);
|
||||
}
|
||||
|
||||
// if (pkg.file) console.log("Adding '" + pkg.file + "'.");
|
||||
|
||||
toplevel = UglifyJS.parse(pkg.source, {
|
||||
filename: (pkg.file || pkg.id).replace(new RegExp("^" + opts.basepath + "/"), ""), //@todo remove prefix
|
||||
toplevel: toplevel
|
||||
});
|
||||
try {
|
||||
toplevel = UglifyJS.parse(pkg.source, {
|
||||
filename: (pkg.file || pkg.id || "").replace(new RegExp("^" + opts.basepath + "/"), ""), //@todo remove prefix
|
||||
toplevel: toplevel
|
||||
});
|
||||
} catch (e) {
|
||||
logParseError(e, pkg);
|
||||
throw e;
|
||||
}
|
||||
});
|
||||
|
||||
if (!toplevel) {
|
||||
return { code: literals.join("\n"), map: null };
|
||||
}
|
||||
|
||||
if (opts.compress == "dryrun") {
|
||||
return { code: "dryrun\n" };
|
||||
}
|
||||
|
||||
/**
|
||||
* UglifyJS contains a scope analyzer that you need to call manually before
|
||||
* compressing or mangling. Basically it augments various nodes in the AST
|
||||
|
@ -80,6 +90,10 @@ function compress(sources, opts) {
|
|||
outputOptions.source_map = source_map;
|
||||
}
|
||||
var stream = UglifyJS.OutputStream(outputOptions);
|
||||
UglifyJS.AST_Node.warn_function = function(txt) {
|
||||
if (txt && txt.startsWith("Output exceeds")) return;
|
||||
console.error("WARN: %s", txt);
|
||||
};
|
||||
compressed_ast.print(stream);
|
||||
|
||||
function asciify(text) {
|
||||
|
@ -102,13 +116,32 @@ function compress(sources, opts) {
|
|||
};
|
||||
}
|
||||
|
||||
function logParseError(e, pkg) {
|
||||
console.error("Error while parsing", (pkg.file || pkg.id) + ":" + e.line + ":" + e.col);
|
||||
if (e.line) {
|
||||
var MAX_LEN = 45;
|
||||
var line = pkg.source.split("\n")[e.line - 1];
|
||||
var col = e.col;
|
||||
if (col > MAX_LEN) {
|
||||
line = line.slice(col - MAX_LEN);
|
||||
col = MAX_LEN;
|
||||
}
|
||||
if (line.length > col + MAX_LEN)
|
||||
line = line.slice(0, col + MAX_LEN);
|
||||
line = line + "\n" + Array(col + 1).join(" ") + "^";
|
||||
console.error(line);
|
||||
}
|
||||
}
|
||||
|
||||
compress.withCache = function(sources, opts) {
|
||||
var cache = opts.cache;
|
||||
var cache = opts.cache || {};
|
||||
if (cache && !cache.compress)
|
||||
cache.compress = Object.create(null);
|
||||
if (typeof sources == "string")
|
||||
sources = [{source: sources, file: ""}];
|
||||
var code = sources.map(function(pkg) {
|
||||
if (pkg.id && cache.compress[pkg.id]) {
|
||||
console.log("Compress Cache Hit " + pkg.id);
|
||||
// console.log("Compress Cache Hit " + pkg.id);
|
||||
return cache.compress[pkg.id];
|
||||
}
|
||||
if (opts.exclude && opts.exclude.test(pkg.id))
|
||||
|
|
|
@ -33,11 +33,27 @@
|
|||
"devDependencies": {
|
||||
"tap": "^2.3.0"
|
||||
},
|
||||
"readme": "# core-util-is\n\nThe `util.is*` functions introduced in Node v0.12.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "a177da234df5638b363ddc15fa324619a38577c8",
|
||||
"homepage": "https://github.com/isaacs/core-util-is#readme",
|
||||
"_id": "core-util-is@1.0.2",
|
||||
"_shasum": "b5fd54220aa2bc5ab57aab7140c940754503c1a7",
|
||||
"_resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
|
||||
"_from": "core-util-is@>=1.0.0 <1.1.0"
|
||||
"_from": "core-util-is@>=1.0.0 <1.1.0",
|
||||
"_npmVersion": "3.3.2",
|
||||
"_nodeVersion": "4.0.0",
|
||||
"_npmUser": {
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "b5fd54220aa2bc5ab57aab7140c940754503c1a7",
|
||||
"tarball": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
}
|
||||
],
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"
|
||||
}
|
||||
|
|
|
@ -58,5 +58,6 @@
|
|||
"tmp": "tmp/inherits-2.0.3.tgz_1473295776489_0.08142363070510328"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz"
|
||||
"_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
||||
"readme": "ERROR: No README data found!"
|
||||
}
|
||||
|
|
|
@ -22,13 +22,32 @@
|
|||
"browserify"
|
||||
],
|
||||
"license": "MIT",
|
||||
"readme": "**string_decoder.js** (`require('string_decoder')`) from Node.js core\n\nCopyright Joyent, Inc. and other Node contributors. See LICENCE file for details.\n\nVersion numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. **Prefer the stable version over the unstable.**\n\nThe *build/* directory contains a build script that will scrape the source from the [joyent/node](https://github.com/joyent/node) repo given a specific Node version.",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "d46d4fd87cf1d06e031c23f1ba170ca7d4ade9a0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/rvagg/string_decoder/issues"
|
||||
},
|
||||
"_id": "string_decoder@0.10.31",
|
||||
"_shasum": "62e203bc41766c6c28c9fc84301dab1c5310fa94",
|
||||
"_resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
|
||||
"_from": "string_decoder@>=0.10.0 <0.11.0"
|
||||
"_from": "string_decoder@>=0.10.0 <0.11.0",
|
||||
"_npmVersion": "1.4.23",
|
||||
"_npmUser": {
|
||||
"name": "rvagg",
|
||||
"email": "rod@vagg.org"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "substack",
|
||||
"email": "mail@substack.net"
|
||||
},
|
||||
{
|
||||
"name": "rvagg",
|
||||
"email": "rod@vagg.org"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "62e203bc41766c6c28c9fc84301dab1c5310fa94",
|
||||
"tarball": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"main": "./prr.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/rvagg/prr.git"
|
||||
"url": "https://github.com/rvagg/prr.git"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
@ -27,13 +27,28 @@
|
|||
"test": "node ./test.js"
|
||||
},
|
||||
"license": "MIT",
|
||||
"readme": "# prr [](http://travis-ci.org/rvagg/prr)\n\nAn sensible alternative to `Object.defineProperty()`. Available in npm and Ender as **prr**.\n\n## Usage\n\nSet the property `'foo'` (`obj.foo`) to have the value `'bar'` with default options (`'enumerable'`, `'configurable'` and `'writable'` are all `false`):\n\n```js\nprr(obj, 'foo', 'bar')\n```\n\nAdjust the default options:\n\n```js\nprr(obj, 'foo', 'bar', { enumerable: true, writable: true })\n```\n\nDo the same operation for multiple properties:\n\n```js\nprr(obj, { one: 'one', two: 'two' })\n// or with options:\nprr(obj, { one: 'one', two: 'two' }, { enumerable: true, writable: true })\n```\n\n### Simplify!\n\nBut obviously, having to write out the full options object makes it nearly as bad as the original `Object.defineProperty()` so we can simplify.\n\nAs an alternative method we can use an options string where each character represents a option: `'e'=='enumerable'`, `'c'=='configurable'` and `'w'=='writable'`:\n\n```js\nprr(obj, 'foo', 'bar', 'ew') // enumerable and writable but not configurable\n// muliple properties:\nprr(obj, { one: 'one', two: 'two' }, 'ewc') // configurable too\n```\n\n## Where can I use it?\n\nAnywhere! For pre-ES5 environments *prr* will simply fall-back to an `object[property] = value` so you can get close to what you want.\n\n*prr* is Ender-compatible so you can include it in your Ender build and `$.prr(...)` or `var prr = require('prr'); prr(...)`.\n\n## Licence\n\nprr is Copyright (c) 2013 Rod Vagg [@rvagg](https://twitter.com/rvagg) and licensed under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "b69ba0edc7aacbda0c98d550579e452b8597c126",
|
||||
"bugs": {
|
||||
"url": "https://github.com/rvagg/prr/issues"
|
||||
},
|
||||
"_id": "prr@1.0.1",
|
||||
"_shasum": "d3fc114ba06995a45ec6893f484ceb1d78f5f476",
|
||||
"_resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz",
|
||||
"_from": "prr@>=1.0.1 <1.1.0"
|
||||
"_from": "prr@>=1.0.1 <1.1.0",
|
||||
"_npmVersion": "1.4.14",
|
||||
"_npmUser": {
|
||||
"name": "rvagg",
|
||||
"email": "rod@vagg.org"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "rvagg",
|
||||
"email": "rod@vagg.org"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "d3fc114ba06995a45ec6893f484ceb1d78f5f476",
|
||||
"tarball": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz"
|
||||
}
|
||||
|
|
|
@ -30,13 +30,38 @@
|
|||
"scripts": {
|
||||
"test": "node --use_strict test.js"
|
||||
},
|
||||
"readme": "# node-errno\n\n> Better [libuv](https://github.com/libuv/libuv)/[Node.js](https://nodejs.org)/[io.js](https://iojs.org) error handling & reporting. Available in npm as *errno*.\n\n[](https://www.npmjs.com/package/errno)\n[](http://travis-ci.org/rvagg/node-errno)\n[](https://www.npmjs.com/package/errno)\n\n* [errno exposed](#errnoexposed)\n* [Custom errors](#customerrors)\n\n<a name=\"errnoexposed\"></a>\n## errno exposed\n\nEver find yourself needing more details about Node.js errors? Me too, so *node-errno* contains the errno mappings direct from libuv so you can use them in your code.\n\n**By errno:**\n\n```js\nrequire('errno').errno[3]\n// → {\n// \"errno\": 3,\n// \"code\": \"EACCES\",\n// \"description\": \"permission denied\"\n// }\n```\n\n**By code:**\n\n```js\nrequire('errno').code.ENOTEMPTY\n// → {\n// \"errno\": 53,\n// \"code\": \"ENOTEMPTY\",\n// \"description\": \"directory not empty\"\n// }\n```\n\n**Make your errors more descriptive:**\n\n```js\nvar errno = require('errno')\n\nfunction errmsg(err) {\n var str = 'Error: '\n // if it's a libuv error then get the description from errno\n if (errno.errno[err.errno])\n str += errno.errno[err.errno].description\n else\n str += err.message\n\n // if it's a `fs` error then it'll have a 'path' property\n if (err.path)\n str += ' [' + err.path + ']'\n\n return str\n}\n\nvar fs = require('fs')\n\nfs.readFile('thisisnotarealfile.txt', function (err, data) {\n if (err)\n console.log(errmsg(err))\n})\n```\n\n**Use as a command line tool:**\n\n```\n~ $ errno 53\n{\n \"errno\": 53,\n \"code\": \"ENOTEMPTY\",\n \"description\": \"directory not empty\"\n}\n~ $ errno EROFS\n{\n \"errno\": 56,\n \"code\": \"EROFS\",\n \"description\": \"read-only file system\"\n}\n~ $ errno foo\nNo such errno/code: \"foo\"\n```\n\nSupply no arguments for the full list. Error codes are processed case-insensitive.\n\nYou will need to install with `npm install errno -g` if you want the `errno` command to be available without supplying a full path to the node_modules installation.\n\n<a name=\"customerrors\"></a>\n## Custom errors\n\nUse `errno.custom.createError()` to create custom `Error` objects to throw around in your Node.js library. Create error hierarchies so `instanceof` becomes a useful tool in tracking errors. Call-stack is correctly captured at the time you create an instance of the error object, plus a `cause` property will make available the original error object if you pass one in to the constructor.\n\n```js\nvar create = require('errno').custom.createError\nvar MyError = create('MyError') // inherits from Error\nvar SpecificError = create('SpecificError', MyError) // inherits from MyError\nvar OtherError = create('OtherError', MyError)\n\n// use them!\nif (condition) throw new SpecificError('Eeek! Something bad happened')\n\nif (err) return callback(new OtherError(err))\n```\n\nAlso available is a `errno.custom.FilesystemError` with in-built access to errno properties:\n\n```js\nfs.readFile('foo', function (err, data) {\n if (err) return callback(new errno.custom.FilesystemError(err))\n // do something else\n})\n```\n\nThe resulting error object passed through the callback will have the following properties: `code`, `errno`, `path` and `message` will contain a descriptive human-readable message.\n\n## Contributors\n\n* [bahamas10](https://github.com/bahamas10) (Dave Eddy) - Added CLI\n* [ralphtheninja](https://github.com/ralphtheninja) (Lars-Magnus Skog)\n\n## Copyright & Licence\n\n*Copyright (c) 2012-2015 [Rod Vagg](https://github.com/rvagg) ([@rvagg](https://twitter.com/rvagg))*\n\nMade available under the MIT licence:\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is furnished\nto do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "dab1099bb035b8950d7578b5c5d6f8b459318a42",
|
||||
"bugs": {
|
||||
"url": "https://github.com/rvagg/node-errno/issues"
|
||||
},
|
||||
"homepage": "https://github.com/rvagg/node-errno#readme",
|
||||
"_id": "errno@0.1.6",
|
||||
"_npmVersion": "5.6.0",
|
||||
"_nodeVersion": "9.2.0",
|
||||
"_npmUser": {
|
||||
"name": "ralphtheninja",
|
||||
"email": "ralphtheninja@riseup.net"
|
||||
},
|
||||
"dist": {
|
||||
"integrity": "sha512-IsORQDpaaSwcDP4ZZnHxgE85werpo34VYn1Ud3mq+eUsF593faR8oCZNXrROVkpFu2TsbrNhHin0aUrTsQ9vNw==",
|
||||
"shasum": "c386ce8a6283f14fc09563b71560908c9bf53026",
|
||||
"tarball": "https://registry.npmjs.org/errno/-/errno-0.1.6.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"email": "ralphtheninja@riseup.net",
|
||||
"name": "ralphtheninja"
|
||||
},
|
||||
{
|
||||
"email": "r@va.gg",
|
||||
"name": "rvagg"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "s3://npm-registry-packages",
|
||||
"tmp": "tmp/errno-0.1.6.tgz_1513086218646_0.35013204999268055"
|
||||
},
|
||||
"directories": {},
|
||||
"_shasum": "c386ce8a6283f14fc09563b71560908c9bf53026",
|
||||
"_resolved": "https://registry.npmjs.org/errno/-/errno-0.1.6.tgz",
|
||||
"_from": "errno@>=0.1.1 <0.2.0"
|
||||
|
|
|
@ -44,14 +44,34 @@
|
|||
"legacy-streams.js",
|
||||
"polyfills.js"
|
||||
],
|
||||
"readme": "# graceful-fs\n\ngraceful-fs functions as a drop-in replacement for the fs module,\nmaking various improvements.\n\nThe improvements are meant to normalize behavior across different\nplatforms and environments, and to make filesystem access more\nresilient to errors.\n\n## Improvements over [fs module](https://nodejs.org/api/fs.html)\n\n* Queues up `open` and `readdir` calls, and retries them once\n something closes if there is an EMFILE error from too many file\n descriptors.\n* fixes `lchmod` for Node versions prior to 0.6.2.\n* implements `fs.lutimes` if possible. Otherwise it becomes a noop.\n* ignores `EINVAL` and `EPERM` errors in `chown`, `fchown` or\n `lchown` if the user isn't root.\n* makes `lchmod` and `lchown` become noops, if not available.\n* retries reading a file if `read` results in EAGAIN error.\n\nOn Windows, it retries renaming a file for up to one second if `EACCESS`\nor `EPERM` error occurs, likely because antivirus software has locked\nthe directory.\n\n## USAGE\n\n```javascript\n// use just like fs\nvar fs = require('graceful-fs')\n\n// now go and do stuff with it...\nfs.readFileSync('some-file-or-whatever')\n```\n\n## Global Patching\n\nIf you want to patch the global fs module (or any other fs-like\nmodule) you can do this:\n\n```javascript\n// Make sure to read the caveat below.\nvar realFs = require('fs')\nvar gracefulFs = require('graceful-fs')\ngracefulFs.gracefulify(realFs)\n```\n\nThis should only ever be done at the top-level application layer, in\norder to delay on EMFILE errors from any fs-using dependencies. You\nshould **not** do this in a library, because it can cause unexpected\ndelays in other parts of the program.\n\n## Changes\n\nThis module is fairly stable at this point, and used by a lot of\nthings. That being said, because it implements a subtle behavior\nchange in a core part of the node API, even modest changes can be\nextremely breaking, and the versioning is thus biased towards\nbumping the major when in doubt.\n\nThe main change between major versions has been switching between\nproviding a fully-patched `fs` module vs monkey-patching the node core\nbuiltin, and the approach by which a non-monkey-patched `fs` was\ncreated.\n\nThe goal is to trade `EMFILE` errors for slower fs operations. So, if\nyou try to open a zillion files, rather than crashing, `open`\noperations will be queued up and wait for something else to `close`.\n\nThere are advantages to each approach. Monkey-patching the fs means\nthat no `EMFILE` errors can possibly occur anywhere in your\napplication, because everything is using the same core `fs` module,\nwhich is patched. However, it can also obviously cause undesirable\nside-effects, especially if the module is loaded multiple times.\n\nImplementing a separate-but-identical patched `fs` module is more\nsurgical (and doesn't run the risk of patching multiple times), but\nalso imposes the challenge of keeping in sync with the core module.\n\nThe current approach loads the `fs` module, and then creates a\nlookalike object that has all the same methods, except a few that are\npatched. It is safe to use in all versions of Node from 0.8 through\n7.0.\n\n### v4\n\n* Do not monkey-patch the fs module. This module may now be used as a\n drop-in dep, and users can opt into monkey-patching the fs builtin\n if their app requires it.\n\n### v3\n\n* Monkey-patch fs, because the eval approach no longer works on recent\n node.\n* fixed possible type-error throw if rename fails on windows\n* verify that we *never* get EMFILE errors\n* Ignore ENOSYS from chmod/chown\n* clarify that graceful-fs must be used as a drop-in\n\n### v2.1.0\n\n* Use eval rather than monkey-patching fs.\n* readdir: Always sort the results\n* win32: requeue a file if error has an OK status\n\n### v2.0\n\n* A return to monkey patching\n* wrap process.cwd\n\n### v1.1\n\n* wrap readFile\n* Wrap fs.writeFile.\n* readdir protection\n* Don't clobber the fs builtin\n* Handle fs.read EAGAIN errors by trying again\n* Expose the curOpen counter\n* No-op lchown/lchmod if not implemented\n* fs.rename patch only for win32\n* Patch fs.rename to handle AV software on Windows\n* Close #4 Chown should not fail on einval or eperm if non-root\n* Fix isaacs/fstream#1 Only wrap fs one time\n* Fix #3 Start at 1024 max files, then back off on EMFILE\n* lutimes that doens't blow up on Linux\n* A full on-rewrite using a queue instead of just swallowing the EMFILE error\n* Wrap Read/Write streams as well\n\n### 1.0\n\n* Update engines for node 0.6\n* Be lstat-graceful on Windows\n* first\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "65cf80d1fd3413b823c16c626c1e7c326452bee5",
|
||||
"bugs": {
|
||||
"url": "https://github.com/isaacs/node-graceful-fs/issues"
|
||||
},
|
||||
"homepage": "https://github.com/isaacs/node-graceful-fs#readme",
|
||||
"_id": "graceful-fs@4.1.11",
|
||||
"_shasum": "0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658",
|
||||
"_from": "graceful-fs@>=4.1.2 <5.0.0",
|
||||
"_npmVersion": "3.10.9",
|
||||
"_nodeVersion": "6.5.0",
|
||||
"_npmUser": {
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658",
|
||||
"tarball": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-18-east.internal.npmjs.com",
|
||||
"tmp": "tmp/graceful-fs-4.1.11.tgz_1479843029430_0.2122855328489095"
|
||||
},
|
||||
"_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
|
||||
"_from": "graceful-fs@>=4.1.2 <5.0.0"
|
||||
"readme": "ERROR: No README data found!"
|
||||
}
|
||||
|
|
|
@ -53,14 +53,42 @@
|
|||
"mocha": "^3.4.1",
|
||||
"sinon": "^2.2.0"
|
||||
},
|
||||
"readme": "# image-size\n\n[](https://www.npmjs.com/package/image-size)\n[](https://travis-ci.org/image-size/image-size)\n[](http://npm-stat.com/charts.html?package=image-size&author=&from=&to=)\n[](https://coveralls.io/github/image-size/image-size?branch=master)\n[](https://david-dm.org/image-size/image-size#info=devDependencies)\n\nA [Node](https://nodejs.org/en/) module to get dimensions of any image file\n\n## Supported formats\n\n* BMP\n* GIF\n* JPEG\n* PNG\n* PSD\n* TIFF\n* WebP\n* SVG\n* DDS\n\n### Upcoming\n\n* SWF\n\n## Programmatic Usage\n\n```\nnpm install image-size --save\n```\n\n### Synchronous\n\n```javascript\nvar sizeOf = require('image-size');\nvar dimensions = sizeOf('images/funny-cats.png');\nconsole.log(dimensions.width, dimensions.height);\n```\n\n### Asynchronous\n\n```javascript\nvar sizeOf = require('image-size');\nsizeOf('images/funny-cats.png', function (err, dimensions) {\n console.log(dimensions.width, dimensions.height);\n});\n```\nNOTE: The asynchronous version doesn't work if the input is a Buffer. Use synchronous version instead.\n\n### Using a URL\n\n```javascript\nvar url = require('url');\nvar http = require('http');\n\nvar sizeOf = require('image-size');\n\nvar imgUrl = 'http://my-amazing-website.com/image.jpeg';\nvar options = url.parse(imgUrl);\n\nhttp.get(options, function (response) {\n var chunks = [];\n response.on('data', function (chunk) {\n chunks.push(chunk);\n }).on('end', function() {\n var buffer = Buffer.concat(chunks);\n console.log(sizeOf(buffer));\n });\n});\n```\n\nYou can optionally check the buffer lengths & stop downloading the image after a few kilobytes.\n**You don't need to download the entire image**\n\n## Command-Line Usage (CLI)\n\n```\nnpm install image-size --global\nimage-size image1 [image2] [image3] ...\n```\n\n## Credits\n\nnot a direct port, but an attempt to have something like\n[dabble's imagesize](https://github.com/dabble/imagesize/blob/master/lib/image_size.rb) as a node module.\n\n## [Contributors](Contributors.md)\n",
|
||||
"readmeFilename": "Readme.md",
|
||||
"gitHead": "77ff58653f18c2ea3c9e176a6dee663beacb4889",
|
||||
"bugs": {
|
||||
"url": "https://github.com/image-size/image-size/issues"
|
||||
},
|
||||
"homepage": "https://github.com/image-size/image-size#readme",
|
||||
"_id": "image-size@0.5.5",
|
||||
"_shasum": "09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c",
|
||||
"_resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz",
|
||||
"_from": "image-size@>=0.5.0 <0.6.0"
|
||||
"_from": "image-size@>=0.5.0 <0.6.0",
|
||||
"_npmVersion": "3.10.10",
|
||||
"_nodeVersion": "6.10.3",
|
||||
"_npmUser": {
|
||||
"name": "netroy",
|
||||
"email": "aditya@netroy.in"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "09dfd4ab9d20e29eb1c3e80b8990378df9e3cb9c",
|
||||
"tarball": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"email": "snnskwtnb@gmail.com",
|
||||
"name": "shinnn"
|
||||
},
|
||||
{
|
||||
"email": "zeke@sikelianos.com",
|
||||
"name": "zeke"
|
||||
},
|
||||
{
|
||||
"email": "aditya@netroy.in",
|
||||
"name": "netroy"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "s3://npm-registry-packages",
|
||||
"tmp": "tmp/image-size-0.5.5.tgz_1497255554208_0.9632799690589309"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz"
|
||||
}
|
||||
|
|
|
@ -40,13 +40,27 @@
|
|||
"url": "http://substack.net"
|
||||
},
|
||||
"license": "MIT",
|
||||
"readme": "# minimist\n\nparse argument options\n\nThis module is the guts of optimist's argument parser without all the\nfanciful decoration.\n\n[](http://ci.testling.com/substack/minimist)\n\n[](http://travis-ci.org/substack/minimist)\n\n# example\n\n``` js\nvar argv = require('minimist')(process.argv.slice(2));\nconsole.dir(argv);\n```\n\n```\n$ node example/parse.js -a beep -b boop\n{ _: [], a: 'beep', b: 'boop' }\n```\n\n```\n$ node example/parse.js -x 3 -y 4 -n5 -abc --beep=boop foo bar baz\n{ _: [ 'foo', 'bar', 'baz' ],\n x: 3,\n y: 4,\n n: 5,\n a: true,\n b: true,\n c: true,\n beep: 'boop' }\n```\n\n# methods\n\n``` js\nvar parseArgs = require('minimist')\n```\n\n## var argv = parseArgs(args, opts={})\n\nReturn an argument object `argv` populated with the array arguments from `args`.\n\n`argv._` contains all the arguments that didn't have an option associated with\nthem.\n\nNumeric-looking arguments will be returned as numbers unless `opts.string` or\n`opts.boolean` is set for that argument name.\n\nAny arguments after `'--'` will not be parsed and will end up in `argv._`.\n\noptions can be:\n\n* `opts.string` - a string or array of strings argument names to always treat as\nstrings\n* `opts.boolean` - a string or array of strings to always treat as booleans\n* `opts.alias` - an object mapping string names to strings or arrays of string\nargument names to use as aliases\n* `opts.default` - an object mapping string argument names to default values\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install minimist\n```\n\n# license\n\nMIT\n",
|
||||
"readmeFilename": "readme.markdown",
|
||||
"bugs": {
|
||||
"url": "https://github.com/substack/minimist/issues"
|
||||
},
|
||||
"_id": "minimist@0.0.8",
|
||||
"dist": {
|
||||
"shasum": "857fcabfc3397d2625b8228262e86aa7a011b05d",
|
||||
"tarball": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz"
|
||||
},
|
||||
"_from": "minimist@0.0.8",
|
||||
"_npmVersion": "1.4.3",
|
||||
"_npmUser": {
|
||||
"name": "substack",
|
||||
"email": "mail@substack.net"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "substack",
|
||||
"email": "mail@substack.net"
|
||||
}
|
||||
],
|
||||
"directories": {},
|
||||
"_shasum": "857fcabfc3397d2625b8228262e86aa7a011b05d",
|
||||
"_resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
|
||||
"_from": "minimist@0.0.8"
|
||||
"_resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz"
|
||||
}
|
||||
|
|
|
@ -30,14 +30,30 @@
|
|||
"mkdirp": "bin/cmd.js"
|
||||
},
|
||||
"license": "MIT",
|
||||
"readme": "# mkdirp\n\nLike `mkdir -p`, but in node.js!\n\n[](http://travis-ci.org/substack/node-mkdirp)\n\n# example\n\n## pow.js\n\n```js\nvar mkdirp = require('mkdirp');\n \nmkdirp('/tmp/foo/bar/baz', function (err) {\n if (err) console.error(err)\n else console.log('pow!')\n});\n```\n\nOutput\n\n```\npow!\n```\n\nAnd now /tmp/foo/bar/baz exists, huzzah!\n\n# methods\n\n```js\nvar mkdirp = require('mkdirp');\n```\n\n## mkdirp(dir, opts, cb)\n\nCreate a new directory and any necessary subdirectories at `dir` with octal\npermission string `opts.mode`. If `opts` is a non-object, it will be treated as\nthe `opts.mode`.\n\nIf `opts.mode` isn't specified, it defaults to `0777 & (~process.umask())`.\n\n`cb(err, made)` fires with the error or the first directory `made`\nthat had to be created, if any.\n\nYou can optionally pass in an alternate `fs` implementation by passing in\n`opts.fs`. Your implementation should have `opts.fs.mkdir(path, mode, cb)` and\n`opts.fs.stat(path, cb)`.\n\n## mkdirp.sync(dir, opts)\n\nSynchronously create a new directory and any necessary subdirectories at `dir`\nwith octal permission string `opts.mode`. If `opts` is a non-object, it will be\ntreated as the `opts.mode`.\n\nIf `opts.mode` isn't specified, it defaults to `0777 & (~process.umask())`.\n\nReturns the first directory that had to be created, if any.\n\nYou can optionally pass in an alternate `fs` implementation by passing in\n`opts.fs`. Your implementation should have `opts.fs.mkdirSync(path, mode)` and\n`opts.fs.statSync(path)`.\n\n# usage\n\nThis package also ships with a `mkdirp` command.\n\n```\nusage: mkdirp [DIR1,DIR2..] {OPTIONS}\n\n Create each supplied directory including any necessary parent directories that\n don't yet exist.\n \n If the directory already exists, do nothing.\n\nOPTIONS are:\n\n -m, --mode If a directory needs to be created, set the mode as an octal\n permission string.\n\n```\n\n# install\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm install mkdirp\n```\n\nto get the library, or\n\n```\nnpm install -g mkdirp\n```\n\nto get the command.\n\n# license\n\nMIT\n",
|
||||
"readmeFilename": "readme.markdown",
|
||||
"gitHead": "d4eff0f06093aed4f387e88e9fc301cb76beedc7",
|
||||
"bugs": {
|
||||
"url": "https://github.com/substack/node-mkdirp/issues"
|
||||
},
|
||||
"homepage": "https://github.com/substack/node-mkdirp#readme",
|
||||
"_id": "mkdirp@0.5.1",
|
||||
"_shasum": "30057438eac6cf7f8c4767f38648d6697d75c903",
|
||||
"_resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
|
||||
"_from": "mkdirp@>=0.5.0 <0.6.0"
|
||||
"_from": "mkdirp@>=0.5.0 <0.6.0",
|
||||
"_npmVersion": "2.9.0",
|
||||
"_nodeVersion": "2.0.0",
|
||||
"_npmUser": {
|
||||
"name": "substack",
|
||||
"email": "substack@gmail.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "30057438eac6cf7f8c4767f38648d6697d75c903",
|
||||
"tarball": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "substack",
|
||||
"email": "mail@substack.net"
|
||||
}
|
||||
],
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz"
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -18,14 +18,31 @@
|
|||
"engines": {
|
||||
"node": "*"
|
||||
},
|
||||
"readme": "aws-sign\n========\n\nAWS signing. Originally pulled from LearnBoost/knox, maintained as vendor in request, now a standalone module.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "8554bdb41268fa295eb1ee300f4adaa9f7f07fec",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mikeal/aws-sign/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mikeal/aws-sign#readme",
|
||||
"_id": "aws-sign2@0.6.0",
|
||||
"scripts": {},
|
||||
"_shasum": "14342dd38dbcc94d0e5b87d763cd63612c0e794f",
|
||||
"_resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz",
|
||||
"_from": "aws-sign2@>=0.6.0 <0.7.0"
|
||||
"_from": "aws-sign2@>=0.6.0 <0.7.0",
|
||||
"_npmVersion": "2.14.4",
|
||||
"_nodeVersion": "4.1.2",
|
||||
"_npmUser": {
|
||||
"name": "mikeal",
|
||||
"email": "mikeal.rogers@gmail.com"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "mikeal",
|
||||
"email": "mikeal.rogers@gmail.com"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "14342dd38dbcc94d0e5b87d763cd63612c0e794f",
|
||||
"tarball": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz"
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -27,11 +27,39 @@
|
|||
"devDependencies": {
|
||||
"tape": "^2.10.2"
|
||||
},
|
||||
"readme": "## Caseless -- wrap an object to set and get property with caseless semantics but also preserve caseing.\n\nThis library is incredibly useful when working with HTTP headers. It allows you to get/set/check for headers in a caseless manner while also preserving the caseing of headers the first time they are set.\n\n## Usage\n\n```javascript\nvar headers = {}\n , c = caseless(headers)\n ;\nc.set('a-Header', 'asdf')\nc.get('a-header') === 'asdf'\n```\n\n## has(key)\n\nHas takes a name and if it finds a matching header will return that header name with the preserved caseing it was set with.\n\n```javascript\nc.has('a-header') === 'a-Header'\n```\n\n## set(key, value[, clobber=true])\n\nSet is fairly straight forward except that if the header exists and clobber is disabled it will add `','+value` to the existing header.\n\n```javascript\nc.set('a-Header', 'fdas')\nc.set('a-HEADER', 'more', false)\nc.get('a-header') === 'fdsa,more'\n```\n\n## swap(key)\n\nSwaps the casing of a header with the new one that is passed in.\n\n```javascript\nvar headers = {}\n , c = caseless(headers)\n ;\nc.set('a-Header', 'fdas')\nc.swap('a-HEADER')\nc.has('a-header') === 'a-HEADER'\nheaders === {'a-HEADER': 'fdas'}\n```\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "af91df7878a8b53cf3dc2e9a086dc57ba8301649",
|
||||
"homepage": "https://github.com/mikeal/caseless#readme",
|
||||
"_id": "caseless@0.12.0",
|
||||
"_shasum": "1b681c21ff84033c826543090689420d187151dc",
|
||||
"_resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
|
||||
"_from": "caseless@>=0.12.0 <0.13.0"
|
||||
"_from": "caseless@>=0.12.0 <0.13.0",
|
||||
"_npmVersion": "3.10.9",
|
||||
"_nodeVersion": "6.9.2",
|
||||
"_npmUser": {
|
||||
"name": "mikeal",
|
||||
"email": "mikeal.rogers@gmail.com"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "mikeal",
|
||||
"email": "mikeal.rogers@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "nylen",
|
||||
"email": "jnylen@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "simov",
|
||||
"email": "simeonvelichkov@gmail.com"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "1b681c21ff84033c826543090689420d187151dc",
|
||||
"tarball": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz"
|
||||
},
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-12-west.internal.npmjs.com",
|
||||
"tmp": "tmp/caseless-0.12.0.tgz_1485466648253_0.3714302028529346"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz"
|
||||
}
|
||||
|
|
|
@ -31,13 +31,33 @@
|
|||
"fake": "0.2.0",
|
||||
"far": "0.0.1"
|
||||
},
|
||||
"readme": "# delayed-stream\n\nBuffers events from a stream until you are ready to handle them.\n\n## Installation\n\n``` bash\nnpm install delayed-stream\n```\n\n## Usage\n\nThe following example shows how to write a http echo server that delays its\nresponse by 1000 ms.\n\n``` javascript\nvar DelayedStream = require('delayed-stream');\nvar http = require('http');\n\nhttp.createServer(function(req, res) {\n var delayed = DelayedStream.create(req);\n\n setTimeout(function() {\n res.writeHead(200);\n delayed.pipe(res);\n }, 1000);\n});\n```\n\nIf you are not using `Stream#pipe`, you can also manually release the buffered\nevents by calling `delayedStream.resume()`:\n\n``` javascript\nvar delayed = DelayedStream.create(req);\n\nsetTimeout(function() {\n // Emit all buffered events and resume underlaying source\n delayed.resume();\n}, 1000);\n```\n\n## Implementation\n\nIn order to use this meta stream properly, here are a few things you should\nknow about the implementation.\n\n### Event Buffering / Proxying\n\nAll events of the `source` stream are hijacked by overwriting the `source.emit`\nmethod. Until node implements a catch-all event listener, this is the only way.\n\nHowever, delayed-stream still continues to emit all events it captures on the\n`source`, regardless of whether you have released the delayed stream yet or\nnot.\n\nUpon creation, delayed-stream captures all `source` events and stores them in\nan internal event buffer. Once `delayedStream.release()` is called, all\nbuffered events are emitted on the `delayedStream`, and the event buffer is\ncleared. After that, delayed-stream merely acts as a proxy for the underlaying\nsource.\n\n### Error handling\n\nError events on `source` are buffered / proxied just like any other events.\nHowever, `delayedStream.create` attaches a no-op `'error'` listener to the\n`source`. This way you only have to handle errors on the `delayedStream`\nobject, rather than in two places.\n\n### Buffer limits\n\ndelayed-stream provides a `maxDataSize` property that can be used to limit\nthe amount of data being buffered. In order to protect you from bad `source`\nstreams that don't react to `source.pause()`, this feature is enabled by\ndefault.\n\n## API\n\n### DelayedStream.create(source, [options])\n\nReturns a new `delayedStream`. Available options are:\n\n* `pauseStream`\n* `maxDataSize`\n\nThe description for those properties can be found below.\n\n### delayedStream.source\n\nThe `source` stream managed by this object. This is useful if you are\npassing your `delayedStream` around, and you still want to access properties\non the `source` object.\n\n### delayedStream.pauseStream = true\n\nWhether to pause the underlaying `source` when calling\n`DelayedStream.create()`. Modifying this property afterwards has no effect.\n\n### delayedStream.maxDataSize = 1024 * 1024\n\nThe amount of data to buffer before emitting an `error`.\n\nIf the underlaying source is emitting `Buffer` objects, the `maxDataSize`\nrefers to bytes.\n\nIf the underlaying source is emitting JavaScript strings, the size refers to\ncharacters.\n\nIf you know what you are doing, you can set this property to `Infinity` to\ndisable this feature. You can also modify this property during runtime.\n\n### delayedStream.dataSize = 0\n\nThe amount of data buffered so far.\n\n### delayedStream.readable\n\nAn ECMA5 getter that returns the value of `source.readable`.\n\n### delayedStream.resume()\n\nIf the `delayedStream` has not been released so far, `delayedStream.release()`\nis called.\n\nIn either case, `source.resume()` is called.\n\n### delayedStream.pause()\n\nCalls `source.pause()`.\n\n### delayedStream.pipe(dest)\n\nCalls `delayedStream.resume()` and then proxies the arguments to `source.pipe`.\n\n### delayedStream.release()\n\nEmits and clears all events that have been buffered up so far. This does not\nresume the underlaying source, use `delayedStream.resume()` instead.\n\n## License\n\ndelayed-stream is licensed under the MIT license.\n",
|
||||
"readmeFilename": "Readme.md",
|
||||
"gitHead": "07a9dc99fb8f1a488160026b9ad77493f766fb84",
|
||||
"bugs": {
|
||||
"url": "https://github.com/felixge/node-delayed-stream/issues"
|
||||
},
|
||||
"_id": "delayed-stream@1.0.0",
|
||||
"_shasum": "df3ae199acadfb7d440aaae0b29e2272b24ec619",
|
||||
"_resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
||||
"_from": "delayed-stream@>=1.0.0 <1.1.0"
|
||||
"_from": "delayed-stream@>=1.0.0 <1.1.0",
|
||||
"_npmVersion": "2.8.3",
|
||||
"_nodeVersion": "1.6.4",
|
||||
"_npmUser": {
|
||||
"name": "apechimp",
|
||||
"email": "apeherder@gmail.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "df3ae199acadfb7d440aaae0b29e2272b24ec619",
|
||||
"tarball": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "felixge",
|
||||
"email": "felix@debuggable.com"
|
||||
},
|
||||
{
|
||||
"name": "apechimp",
|
||||
"email": "apeherder@gmail.com"
|
||||
}
|
||||
],
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz"
|
||||
}
|
||||
|
|
36
node_modules/less/node_modules/request/node_modules/combined-stream/package.json
wygenerowano
vendored
36
node_modules/less/node_modules/request/node_modules/combined-stream/package.json
wygenerowano
vendored
|
@ -26,13 +26,41 @@
|
|||
"far": "~0.0.7"
|
||||
},
|
||||
"license": "MIT",
|
||||
"readme": "# combined-stream\n\nA stream that emits multiple other streams one after another.\n\n**NB** Currently `combined-stream` works with streams vesrion 1 only. There is ongoing effort to switch this library to streams version 2. Any help is welcome. :) Meanwhile you can explore other libraries that provide streams2 support with more or less compatability with `combined-stream`.\n\n- [combined-stream2](https://www.npmjs.com/package/combined-stream2): A drop-in streams2-compatible replacement for the combined-stream module.\n\n- [multistream](https://www.npmjs.com/package/multistream): A stream that emits multiple other streams one after another.\n\n## Installation\n\n``` bash\nnpm install combined-stream\n```\n\n## Usage\n\nHere is a simple example that shows how you can use combined-stream to combine\ntwo files into one:\n\n``` javascript\nvar CombinedStream = require('combined-stream');\nvar fs = require('fs');\n\nvar combinedStream = CombinedStream.create();\ncombinedStream.append(fs.createReadStream('file1.txt'));\ncombinedStream.append(fs.createReadStream('file2.txt'));\n\ncombinedStream.pipe(fs.createWriteStream('combined.txt'));\n```\n\nWhile the example above works great, it will pause all source streams until\nthey are needed. If you don't want that to happen, you can set `pauseStreams`\nto `false`:\n\n``` javascript\nvar CombinedStream = require('combined-stream');\nvar fs = require('fs');\n\nvar combinedStream = CombinedStream.create({pauseStreams: false});\ncombinedStream.append(fs.createReadStream('file1.txt'));\ncombinedStream.append(fs.createReadStream('file2.txt'));\n\ncombinedStream.pipe(fs.createWriteStream('combined.txt'));\n```\n\nHowever, what if you don't have all the source streams yet, or you don't want\nto allocate the resources (file descriptors, memory, etc.) for them right away?\nWell, in that case you can simply provide a callback that supplies the stream\nby calling a `next()` function:\n\n``` javascript\nvar CombinedStream = require('combined-stream');\nvar fs = require('fs');\n\nvar combinedStream = CombinedStream.create();\ncombinedStream.append(function(next) {\n next(fs.createReadStream('file1.txt'));\n});\ncombinedStream.append(function(next) {\n next(fs.createReadStream('file2.txt'));\n});\n\ncombinedStream.pipe(fs.createWriteStream('combined.txt'));\n```\n\n## API\n\n### CombinedStream.create([options])\n\nReturns a new combined stream object. Available options are:\n\n* `maxDataSize`\n* `pauseStreams`\n\nThe effect of those options is described below.\n\n### combinedStream.pauseStreams = `true`\n\nWhether to apply back pressure to the underlaying streams. If set to `false`,\nthe underlaying streams will never be paused. If set to `true`, the\nunderlaying streams will be paused right after being appended, as well as when\n`delayedStream.pipe()` wants to throttle.\n\n### combinedStream.maxDataSize = `2 * 1024 * 1024`\n\nThe maximum amount of bytes (or characters) to buffer for all source streams.\nIf this value is exceeded, `combinedStream` emits an `'error'` event.\n\n### combinedStream.dataSize = `0`\n\nThe amount of bytes (or characters) currently buffered by `combinedStream`.\n\n### combinedStream.append(stream)\n\nAppends the given `stream` to the combinedStream object. If `pauseStreams` is\nset to `true, this stream will also be paused right away.\n\n`streams` can also be a function that takes one parameter called `next`. `next`\nis a function that must be invoked in order to provide the `next` stream, see\nexample above.\n\nRegardless of how the `stream` is appended, combined-stream always attaches an\n`'error'` listener to it, so you don't have to do that manually.\n\nSpecial case: `stream` can also be a String or Buffer.\n\n### combinedStream.write(data)\n\nYou should not call this, `combinedStream` takes care of piping the appended\nstreams into itself for you.\n\n### combinedStream.resume()\n\nCauses `combinedStream` to start drain the streams it manages. The function is\nidempotent, and also emits a `'resume'` event each time which usually goes to\nthe stream that is currently being drained.\n\n### combinedStream.pause();\n\nIf `combinedStream.pauseStreams` is set to `false`, this does nothing.\nOtherwise a `'pause'` event is emitted, this goes to the stream that is\ncurrently being drained, so you can use it to apply back pressure.\n\n### combinedStream.end();\n\nSets `combinedStream.writable` to false, emits an `'end'` event, and removes\nall streams from the queue.\n\n### combinedStream.destroy();\n\nSame as `combinedStream.end()`, except it emits a `'close'` event instead of\n`'end'`.\n\n## License\n\ncombined-stream is licensed under the MIT license.\n",
|
||||
"readmeFilename": "Readme.md",
|
||||
"gitHead": "cfc7b815d090a109bcedb5bb0f6713148d55a6b7",
|
||||
"bugs": {
|
||||
"url": "https://github.com/felixge/node-combined-stream/issues"
|
||||
},
|
||||
"_id": "combined-stream@1.0.5",
|
||||
"_shasum": "938370a57b4a51dea2c77c15d5c5fdf895164009",
|
||||
"_resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz",
|
||||
"_from": "combined-stream@>=1.0.5 <1.1.0"
|
||||
"_from": "combined-stream@>=1.0.5 <1.1.0",
|
||||
"_npmVersion": "2.10.1",
|
||||
"_nodeVersion": "0.12.4",
|
||||
"_npmUser": {
|
||||
"name": "alexindigo",
|
||||
"email": "iam@alexindigo.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "938370a57b4a51dea2c77c15d5c5fdf895164009",
|
||||
"tarball": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "felixge",
|
||||
"email": "felix@debuggable.com"
|
||||
},
|
||||
{
|
||||
"name": "celer",
|
||||
"email": "dtyree77@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "alexindigo",
|
||||
"email": "iam@alexindigo.com"
|
||||
},
|
||||
{
|
||||
"name": "apechimp",
|
||||
"email": "apeherder@gmail.com"
|
||||
}
|
||||
],
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.5.tgz"
|
||||
}
|
||||
|
|
|
@ -43,14 +43,38 @@
|
|||
"@ljharb/eslint-config": "^11.0.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
"readme": "[![Build Status][travis-svg]][travis-url]\n[![dependency status][deps-svg]][deps-url]\n[![dev dependency status][dev-deps-svg]][dev-deps-url]\n\n# extend() for Node.js <sup>[![Version Badge][npm-version-png]][npm-url]</sup>\n\n`node-extend` is a port of the classic extend() method from jQuery. It behaves as you expect. It is simple, tried and true.\n\nNotes:\n\n* Since Node.js >= 4,\n [`Object.assign`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)\n now offers the same functionality natively (but without the \"deep copy\" option).\n See [ECMAScript 2015 (ES6) in Node.js](https://nodejs.org/en/docs/es6).\n* Some native implementations of `Object.assign` in both Node.js and many\n browsers (since NPM modules are for the browser too) may not be fully\n spec-compliant.\n Check [`object.assign`](https://www.npmjs.com/package/object.assign) module for\n a compliant candidate.\n\n## Installation\n\nThis package is available on [npm][npm-url] as: `extend`\n\n``` sh\nnpm install extend\n```\n\n## Usage\n\n**Syntax:** extend **(** [`deep`], `target`, `object1`, [`objectN`] **)**\n\n*Extend one object with one or more others, returning the modified object.*\n\n**Example:**\n\n``` js\nvar extend = require('extend');\nextend(targetObject, object1, object2);\n```\n\nKeep in mind that the target object will be modified, and will be returned from extend().\n\nIf a boolean true is specified as the first argument, extend performs a deep copy, recursively copying any objects it finds. Otherwise, the copy will share structure with the original object(s).\nUndefined properties are not copied. However, properties inherited from the object's prototype will be copied over.\nWarning: passing `false` as the first argument is not supported.\n\n### Arguments\n\n* `deep` *Boolean* (optional)\nIf set, the merge becomes recursive (i.e. deep copy).\n* `target`\t*Object*\nThe object to extend.\n* `object1`\t*Object*\nThe object that will be merged into the first.\n* `objectN` *Object* (Optional)\nMore objects to merge into the first.\n\n## License\n\n`node-extend` is licensed under the [MIT License][mit-license-url].\n\n## Acknowledgements\n\nAll credit to the jQuery authors for perfecting this amazing utility.\n\nPorted to Node.js by [Stefan Thomas][github-justmoon] with contributions by [Jonathan Buchanan][github-insin] and [Jordan Harband][github-ljharb].\n\n[travis-svg]: https://travis-ci.org/justmoon/node-extend.svg\n[travis-url]: https://travis-ci.org/justmoon/node-extend\n[npm-url]: https://npmjs.org/package/extend\n[mit-license-url]: http://opensource.org/licenses/MIT\n[github-justmoon]: https://github.com/justmoon\n[github-insin]: https://github.com/insin\n[github-ljharb]: https://github.com/ljharb\n[npm-version-png]: http://versionbadg.es/justmoon/node-extend.svg\n[deps-svg]: https://david-dm.org/justmoon/node-extend.svg\n[deps-url]: https://david-dm.org/justmoon/node-extend\n[dev-deps-svg]: https://david-dm.org/justmoon/node-extend/dev-status.svg\n[dev-deps-url]: https://david-dm.org/justmoon/node-extend#info=devDependencies\n\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "138b515df4d628bb1742254ede5d2551c0fecae7",
|
||||
"bugs": {
|
||||
"url": "https://github.com/justmoon/node-extend/issues"
|
||||
},
|
||||
"homepage": "https://github.com/justmoon/node-extend#readme",
|
||||
"_id": "extend@3.0.1",
|
||||
"_shasum": "a755ea7bc1adfcc5a31ce7e762dbaadc5e636444",
|
||||
"_resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz",
|
||||
"_from": "extend@>=3.0.0 <3.1.0"
|
||||
"_from": "extend@>=3.0.0 <3.1.0",
|
||||
"_npmVersion": "4.2.0",
|
||||
"_nodeVersion": "7.9.0",
|
||||
"_npmUser": {
|
||||
"name": "ljharb",
|
||||
"email": "ljharb@gmail.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "a755ea7bc1adfcc5a31ce7e762dbaadc5e636444",
|
||||
"tarball": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "justmoon",
|
||||
"email": "justmoon@members.fsf.org"
|
||||
},
|
||||
{
|
||||
"name": "ljharb",
|
||||
"email": "ljharb@gmail.com"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-18-east.internal.npmjs.com",
|
||||
"tmp": "tmp/extend-3.0.1.tgz_1493357803699_0.1708133383654058"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz"
|
||||
}
|
||||
|
|
36
node_modules/less/node_modules/request/node_modules/forever-agent/package.json
wygenerowano
vendored
36
node_modules/less/node_modules/request/node_modules/forever-agent/package.json
wygenerowano
vendored
|
@ -9,7 +9,7 @@
|
|||
"version": "0.6.1",
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
"url": "git+https://github.com/mikeal/forever-agent.git"
|
||||
"url": "https://github.com/mikeal/forever-agent"
|
||||
},
|
||||
"main": "index.js",
|
||||
"dependencies": {},
|
||||
|
@ -18,14 +18,38 @@
|
|||
"engines": {
|
||||
"node": "*"
|
||||
},
|
||||
"readme": "forever-agent\n=============\n\nHTTP Agent that keeps socket connections alive between keep-alive requests. Formerly part of mikeal/request, now a standalone module.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "1b3b6163f2b3c2c4122bbfa288c1325c0df9871d",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mikeal/forever-agent/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mikeal/forever-agent#readme",
|
||||
"homepage": "https://github.com/mikeal/forever-agent",
|
||||
"_id": "forever-agent@0.6.1",
|
||||
"scripts": {},
|
||||
"_shasum": "fbc71f0c41adeb37f96c577ad1ed42d8fdacca91",
|
||||
"_resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
|
||||
"_from": "forever-agent@>=0.6.1 <0.7.0"
|
||||
"_from": "forever-agent@>=0.6.1 <0.7.0",
|
||||
"_npmVersion": "1.4.28",
|
||||
"_npmUser": {
|
||||
"name": "simov",
|
||||
"email": "simeonvelichkov@gmail.com"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "mikeal",
|
||||
"email": "mikeal.rogers@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "nylen",
|
||||
"email": "jnylen@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "simov",
|
||||
"email": "simeonvelichkov@gmail.com"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "fbc71f0c41adeb37f96c577ad1ed42d8fdacca91",
|
||||
"tarball": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz"
|
||||
}
|
||||
|
|
28
node_modules/less/node_modules/request/node_modules/form-data/node_modules/asynckit/package.json
wygenerowano
vendored
28
node_modules/less/node_modules/request/node_modules/form-data/node_modules/asynckit/package.json
wygenerowano
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -16,7 +16,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+ssh://git@github.com/substack/jsonify.git"
|
||||
"url": "git://github.com/substack/jsonify.git"
|
||||
},
|
||||
"keywords": [
|
||||
"json",
|
||||
|
@ -27,13 +27,25 @@
|
|||
"url": "http://crockford.com/"
|
||||
},
|
||||
"license": "Public Domain",
|
||||
"readme": "jsonify\n=======\n\nThis module provides Douglas Crockford's JSON implementation without modifying\nany globals.\n\n`stringify` and `parse` are merely exported without respect to whether or not a\nglobal `JSON` object exists.\n\nmethods\n=======\n\nvar json = require('jsonify');\n\njson.parse(source, reviver)\n---------------------------\n\nReturn a new javascript object from a parse of the `source` string.\n\nIf a `reviver` function is specified, walk the structure passing each name/value\npair to `reviver.call(parent, key, value)` to transform the `value` before\nparsing it.\n\njson.stringify(value, replacer, space)\n--------------------------------------\n\nReturn a string representation for `value`.\n\nIf `replacer` is specified, walk the structure passing each name/value pair to\n`replacer.call(parent, key, value)` to transform the `value` before stringifying\nit.\n\nIf `space` is a number, indent the result by that many spaces.\nIf `space` is a string, use `space` as the indentation.\n",
|
||||
"readmeFilename": "README.markdown",
|
||||
"bugs": {
|
||||
"url": "https://github.com/substack/jsonify/issues"
|
||||
},
|
||||
"homepage": "https://github.com/substack/jsonify#readme",
|
||||
"_id": "jsonify@0.0.0",
|
||||
"dependencies": {},
|
||||
"engines": {
|
||||
"node": "*"
|
||||
},
|
||||
"_engineSupported": true,
|
||||
"_npmVersion": "1.0.10",
|
||||
"_nodeVersion": "v0.5.0-pre",
|
||||
"_defaultsLoaded": true,
|
||||
"dist": {
|
||||
"shasum": "2c74b6ee41d93ca51b7b5aaee8f503631d252a73",
|
||||
"tarball": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "substack",
|
||||
"email": "mail@substack.net"
|
||||
}
|
||||
],
|
||||
"_shasum": "2c74b6ee41d93ca51b7b5aaee8f503631d252a73",
|
||||
"_resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz",
|
||||
"_from": "jsonify@>=0.0.0 <0.1.0"
|
||||
|
|
|
@ -43,13 +43,33 @@
|
|||
"url": "http://substack.net"
|
||||
},
|
||||
"license": "MIT",
|
||||
"readme": "# json-stable-stringify\n\ndeterministic version of `JSON.stringify()` so you can get a consistent hash\nfrom stringified results\n\nYou can also pass in a custom comparison function.\n\n[](https://ci.testling.com/substack/json-stable-stringify)\n\n[](http://travis-ci.org/substack/json-stable-stringify)\n\n# example\n\n``` js\nvar stringify = require('json-stable-stringify');\nvar obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };\nconsole.log(stringify(obj));\n```\n\noutput:\n\n```\n{\"a\":3,\"b\":[{\"x\":4,\"y\":5,\"z\":6},7],\"c\":8}\n```\n\n# methods\n\n``` js\nvar stringify = require('json-stable-stringify')\n```\n\n## var str = stringify(obj, opts)\n\nReturn a deterministic stringified string `str` from the object `obj`.\n\n## options\n\n### cmp\n\nIf `opts` is given, you can supply an `opts.cmp` to have a custom comparison\nfunction for object keys. Your function `opts.cmp` is called with these\nparameters:\n\n``` js\nopts.cmp({ key: akey, value: avalue }, { key: bkey, value: bvalue })\n```\n\nFor example, to sort on the object key names in reverse order you could write:\n\n``` js\nvar stringify = require('json-stable-stringify');\n\nvar obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };\nvar s = stringify(obj, function (a, b) {\n return a.key < b.key ? 1 : -1;\n});\nconsole.log(s);\n```\n\nwhich results in the output string:\n\n```\n{\"c\":8,\"b\":[{\"z\":6,\"y\":5,\"x\":4},7],\"a\":3}\n```\n\nOr if you wanted to sort on the object values in reverse order, you could write:\n\n```\nvar stringify = require('json-stable-stringify');\n\nvar obj = { d: 6, c: 5, b: [{z:3,y:2,x:1},9], a: 10 };\nvar s = stringify(obj, function (a, b) {\n return a.value < b.value ? 1 : -1;\n});\nconsole.log(s);\n```\n\nwhich outputs:\n\n```\n{\"d\":6,\"c\":5,\"b\":[{\"z\":3,\"y\":2,\"x\":1},9],\"a\":10}\n```\n\n### space\n\nIf you specify `opts.space`, it will indent the output for pretty-printing.\nValid values are strings (e.g. `{space: \\t}`) or a number of spaces\n(`{space: 3}`).\n\nFor example:\n\n```js\nvar obj = { b: 1, a: { foo: 'bar', and: [1, 2, 3] } };\nvar s = stringify(obj, { space: ' ' });\nconsole.log(s);\n```\n\nwhich outputs:\n\n```\n{\n \"a\": {\n \"and\": [\n 1,\n 2,\n 3\n ],\n \"foo\": \"bar\"\n },\n \"b\": 1\n}\n```\n\n### replacer\n\nThe replacer parameter is a function `opts.replacer(key, value)` that behaves\nthe same as the replacer\n[from the core JSON object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_native_JSON#The_replacer_parameter).\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install json-stable-stringify\n```\n\n# license\n\nMIT\n",
|
||||
"readmeFilename": "readme.markdown",
|
||||
"gitHead": "4a3ac9cc006a91e64901f8ebe78d23bf9fc9fbd0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/substack/json-stable-stringify/issues"
|
||||
},
|
||||
"_id": "json-stable-stringify@1.0.1",
|
||||
"_shasum": "9a759d39c5f2ff503fd5300646ed445f88c4f9af",
|
||||
"_resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz",
|
||||
"_from": "json-stable-stringify@>=1.0.1 <2.0.0"
|
||||
"_from": "json-stable-stringify@>=1.0.1 <2.0.0",
|
||||
"_npmVersion": "3.4.1",
|
||||
"_nodeVersion": "4.2.1",
|
||||
"_npmUser": {
|
||||
"name": "substack",
|
||||
"email": "substack@gmail.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "9a759d39c5f2ff503fd5300646ed445f88c4f9af",
|
||||
"tarball": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "substack",
|
||||
"email": "mail@substack.net"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-5-east.internal.npmjs.com",
|
||||
"tmp": "tmp/json-stable-stringify-1.0.1.tgz_1454436356521_0.9410459187347442"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz"
|
||||
}
|
||||
|
|
32
node_modules/less/node_modules/request/node_modules/har-validator/node_modules/ajv/package.json
wygenerowano
vendored
32
node_modules/less/node_modules/request/node_modules/har-validator/node_modules/ajv/package.json
wygenerowano
vendored
File diff suppressed because one or more lines are too long
|
@ -58,10 +58,30 @@
|
|||
"snazzy": "^5.0.0",
|
||||
"tap": "^8.0.1"
|
||||
},
|
||||
"readme": "# HAR Schema [![version][npm-version]][npm-url] [![License][npm-license]][license-url]\n\n> JSON Schema for HTTP Archive ([HAR][spec]).\n\n[![Build Status][travis-image]][travis-url]\n[![Downloads][npm-downloads]][npm-url]\n[![Code Climate][codeclimate-quality]][codeclimate-url]\n[![Coverage Status][codeclimate-coverage]][codeclimate-url]\n[![Dependency Status][dependencyci-image]][dependencyci-url]\n[![Dependencies][david-image]][david-url]\n\n## Install\n\n```bash\nnpm install --only=production --save har-schema\n```\n\n## Usage\n\nCompatible with any [JSON Schema validation tool][validator].\n\n----\n> :copyright: [ahmadnassri.com](https://www.ahmadnassri.com/) · \n> License: [ISC][license-url] · \n> Github: [@ahmadnassri](https://github.com/ahmadnassri) · \n> Twitter: [@ahmadnassri](https://twitter.com/ahmadnassri)\n\n[license-url]: http://choosealicense.com/licenses/isc/\n\n[travis-url]: https://travis-ci.org/ahmadnassri/har-schema\n[travis-image]: https://img.shields.io/travis/ahmadnassri/har-schema.svg?style=flat-square\n\n[npm-url]: https://www.npmjs.com/package/har-schema\n[npm-license]: https://img.shields.io/npm/l/har-schema.svg?style=flat-square\n[npm-version]: https://img.shields.io/npm/v/har-schema.svg?style=flat-square\n[npm-downloads]: https://img.shields.io/npm/dm/har-schema.svg?style=flat-square\n\n[codeclimate-url]: https://codeclimate.com/github/ahmadnassri/har-schema\n[codeclimate-quality]: https://img.shields.io/codeclimate/github/ahmadnassri/har-schema.svg?style=flat-square\n[codeclimate-coverage]: https://img.shields.io/codeclimate/coverage/github/ahmadnassri/har-schema.svg?style=flat-square\n\n[david-url]: https://david-dm.org/ahmadnassri/har-schema\n[david-image]: https://img.shields.io/david/ahmadnassri/har-schema.svg?style=flat-square\n\n[dependencyci-url]: https://dependencyci.com/github/ahmadnassri/har-schema\n[dependencyci-image]: https://dependencyci.com/github/ahmadnassri/har-schema/badge?style=flat-square\n\n[spec]: https://github.com/ahmadnassri/har-spec/blob/master/versions/1.2.md\n[validator]: https://github.com/ahmadnassri/har-validator\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "7dde6d47c93e82b6d7ef7514766d64c166de14d3",
|
||||
"_id": "har-schema@1.0.5",
|
||||
"_shasum": "d263135f43307c02c602afc8fe95970c0151369e",
|
||||
"_resolved": "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz",
|
||||
"_from": "har-schema@>=1.0.5 <2.0.0"
|
||||
"_from": "har-schema@>=1.0.5 <2.0.0",
|
||||
"_npmVersion": "2.15.11",
|
||||
"_nodeVersion": "4.6.2",
|
||||
"_npmUser": {
|
||||
"name": "ahmadnassri",
|
||||
"email": "ahmad@ahmadnassri.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "d263135f43307c02c602afc8fe95970c0151369e",
|
||||
"tarball": "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "esp",
|
||||
"email": "e.poberezkin@me.com"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-12-west.internal.npmjs.com",
|
||||
"tmp": "tmp/har-schema-1.0.5.tgz_1480877746957_0.2995719478931278"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz"
|
||||
}
|
||||
|
|
28
node_modules/less/node_modules/request/node_modules/har-validator/package.json
wygenerowano
vendored
28
node_modules/less/node_modules/request/node_modules/har-validator/package.json
wygenerowano
vendored
|
@ -73,10 +73,30 @@
|
|||
"ajv": "^4.9.1",
|
||||
"har-schema": "^1.0.5"
|
||||
},
|
||||
"readme": "# HAR Validator [![version][npm-version]][npm-url] [![License][npm-license]][license-url]\n\n> Extremely fast HTTP Archive ([HAR](https://github.com/ahmadnassri/har-spec/blob/master/versions/1.2.md)) validator using JSON Schema.\n\n[![Build Status][travis-image]][travis-url]\n[![Downloads][npm-downloads]][npm-url]\n[![Code Climate][codeclimate-quality]][codeclimate-url]\n[![Coverage Status][codeclimate-coverage]][codeclimate-url]\n[![Dependency Status][dependencyci-image]][dependencyci-url]\n[![Dependencies][david-image]][david-url]\n\n## Install\n\n```bash\nnpm install --only=production --save har-validator\n```\n\n## Usage\n\nI recommend using an optimized build matching your Node.js environment version, otherwise, the standard `require` would work just fine with any version of Node `>= v4.0` .\n\n```js\n/*\n * Node 7\n */\nconst validate = require('har-validator/lib/node7')\n\n/*\n * Node 6\n */\nconst validate = require('har-validator/lib/node6')\n\n/*\n * Node 4 (Default)\n */\nvar validate = require('har-validator')\n```\n\n## CLI Usage\n\nPlease refer to [`har-cli`](https://github.com/ahmadnassri/har-cli) for more info.\n\n## API\n\n**Note**: as of [`v2.0.0`](https://github.com/ahmadnassri/har-validator/releases/tag/v2.0.0) this module defaults to Promise based API. *For backward comptability with `v1.x` an [async/callback API](docs/async.md) is also provided*\n\n- [async API](docs/async.md)\n- [callback API](docs/async.md)\n- [Promise API](docs/promise.md) *(default)*\n\n----\n> :copyright: [ahmadnassri.com](https://www.ahmadnassri.com/) · \n> License: [ISC][license-url] · \n> Github: [@ahmadnassri](https://github.com/ahmadnassri) · \n> Twitter: [@ahmadnassri](https://twitter.com/ahmadnassri)\n\n[license-url]: http://choosealicense.com/licenses/isc/\n\n[travis-url]: https://travis-ci.org/ahmadnassri/har-validator\n[travis-image]: https://img.shields.io/travis/ahmadnassri/har-validator.svg?style=flat-square\n\n[npm-url]: https://www.npmjs.com/package/har-validator\n[npm-license]: https://img.shields.io/npm/l/har-validator.svg?style=flat-square\n[npm-version]: https://img.shields.io/npm/v/har-validator.svg?style=flat-square\n[npm-downloads]: https://img.shields.io/npm/dm/har-validator.svg?style=flat-square\n\n[codeclimate-url]: https://codeclimate.com/github/ahmadnassri/har-validator\n[codeclimate-quality]: https://img.shields.io/codeclimate/github/ahmadnassri/har-validator.svg?style=flat-square\n[codeclimate-coverage]: https://img.shields.io/codeclimate/coverage/github/ahmadnassri/har-validator.svg?style=flat-square\n\n[david-url]: https://david-dm.org/ahmadnassri/har-validator\n[david-image]: https://img.shields.io/david/ahmadnassri/har-validator.svg?style=flat-square\n\n[dependencyci-url]: https://dependencyci.com/github/ahmadnassri/har-validator\n[dependencyci-image]: https://dependencyci.com/github/ahmadnassri/har-validator/badge?style=flat-square\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "06cb69e2da150de1643bfe511f0374f23b7a5b11",
|
||||
"_id": "har-validator@4.2.1",
|
||||
"_shasum": "33481d0f1bbff600dd203d75812a6a5fba002e2a",
|
||||
"_resolved": "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz",
|
||||
"_from": "har-validator@>=4.2.1 <4.3.0"
|
||||
"_from": "har-validator@>=4.2.1 <4.3.0",
|
||||
"_npmVersion": "2.15.11",
|
||||
"_nodeVersion": "4.8.0",
|
||||
"_npmUser": {
|
||||
"name": "ahmadnassri",
|
||||
"email": "ahmad@ahmadnassri.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "33481d0f1bbff600dd203d75812a6a5fba002e2a",
|
||||
"tarball": "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "ahmadnassri",
|
||||
"email": "ahmad@ahmadnassri.com"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-12-west.internal.npmjs.com",
|
||||
"tmp": "tmp/har-validator-4.2.1.tgz_1488636538686_0.5101928301155567"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz"
|
||||
}
|
||||
|
|
32
node_modules/less/node_modules/request/node_modules/hawk/node_modules/boom/package.json
wygenerowano
vendored
32
node_modules/less/node_modules/request/node_modules/hawk/node_modules/boom/package.json
wygenerowano
vendored
File diff suppressed because one or more lines are too long
28
node_modules/less/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json
wygenerowano
vendored
28
node_modules/less/node_modules/request/node_modules/hawk/node_modules/cryptiles/package.json
wygenerowano
vendored
|
@ -27,14 +27,34 @@
|
|||
"test-cov-html": "lab -a code -r html -o coverage.html"
|
||||
},
|
||||
"license": "BSD-3-Clause",
|
||||
"readme": "cryptiles\n=========\n\nGeneral purpose crypto utilities\n\n[](http://travis-ci.org/hapijs/cryptiles)\n\nLead Maintainer - [C J Silverio](https://github.com/ceejbot)\n\n## Methods\n\n### `randomString(<Number> size)`\nReturns a cryptographically strong pseudo-random data string. Takes a size argument for the length of the string.\n\n### `fixedTimeComparison(<String> a, <String> b)`\nCompare two strings using fixed time algorithm (to prevent time-based analysis of MAC digest match). Returns `true` if the strings match, `false` if they differ.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "9bc5a852f01cd51e615814e1cb255fe2df810649",
|
||||
"bugs": {
|
||||
"url": "https://github.com/hapijs/cryptiles/issues"
|
||||
},
|
||||
"homepage": "https://github.com/hapijs/cryptiles#readme",
|
||||
"_id": "cryptiles@2.0.5",
|
||||
"_shasum": "3bdfecdc608147c1c67202fa291e7dca59eaa3b8",
|
||||
"_resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz",
|
||||
"_from": "cryptiles@>=2.0.0 <3.0.0"
|
||||
"_from": "cryptiles@>=2.0.0 <3.0.0",
|
||||
"_npmVersion": "2.14.2",
|
||||
"_nodeVersion": "4.0.0",
|
||||
"_npmUser": {
|
||||
"name": "hueniverse",
|
||||
"email": "eran@hammer.io"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "3bdfecdc608147c1c67202fa291e7dca59eaa3b8",
|
||||
"tarball": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "hueniverse",
|
||||
"email": "eran@hueniverse.com"
|
||||
},
|
||||
{
|
||||
"name": "ceejbot",
|
||||
"email": "ceejceej@gmail.com"
|
||||
}
|
||||
],
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-2.0.5.tgz"
|
||||
}
|
||||
|
|
32
node_modules/less/node_modules/request/node_modules/hawk/node_modules/hoek/package.json
wygenerowano
vendored
32
node_modules/less/node_modules/request/node_modules/hawk/node_modules/hoek/package.json
wygenerowano
vendored
File diff suppressed because one or more lines are too long
27
node_modules/less/node_modules/request/node_modules/hawk/node_modules/sntp/package.json
wygenerowano
vendored
27
node_modules/less/node_modules/request/node_modules/hawk/node_modules/sntp/package.json
wygenerowano
vendored
|
@ -10,7 +10,7 @@
|
|||
"contributors": [],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/hueniverse/sntp.git"
|
||||
"url": "git://github.com/hueniverse/sntp"
|
||||
},
|
||||
"main": "index",
|
||||
"keywords": [
|
||||
|
@ -36,14 +36,29 @@
|
|||
"url": "http://github.com/hueniverse/sntp/raw/master/LICENSE"
|
||||
}
|
||||
],
|
||||
"readme": "# sntp\n\nAn SNTP v4 client (RFC4330) for node. Simpy connects to the NTP or SNTP server requested and returns the server time\nalong with the roundtrip duration and clock offset. To adjust the local time to the NTP time, add the returned `t` offset\nto the local time.\n\n[](http://travis-ci.org/hueniverse/sntp)\n\n# Usage\n\n```javascript\nvar Sntp = require('sntp');\n\n// All options are optional\n\nvar options = {\n host: 'nist1-sj.ustiming.org', // Defaults to pool.ntp.org\n port: 123, // Defaults to 123 (NTP)\n resolveReference: true, // Default to false (not resolving)\n timeout: 1000 // Defaults to zero (no timeout)\n};\n\n// Request server time\n\nSntp.time(options, function (err, time) {\n\n if (err) {\n console.log('Failed: ' + err.message);\n process.exit(1);\n }\n\n console.log('Local clock is off by: ' + time.t + ' milliseconds');\n process.exit(0);\n});\n```\n\nIf an application needs to maintain continuous time synchronization, the module provides a stateful method for\nquerying the current offset only when the last one is too old (defaults to daily).\n\n```javascript\n// Request offset once\n\nSntp.offset(function (err, offset) {\n\n console.log(offset); // New (served fresh)\n\n // Request offset again\n\n Sntp.offset(function (err, offset) {\n\n console.log(offset); // Identical (served from cache)\n });\n});\n```\n\nTo set a background offset refresh, start the interval and use the provided now() method. If for any reason the\nclient fails to obtain an up-to-date offset, the current system clock is used.\n\n```javascript\nvar before = Sntp.now(); // System time without offset\n\nSntp.start(function () {\n\n var now = Sntp.now(); // With offset\n Sntp.stop();\n});\n```\n\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "ee2e35284f684609990681734d39010cd356d7da",
|
||||
"bugs": {
|
||||
"url": "https://github.com/hueniverse/sntp/issues"
|
||||
},
|
||||
"homepage": "https://github.com/hueniverse/sntp#readme",
|
||||
"homepage": "https://github.com/hueniverse/sntp",
|
||||
"_id": "sntp@1.0.9",
|
||||
"_shasum": "6541184cc90aeea6c6e7b35e2659082443c66198",
|
||||
"_resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz",
|
||||
"_from": "sntp@>=1.0.0 <2.0.0"
|
||||
"_from": "sntp@>=1.0.0 <2.0.0",
|
||||
"_npmVersion": "1.4.23",
|
||||
"_npmUser": {
|
||||
"name": "hueniverse",
|
||||
"email": "eran@hueniverse.com"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "hueniverse",
|
||||
"email": "eran@hueniverse.com"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "6541184cc90aeea6c6e7b35e2659082443c66198",
|
||||
"tarball": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/sntp/-/sntp-1.0.9.tgz"
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -49,8 +49,6 @@
|
|||
"email": "robert.gulewich@joyent.com"
|
||||
}
|
||||
],
|
||||
"readme": "# assert-plus\n\nThis library is a super small wrapper over node's assert module that has two\nthings: (1) the ability to disable assertions with the environment variable\nNODE\\_NDEBUG, and (2) some API wrappers for argument testing. Like\n`assert.string(myArg, 'myArg')`. As a simple example, most of my code looks\nlike this:\n\n```javascript\n var assert = require('assert-plus');\n\n function fooAccount(options, callback) {\n assert.object(options, 'options');\n assert.number(options.id, 'options.id');\n assert.bool(options.isManager, 'options.isManager');\n assert.string(options.name, 'options.name');\n assert.arrayOfString(options.email, 'options.email');\n assert.func(callback, 'callback');\n\n // Do stuff\n callback(null, {});\n }\n```\n\n# API\n\nAll methods that *aren't* part of node's core assert API are simply assumed to\ntake an argument, and then a string 'name' that's not a message; `AssertionError`\nwill be thrown if the assertion fails with a message like:\n\n AssertionError: foo (string) is required\n at test (/home/mark/work/foo/foo.js:3:9)\n at Object.<anonymous> (/home/mark/work/foo/foo.js:15:1)\n at Module._compile (module.js:446:26)\n at Object..js (module.js:464:10)\n at Module.load (module.js:353:31)\n at Function._load (module.js:311:12)\n at Array.0 (module.js:484:10)\n at EventEmitter._tickCallback (node.js:190:38)\n\nfrom:\n\n```javascript\n function test(foo) {\n assert.string(foo, 'foo');\n }\n```\n\nThere you go. You can check that arrays are of a homogeneous type with `Arrayof$Type`:\n\n```javascript\n function test(foo) {\n assert.arrayOfString(foo, 'foo');\n }\n```\n\nYou can assert IFF an argument is not `undefined` (i.e., an optional arg):\n\n```javascript\n assert.optionalString(foo, 'foo');\n```\n\nLastly, you can opt-out of assertion checking altogether by setting the\nenvironment variable `NODE_NDEBUG=1`. This is pseudo-useful if you have\nlots of assertions, and don't want to pay `typeof ()` taxes to v8 in\nproduction. Be advised: The standard functions re-exported from `assert` are\nalso disabled in assert-plus if NDEBUG is specified. Using them directly from\nthe `assert` module avoids this behavior.\n\nThe complete list of APIs is:\n\n* assert.array\n* assert.bool\n* assert.buffer\n* assert.func\n* assert.number\n* assert.object\n* assert.string\n* assert.stream\n* assert.date\n* assert.regex\n* assert.uuid\n* assert.arrayOfArray\n* assert.arrayOfBool\n* assert.arrayOfBuffer\n* assert.arrayOfFunc\n* assert.arrayOfNumber\n* assert.arrayOfObject\n* assert.arrayOfString\n* assert.arrayOfStream\n* assert.arrayOfDate\n* assert.arrayOfUuid\n* assert.optionalArray\n* assert.optionalBool\n* assert.optionalBuffer\n* assert.optionalFunc\n* assert.optionalNumber\n* assert.optionalObject\n* assert.optionalString\n* assert.optionalStream\n* assert.optionalDate\n* assert.optionalUuid\n* assert.optionalArrayOfArray\n* assert.optionalArrayOfBool\n* assert.optionalArrayOfBuffer\n* assert.optionalArrayOfFunc\n* assert.optionalArrayOfNumber\n* assert.optionalArrayOfObject\n* assert.optionalArrayOfString\n* assert.optionalArrayOfStream\n* assert.optionalArrayOfDate\n* assert.optionalArrayOfUuid\n* assert.AssertionError\n* assert.fail\n* assert.ok\n* assert.equal\n* assert.notEqual\n* assert.deepEqual\n* assert.notDeepEqual\n* assert.strictEqual\n* assert.notStrictEqual\n* assert.throws\n* assert.doesNotThrow\n* assert.ifError\n\n# Installation\n\n npm install assert-plus\n\n## License\n\nThe MIT License (MIT)\nCopyright (c) 2012 Mark Cavage\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n## Bugs\n\nSee <https://github.com/mcavage/node-assert-plus/issues>.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mcavage/node-assert-plus/issues"
|
||||
},
|
||||
|
@ -59,5 +57,26 @@
|
|||
"_id": "assert-plus@0.2.0",
|
||||
"_shasum": "d74e1b87e7affc0db8aadb7021f3fe48101ab234",
|
||||
"_resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz",
|
||||
"_from": "assert-plus@>=0.2.0 <0.3.0"
|
||||
"_from": "assert-plus@>=0.2.0 <0.3.0",
|
||||
"_npmVersion": "3.3.8",
|
||||
"_nodeVersion": "0.10.36",
|
||||
"_npmUser": {
|
||||
"name": "pfmooney",
|
||||
"email": "patrick.f.mooney@gmail.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "d74e1b87e7affc0db8aadb7021f3fe48101ab234",
|
||||
"tarball": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.2.0.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "mcavage",
|
||||
"email": "mcavage@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "pfmooney",
|
||||
"email": "patrick.f.mooney@gmail.com"
|
||||
}
|
||||
],
|
||||
"directories": {}
|
||||
}
|
||||
|
|
|
@ -49,8 +49,6 @@
|
|||
"email": "robert.gulewich@joyent.com"
|
||||
}
|
||||
],
|
||||
"readme": "# assert-plus\n\nThis library is a super small wrapper over node's assert module that has two\nthings: (1) the ability to disable assertions with the environment variable\nNODE\\_NDEBUG, and (2) some API wrappers for argument testing. Like\n`assert.string(myArg, 'myArg')`. As a simple example, most of my code looks\nlike this:\n\n```javascript\n var assert = require('assert-plus');\n\n function fooAccount(options, callback) {\n assert.object(options, 'options');\n assert.number(options.id, 'options.id');\n assert.bool(options.isManager, 'options.isManager');\n assert.string(options.name, 'options.name');\n assert.arrayOfString(options.email, 'options.email');\n assert.func(callback, 'callback');\n\n // Do stuff\n callback(null, {});\n }\n```\n\n# API\n\nAll methods that *aren't* part of node's core assert API are simply assumed to\ntake an argument, and then a string 'name' that's not a message; `AssertionError`\nwill be thrown if the assertion fails with a message like:\n\n AssertionError: foo (string) is required\n at test (/home/mark/work/foo/foo.js:3:9)\n at Object.<anonymous> (/home/mark/work/foo/foo.js:15:1)\n at Module._compile (module.js:446:26)\n at Object..js (module.js:464:10)\n at Module.load (module.js:353:31)\n at Function._load (module.js:311:12)\n at Array.0 (module.js:484:10)\n at EventEmitter._tickCallback (node.js:190:38)\n\nfrom:\n\n```javascript\n function test(foo) {\n assert.string(foo, 'foo');\n }\n```\n\nThere you go. You can check that arrays are of a homogeneous type with `Arrayof$Type`:\n\n```javascript\n function test(foo) {\n assert.arrayOfString(foo, 'foo');\n }\n```\n\nYou can assert IFF an argument is not `undefined` (i.e., an optional arg):\n\n```javascript\n assert.optionalString(foo, 'foo');\n```\n\nLastly, you can opt-out of assertion checking altogether by setting the\nenvironment variable `NODE_NDEBUG=1`. This is pseudo-useful if you have\nlots of assertions, and don't want to pay `typeof ()` taxes to v8 in\nproduction. Be advised: The standard functions re-exported from `assert` are\nalso disabled in assert-plus if NDEBUG is specified. Using them directly from\nthe `assert` module avoids this behavior.\n\nThe complete list of APIs is:\n\n* assert.array\n* assert.bool\n* assert.buffer\n* assert.func\n* assert.number\n* assert.finite\n* assert.object\n* assert.string\n* assert.stream\n* assert.date\n* assert.regexp\n* assert.uuid\n* assert.arrayOfArray\n* assert.arrayOfBool\n* assert.arrayOfBuffer\n* assert.arrayOfFunc\n* assert.arrayOfNumber\n* assert.arrayOfFinite\n* assert.arrayOfObject\n* assert.arrayOfString\n* assert.arrayOfStream\n* assert.arrayOfDate\n* assert.arrayOfRegexp\n* assert.arrayOfUuid\n* assert.optionalArray\n* assert.optionalBool\n* assert.optionalBuffer\n* assert.optionalFunc\n* assert.optionalNumber\n* assert.optionalFinite\n* assert.optionalObject\n* assert.optionalString\n* assert.optionalStream\n* assert.optionalDate\n* assert.optionalRegexp\n* assert.optionalUuid\n* assert.optionalArrayOfArray\n* assert.optionalArrayOfBool\n* assert.optionalArrayOfBuffer\n* assert.optionalArrayOfFunc\n* assert.optionalArrayOfNumber\n* assert.optionalArrayOfFinite\n* assert.optionalArrayOfObject\n* assert.optionalArrayOfString\n* assert.optionalArrayOfStream\n* assert.optionalArrayOfDate\n* assert.optionalArrayOfRegexp\n* assert.optionalArrayOfUuid\n* assert.AssertionError\n* assert.fail\n* assert.ok\n* assert.equal\n* assert.notEqual\n* assert.deepEqual\n* assert.notDeepEqual\n* assert.strictEqual\n* assert.notStrictEqual\n* assert.throws\n* assert.doesNotThrow\n* assert.ifError\n\n# Installation\n\n npm install assert-plus\n\n## License\n\nThe MIT License (MIT)\nCopyright (c) 2012 Mark Cavage\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n## Bugs\n\nSee <https://github.com/mcavage/node-assert-plus/issues>.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mcavage/node-assert-plus/issues"
|
||||
},
|
||||
|
@ -59,5 +57,26 @@
|
|||
"_id": "assert-plus@1.0.0",
|
||||
"_shasum": "f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525",
|
||||
"_resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
|
||||
"_from": "assert-plus@1.0.0"
|
||||
"_from": "assert-plus@1.0.0",
|
||||
"_npmVersion": "3.3.9",
|
||||
"_nodeVersion": "0.10.40",
|
||||
"_npmUser": {
|
||||
"name": "pfmooney",
|
||||
"email": "patrick.f.mooney@gmail.com"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "mcavage",
|
||||
"email": "mcavage@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "pfmooney",
|
||||
"email": "patrick.f.mooney@gmail.com"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525",
|
||||
"tarball": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz"
|
||||
},
|
||||
"directories": {}
|
||||
}
|
||||
|
|
|
@ -33,11 +33,28 @@
|
|||
"devDependencies": {
|
||||
"tap": "^2.3.0"
|
||||
},
|
||||
"readme": "# core-util-is\n\nThe `util.is*` functions introduced in Node v0.12.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "a177da234df5638b363ddc15fa324619a38577c8",
|
||||
"homepage": "https://github.com/isaacs/core-util-is#readme",
|
||||
"_id": "core-util-is@1.0.2",
|
||||
"_shasum": "b5fd54220aa2bc5ab57aab7140c940754503c1a7",
|
||||
"_from": "core-util-is@1.0.2",
|
||||
"_npmVersion": "3.3.2",
|
||||
"_nodeVersion": "4.0.0",
|
||||
"_npmUser": {
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "b5fd54220aa2bc5ab57aab7140c940754503c1a7",
|
||||
"tarball": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
}
|
||||
],
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
|
||||
"_from": "core-util-is@1.0.2"
|
||||
"readme": "ERROR: No README data found!"
|
||||
}
|
||||
|
|
29
node_modules/less/node_modules/request/node_modules/http-signature/node_modules/jsprim/package.json
wygenerowano
vendored
29
node_modules/less/node_modules/request/node_modules/http-signature/node_modules/jsprim/package.json
wygenerowano
vendored
File diff suppressed because one or more lines are too long
|
@ -33,14 +33,32 @@
|
|||
"test": "tap ./tst"
|
||||
},
|
||||
"license": "MIT",
|
||||
"readme": "node-asn1 is a library for encoding and decoding ASN.1 datatypes in pure JS.\nCurrently BER encoding is supported; at some point I'll likely have to do DER.\n\n## Usage\n\nMostly, if you're *actually* needing to read and write ASN.1, you probably don't\nneed this readme to explain what and why. If you have no idea what ASN.1 is,\nsee this: ftp://ftp.rsa.com/pub/pkcs/ascii/layman.asc\n\nThe source is pretty much self-explanatory, and has read/write methods for the\ncommon types out there.\n\n### Decoding\n\nThe following reads an ASN.1 sequence with a boolean.\n\n var Ber = require('asn1').Ber;\n\n var reader = new Ber.Reader(new Buffer([0x30, 0x03, 0x01, 0x01, 0xff]));\n\n reader.readSequence();\n console.log('Sequence len: ' + reader.length);\n if (reader.peek() === Ber.Boolean)\n console.log(reader.readBoolean());\n\n### Encoding\n\nThe following generates the same payload as above.\n\n var Ber = require('asn1').Ber;\n\n var writer = new Ber.Writer();\n\n writer.startSequence();\n writer.writeBoolean(true);\n writer.endSequence();\n\n console.log(writer.buffer);\n\n## Installation\n\n npm install asn1\n\n## License\n\nMIT.\n\n## Bugs\n\nSee <https://github.com/mcavage/node-asn1/issues>.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mcavage/node-asn1/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mcavage/node-asn1#readme",
|
||||
"homepage": "https://github.com/mcavage/node-asn1",
|
||||
"_id": "asn1@0.2.3",
|
||||
"_shasum": "dac8787713c9966849fc8180777ebe9c1ddf3b86",
|
||||
"_resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz",
|
||||
"_from": "asn1@>=0.2.3 <0.3.0"
|
||||
"_from": "asn1@>=0.2.3 <0.3.0",
|
||||
"_npmVersion": "1.4.28",
|
||||
"_npmUser": {
|
||||
"name": "pfmooney",
|
||||
"email": "patrick.f.mooney@gmail.com"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "mcavage",
|
||||
"email": "mcavage@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "pfmooney",
|
||||
"email": "patrick.f.mooney@gmail.com"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "dac8787713c9966849fc8180777ebe9c1ddf3b86",
|
||||
"tarball": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz"
|
||||
},
|
||||
"directories": {}
|
||||
}
|
||||
|
|
|
@ -49,8 +49,6 @@
|
|||
"email": "robert.gulewich@joyent.com"
|
||||
}
|
||||
],
|
||||
"readme": "# assert-plus\n\nThis library is a super small wrapper over node's assert module that has two\nthings: (1) the ability to disable assertions with the environment variable\nNODE\\_NDEBUG, and (2) some API wrappers for argument testing. Like\n`assert.string(myArg, 'myArg')`. As a simple example, most of my code looks\nlike this:\n\n```javascript\n var assert = require('assert-plus');\n\n function fooAccount(options, callback) {\n assert.object(options, 'options');\n assert.number(options.id, 'options.id');\n assert.bool(options.isManager, 'options.isManager');\n assert.string(options.name, 'options.name');\n assert.arrayOfString(options.email, 'options.email');\n assert.func(callback, 'callback');\n\n // Do stuff\n callback(null, {});\n }\n```\n\n# API\n\nAll methods that *aren't* part of node's core assert API are simply assumed to\ntake an argument, and then a string 'name' that's not a message; `AssertionError`\nwill be thrown if the assertion fails with a message like:\n\n AssertionError: foo (string) is required\n at test (/home/mark/work/foo/foo.js:3:9)\n at Object.<anonymous> (/home/mark/work/foo/foo.js:15:1)\n at Module._compile (module.js:446:26)\n at Object..js (module.js:464:10)\n at Module.load (module.js:353:31)\n at Function._load (module.js:311:12)\n at Array.0 (module.js:484:10)\n at EventEmitter._tickCallback (node.js:190:38)\n\nfrom:\n\n```javascript\n function test(foo) {\n assert.string(foo, 'foo');\n }\n```\n\nThere you go. You can check that arrays are of a homogeneous type with `Arrayof$Type`:\n\n```javascript\n function test(foo) {\n assert.arrayOfString(foo, 'foo');\n }\n```\n\nYou can assert IFF an argument is not `undefined` (i.e., an optional arg):\n\n```javascript\n assert.optionalString(foo, 'foo');\n```\n\nLastly, you can opt-out of assertion checking altogether by setting the\nenvironment variable `NODE_NDEBUG=1`. This is pseudo-useful if you have\nlots of assertions, and don't want to pay `typeof ()` taxes to v8 in\nproduction. Be advised: The standard functions re-exported from `assert` are\nalso disabled in assert-plus if NDEBUG is specified. Using them directly from\nthe `assert` module avoids this behavior.\n\nThe complete list of APIs is:\n\n* assert.array\n* assert.bool\n* assert.buffer\n* assert.func\n* assert.number\n* assert.finite\n* assert.object\n* assert.string\n* assert.stream\n* assert.date\n* assert.regexp\n* assert.uuid\n* assert.arrayOfArray\n* assert.arrayOfBool\n* assert.arrayOfBuffer\n* assert.arrayOfFunc\n* assert.arrayOfNumber\n* assert.arrayOfFinite\n* assert.arrayOfObject\n* assert.arrayOfString\n* assert.arrayOfStream\n* assert.arrayOfDate\n* assert.arrayOfRegexp\n* assert.arrayOfUuid\n* assert.optionalArray\n* assert.optionalBool\n* assert.optionalBuffer\n* assert.optionalFunc\n* assert.optionalNumber\n* assert.optionalFinite\n* assert.optionalObject\n* assert.optionalString\n* assert.optionalStream\n* assert.optionalDate\n* assert.optionalRegexp\n* assert.optionalUuid\n* assert.optionalArrayOfArray\n* assert.optionalArrayOfBool\n* assert.optionalArrayOfBuffer\n* assert.optionalArrayOfFunc\n* assert.optionalArrayOfNumber\n* assert.optionalArrayOfFinite\n* assert.optionalArrayOfObject\n* assert.optionalArrayOfString\n* assert.optionalArrayOfStream\n* assert.optionalArrayOfDate\n* assert.optionalArrayOfRegexp\n* assert.optionalArrayOfUuid\n* assert.AssertionError\n* assert.fail\n* assert.ok\n* assert.equal\n* assert.notEqual\n* assert.deepEqual\n* assert.notDeepEqual\n* assert.strictEqual\n* assert.notStrictEqual\n* assert.throws\n* assert.doesNotThrow\n* assert.ifError\n\n# Installation\n\n npm install assert-plus\n\n## License\n\nThe MIT License (MIT)\nCopyright (c) 2012 Mark Cavage\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n## Bugs\n\nSee <https://github.com/mcavage/node-assert-plus/issues>.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mcavage/node-assert-plus/issues"
|
||||
},
|
||||
|
@ -59,5 +57,27 @@
|
|||
"_id": "assert-plus@1.0.0",
|
||||
"_shasum": "f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525",
|
||||
"_resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
|
||||
"_from": "assert-plus@>=1.0.0 <2.0.0"
|
||||
"_from": "assert-plus@>=1.0.0 <2.0.0",
|
||||
"_npmVersion": "3.3.9",
|
||||
"_nodeVersion": "0.10.40",
|
||||
"_npmUser": {
|
||||
"name": "pfmooney",
|
||||
"email": "patrick.f.mooney@gmail.com"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "mcavage",
|
||||
"email": "mcavage@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "pfmooney",
|
||||
"email": "patrick.f.mooney@gmail.com"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525",
|
||||
"tarball": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz"
|
||||
},
|
||||
"directories": {},
|
||||
"readme": "ERROR: No README data found!"
|
||||
}
|
||||
|
|
|
@ -8,10 +8,43 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"license": "BSD-3-Clause",
|
||||
"readme": "Port of the OpenBSD `bcrypt_pbkdf` function to pure Javascript. `npm`-ified\nversion of [Devi Mandiri's port]\n(https://github.com/devi/tmp/blob/master/js/bcrypt_pbkdf.js),\nwith some minor performance improvements. The code is copied verbatim (and\nun-styled) from Devi's work.\n\nThis product includes software developed by Niels Provos.\n\n## API\n\n### `bcrypt_pbkdf.pbkdf(pass, passlen, salt, saltlen, key, keylen, rounds)`\n\nDerive a cryptographic key of arbitrary length from a given password and salt,\nusing the OpenBSD `bcrypt_pbkdf` function. This is a combination of Blowfish and\nSHA-512.\n\nSee [this article](http://www.tedunangst.com/flak/post/bcrypt-pbkdf) for\nfurther information.\n\nParameters:\n\n * `pass`, a Uint8Array of length `passlen`\n * `passlen`, an integer Number\n * `salt`, a Uint8Array of length `saltlen`\n * `saltlen`, an integer Number\n * `key`, a Uint8Array of length `keylen`, will be filled with output\n * `keylen`, an integer Number\n * `rounds`, an integer Number, number of rounds of the PBKDF to run\n\n### `bcrypt_pbkdf.hash(sha2pass, sha2salt, out)`\n\nCalculate a Blowfish hash, given SHA2-512 output of a password and salt. Used as\npart of the inner round function in the PBKDF.\n\nParameters:\n\n * `sha2pass`, a Uint8Array of length 64\n * `sha2salt`, a Uint8Array of length 64\n * `out`, a Uint8Array of length 32, will be filled with output\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "fa2ab3ae9efa15367264151398635a915c7b411d",
|
||||
"_id": "bcrypt-pbkdf@1.0.1",
|
||||
"scripts": {},
|
||||
"_shasum": "63bc5dcb61331b92bc05fd528953c33462a06f8d",
|
||||
"_resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz",
|
||||
"_from": "bcrypt-pbkdf@>=1.0.0 <2.0.0"
|
||||
"_from": "bcrypt-pbkdf@>=1.0.0 <2.0.0",
|
||||
"_npmVersion": "2.14.9",
|
||||
"_nodeVersion": "0.12.9",
|
||||
"_npmUser": {
|
||||
"name": "arekinath",
|
||||
"email": "alex@cooperi.net"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "63bc5dcb61331b92bc05fd528953c33462a06f8d",
|
||||
"tarball": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "arekinath",
|
||||
"email": "alex@cooperi.net"
|
||||
},
|
||||
{
|
||||
"name": "dap",
|
||||
"email": "dap@cs.brown.edu"
|
||||
},
|
||||
{
|
||||
"name": "jclulow",
|
||||
"email": "josh@sysmgr.org"
|
||||
},
|
||||
{
|
||||
"name": "trentm",
|
||||
"email": "trentm@gmail.com"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-18-east.internal.npmjs.com",
|
||||
"tmp": "tmp/bcrypt-pbkdf-1.0.1.tgz_1486007687899_0.974529881728813"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz"
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -19,13 +19,12 @@
|
|||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "Jeremie Miller",
|
||||
"email": "jeremie@jabber.org",
|
||||
"url": "http://jeremie.com/"
|
||||
"name": "quartzjer",
|
||||
"email": "jeremie@jabber.org"
|
||||
},
|
||||
{
|
||||
"name": "Ryan Bennett",
|
||||
"url": "https://github.com/rynomad"
|
||||
"name": "rynomad",
|
||||
"email": "nomad.ry@gmail.com"
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
|
@ -36,10 +35,21 @@
|
|||
"url": "https://github.com/quartzjer/ecc-jsbn/issues"
|
||||
},
|
||||
"homepage": "https://github.com/quartzjer/ecc-jsbn",
|
||||
"readme": "ecc-jsbn\n========\n\nECC package based on [jsbn](https://github.com/andyperlitch/jsbn) from [Tom Wu](http://www-cs-students.stanford.edu/~tjw/).\n\nThis is a subset of the same interface as the [node compiled module](https://github.com/quartzjer/ecc), but works in the browser too.\n\nAlso uses point compression now from [https://github.com/kaielvin](https://github.com/kaielvin/jsbn-ec-point-compression).\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "d35a360352496721030da645e8054f07efc22487",
|
||||
"_id": "ecc-jsbn@0.1.1",
|
||||
"scripts": {},
|
||||
"_shasum": "0fc73a9ed5f0d53c38193398523ef7e543777505",
|
||||
"_resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz",
|
||||
"_from": "ecc-jsbn@>=0.1.1 <0.2.0"
|
||||
"_from": "ecc-jsbn@>=0.1.1 <0.2.0",
|
||||
"_npmVersion": "2.11.2",
|
||||
"_nodeVersion": "0.12.6",
|
||||
"_npmUser": {
|
||||
"name": "quartzjer",
|
||||
"email": "jeremie@jabber.org"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "0fc73a9ed5f0d53c38193398523ef7e543777505",
|
||||
"tarball": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz"
|
||||
}
|
||||
|
|
|
@ -18,14 +18,34 @@
|
|||
"email": "alex.wilson@joyent.com"
|
||||
},
|
||||
"license": "MIT",
|
||||
"readme": "## getpass\n\nGet a password from the terminal. Sounds simple? Sounds like the `readline`\nmodule should be able to do it? NOPE.\n\n## Install and use it\n\n```bash\nnpm install --save getpass\n```\n\n```javascript\nconst mod_getpass = require('getpass');\n```\n\n## API\n\n### `mod_getpass.getPass([options, ]callback)`\n\nGets a password from the terminal. If available, this uses `/dev/tty` to avoid\ninterfering with any data being piped in or out of stdio.\n\nThis function prints a prompt (by default `Password:`) and then accepts input\nwithout echoing.\n\nParameters:\n\n * `options`, an Object, with properties:\n * `prompt`, an optional String\n * `callback`, a `Func(error, password)`, with arguments:\n * `error`, either `null` (no error) or an `Error` instance\n * `password`, a String\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "e219fae3a4458a1aa4b84002539265a6a1475267",
|
||||
"bugs": {
|
||||
"url": "https://github.com/arekinath/node-getpass/issues"
|
||||
},
|
||||
"homepage": "https://github.com/arekinath/node-getpass#readme",
|
||||
"_id": "getpass@0.1.7",
|
||||
"_shasum": "5eff8e3e684d569ae4cb2b1282604e8ba62149fa",
|
||||
"_resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
|
||||
"_from": "getpass@>=0.1.1 <0.2.0"
|
||||
"_from": "getpass@>=0.1.1 <0.2.0",
|
||||
"_npmVersion": "2.15.11",
|
||||
"_nodeVersion": "0.12.18",
|
||||
"_npmUser": {
|
||||
"name": "arekinath",
|
||||
"email": "alex@cooperi.net"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "5eff8e3e684d569ae4cb2b1282604e8ba62149fa",
|
||||
"tarball": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "arekinath",
|
||||
"email": "alex@cooperi.net"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-18-east.internal.npmjs.com",
|
||||
"tmp": "tmp/getpass-0.1.7.tgz_1493163657029_0.5366648870985955"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz"
|
||||
}
|
||||
|
|
|
@ -20,14 +20,34 @@
|
|||
"name": "Tom Wu"
|
||||
},
|
||||
"license": "MIT",
|
||||
"readme": "# jsbn: javascript big number\n\n[Tom Wu's Original Website](http://www-cs-students.stanford.edu/~tjw/jsbn/)\n\nI felt compelled to put this on github and publish to npm. I haven't tested every other big integer library out there, but the few that I have tested in comparison to this one have not even come close in performance. I am aware of the `bi` module on npm, however it has been modified and I wanted to publish the original without modifications. This is jsbn and jsbn2 from Tom Wu's original website above, with the modular pattern applied to prevent global leaks and to allow for use with node.js on the server side.\n\n## usage\n\n var BigInteger = require('jsbn');\n \n var a = new BigInteger('91823918239182398123');\n alert(a.bitLength()); // 67\n\n\n## API\n\n### bi.toString()\n\nreturns the base-10 number as a string\n\n### bi.negate()\n\nreturns a new BigInteger equal to the negation of `bi`\n\n### bi.abs\n\nreturns new BI of absolute value\n\n### bi.compareTo\n\n\n\n### bi.bitLength\n\n\n\n### bi.mod\n\n\n\n### bi.modPowInt\n\n\n\n### bi.clone\n\n\n\n### bi.intValue\n\n\n\n### bi.byteValue\n\n\n\n### bi.shortValue\n\n\n\n### bi.signum\n\n\n\n### bi.toByteArray\n\n\n\n### bi.equals\n\n\n\n### bi.min\n\n\n\n### bi.max\n\n\n\n### bi.and\n\n\n\n### bi.or\n\n\n\n### bi.xor\n\n\n\n### bi.andNot\n\n\n\n### bi.not\n\n\n\n### bi.shiftLeft\n\n\n\n### bi.shiftRight\n\n\n\n### bi.getLowestSetBit\n\n\n\n### bi.bitCount\n\n\n\n### bi.testBit\n\n\n\n### bi.setBit\n\n\n\n### bi.clearBit\n\n\n\n### bi.flipBit\n\n\n\n### bi.add\n\n\n\n### bi.subtract\n\n\n\n### bi.multiply\n\n\n\n### bi.divide\n\n\n\n### bi.remainder\n\n\n\n### bi.divideAndRemainder\n\n\n\n### bi.modPow\n\n\n\n### bi.modInverse\n\n\n\n### bi.pow\n\n\n\n### bi.gcd\n\n\n\n### bi.isProbablePrime\n\n\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "ed7e7ab56bd2b8a4447bc0c1ef08548b6dad89a2",
|
||||
"bugs": {
|
||||
"url": "https://github.com/andyperlitch/jsbn/issues"
|
||||
},
|
||||
"homepage": "https://github.com/andyperlitch/jsbn#readme",
|
||||
"_id": "jsbn@0.1.1",
|
||||
"_shasum": "a5e654c2e5a2deb5f201d96cefbca80c0ef2f513",
|
||||
"_resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
|
||||
"_from": "jsbn@>=0.1.0 <0.2.0"
|
||||
"_from": "jsbn@>=0.1.0 <0.2.0",
|
||||
"_npmVersion": "3.10.3",
|
||||
"_nodeVersion": "6.3.1",
|
||||
"_npmUser": {
|
||||
"name": "andyperlitch",
|
||||
"email": "andyperlitch@gmail.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "a5e654c2e5a2deb5f201d96cefbca80c0ef2f513",
|
||||
"tarball": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "andyperlitch",
|
||||
"email": "andyperlitch@gmail.com"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-18-east.internal.npmjs.com",
|
||||
"tmp": "tmp/jsbn-0.1.1.tgz_1486886593983_0.3002306066919118"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz"
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
33
node_modules/less/node_modules/request/node_modules/http-signature/node_modules/sshpk/package.json
wygenerowano
vendored
33
node_modules/less/node_modules/request/node_modules/http-signature/node_modules/sshpk/package.json
wygenerowano
vendored
File diff suppressed because one or more lines are too long
32
node_modules/less/node_modules/request/node_modules/http-signature/package.json
wygenerowano
vendored
32
node_modules/less/node_modules/request/node_modules/http-signature/package.json
wygenerowano
vendored
|
@ -49,10 +49,34 @@
|
|||
"node-uuid": "^1.4.1",
|
||||
"tap": "0.4.2"
|
||||
},
|
||||
"readme": "# node-http-signature\n\nnode-http-signature is a node.js library that has client and server components\nfor Joyent's [HTTP Signature Scheme](http_signing.md).\n\n## Usage\n\nNote the example below signs a request with the same key/cert used to start an\nHTTP server. This is almost certainly not what you actually want, but is just\nused to illustrate the API calls; you will need to provide your own key\nmanagement in addition to this library.\n\n### Client\n\n```js\nvar fs = require('fs');\nvar https = require('https');\nvar httpSignature = require('http-signature');\n\nvar key = fs.readFileSync('./key.pem', 'ascii');\n\nvar options = {\n host: 'localhost',\n port: 8443,\n path: '/',\n method: 'GET',\n headers: {}\n};\n\n// Adds a 'Date' header in, signs it, and adds the\n// 'Authorization' header in.\nvar req = https.request(options, function(res) {\n console.log(res.statusCode);\n});\n\n\nhttpSignature.sign(req, {\n key: key,\n keyId: './cert.pem'\n});\n\nreq.end();\n```\n\n### Server\n\n```js\nvar fs = require('fs');\nvar https = require('https');\nvar httpSignature = require('http-signature');\n\nvar options = {\n key: fs.readFileSync('./key.pem'),\n cert: fs.readFileSync('./cert.pem')\n};\n\nhttps.createServer(options, function (req, res) {\n var rc = 200;\n var parsed = httpSignature.parseRequest(req);\n var pub = fs.readFileSync(parsed.keyId, 'ascii');\n if (!httpSignature.verifySignature(parsed, pub))\n rc = 401;\n\n res.writeHead(rc);\n res.end();\n}).listen(8443);\n```\n\n## Installation\n\n npm install http-signature\n\n## License\n\nMIT.\n\n## Bugs\n\nSee <https://github.com/joyent/node-http-signature/issues>.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "74d3f35e3aa436d83723c53b01e266f448e8149a",
|
||||
"_id": "http-signature@1.1.1",
|
||||
"_shasum": "df72e267066cd0ac67fb76adf8e134a8fbcf91bf",
|
||||
"_resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz",
|
||||
"_from": "http-signature@>=1.1.0 <1.2.0"
|
||||
"_from": "http-signature@>=1.1.0 <1.2.0",
|
||||
"_npmVersion": "2.14.9",
|
||||
"_nodeVersion": "0.12.9",
|
||||
"_npmUser": {
|
||||
"name": "arekinath",
|
||||
"email": "alex@cooperi.net"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "df72e267066cd0ac67fb76adf8e134a8fbcf91bf",
|
||||
"tarball": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "arekinath",
|
||||
"email": "alex@cooperi.net"
|
||||
},
|
||||
{
|
||||
"name": "mcavage",
|
||||
"email": "mcavage@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "pfmooney",
|
||||
"email": "patrick.f.mooney@gmail.com"
|
||||
}
|
||||
],
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz"
|
||||
}
|
||||
|
|
24
node_modules/less/node_modules/request/node_modules/is-typedarray/package.json
wygenerowano
vendored
24
node_modules/less/node_modules/request/node_modules/is-typedarray/package.json
wygenerowano
vendored
|
@ -31,10 +31,26 @@
|
|||
"url": "https://github.com/hughsk/is-typedarray/issues"
|
||||
},
|
||||
"homepage": "https://github.com/hughsk/is-typedarray",
|
||||
"readme": "# is-typedarray [](http://github.com/badges/stability-badges)\n\nDetect whether or not an object is a\n[Typed Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays).\n\n## Usage\n\n[](https://nodei.co/npm/is-typedarray/)\n\n### isTypedArray(array)\n\nReturns `true` when array is a Typed Array, and `false` when it is not.\n\n## License\n\nMIT. See [LICENSE.md](http://github.com/hughsk/is-typedarray/blob/master/LICENSE.md) for details.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "0617cfa871686cf541af62b144f130488f44f6fe",
|
||||
"_id": "is-typedarray@1.0.0",
|
||||
"_shasum": "e479c80858df0c1b11ddda6940f96011fcda4a9a",
|
||||
"_resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
|
||||
"_from": "is-typedarray@>=1.0.0 <1.1.0"
|
||||
"_from": "is-typedarray@>=1.0.0 <1.1.0",
|
||||
"_npmVersion": "2.7.5",
|
||||
"_nodeVersion": "0.10.36",
|
||||
"_npmUser": {
|
||||
"name": "hughsk",
|
||||
"email": "hughskennedy@gmail.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "e479c80858df0c1b11ddda6940f96011fcda4a9a",
|
||||
"tarball": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "hughsk",
|
||||
"email": "hughskennedy@gmail.com"
|
||||
}
|
||||
],
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz"
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/rvagg/isstream.git"
|
||||
"url": "https://github.com/rvagg/isstream.git"
|
||||
},
|
||||
"keywords": [
|
||||
"stream",
|
||||
|
@ -33,10 +33,26 @@
|
|||
"url": "https://github.com/rvagg/isstream/issues"
|
||||
},
|
||||
"homepage": "https://github.com/rvagg/isstream",
|
||||
"readme": "# isStream\n\n[](http://travis-ci.org/rvagg/isstream)\n\n**Test if an object is a `Stream`**\n\n[](https://nodei.co/npm/isstream/)\n\nThe missing `Stream.isStream(obj)`: determine if an object is standard Node.js `Stream`. Works for Node-core `Stream` objects (for 0.8, 0.10, 0.11, and in theory, older and newer versions) and all versions of **[readable-stream](https://github.com/isaacs/readable-stream)**.\n\n## Usage:\n\n```js\nvar isStream = require('isstream')\nvar Stream = require('stream')\n\nisStream(new Stream()) // true\n\nisStream({}) // false\n\nisStream(new Stream.Readable()) // true\nisStream(new Stream.Writable()) // true\nisStream(new Stream.Duplex()) // true\nisStream(new Stream.Transform()) // true\nisStream(new Stream.PassThrough()) // true\n```\n\n## But wait! There's more!\n\nYou can also test for `isReadable(obj)`, `isWritable(obj)` and `isDuplex(obj)` to test for implementations of Streams2 (and Streams3) base classes.\n\n```js\nvar isReadable = require('isstream').isReadable\nvar isWritable = require('isstream').isWritable\nvar isDuplex = require('isstream').isDuplex\nvar Stream = require('stream')\n\nisReadable(new Stream()) // false\nisWritable(new Stream()) // false\nisDuplex(new Stream()) // false\n\nisReadable(new Stream.Readable()) // true\nisReadable(new Stream.Writable()) // false\nisReadable(new Stream.Duplex()) // true\nisReadable(new Stream.Transform()) // true\nisReadable(new Stream.PassThrough()) // true\n\nisWritable(new Stream.Readable()) // false\nisWritable(new Stream.Writable()) // true\nisWritable(new Stream.Duplex()) // true\nisWritable(new Stream.Transform()) // true\nisWritable(new Stream.PassThrough()) // true\n\nisDuplex(new Stream.Readable()) // false\nisDuplex(new Stream.Writable()) // false\nisDuplex(new Stream.Duplex()) // true\nisDuplex(new Stream.Transform()) // true\nisDuplex(new Stream.PassThrough()) // true\n```\n\n*Reminder: when implementing your own streams, please [use **readable-stream** rather than core streams](http://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html).*\n\n\n## License\n\n**isStream** is Copyright (c) 2015 Rod Vagg [@rvagg](https://twitter.com/rvagg) and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE.md file for more details.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "cd39cba6da939b4fc9110825203adc506422c3dc",
|
||||
"_id": "isstream@0.1.2",
|
||||
"_shasum": "47e63f7af55afa6f92e1500e690eb8b8529c099a",
|
||||
"_resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
|
||||
"_from": "isstream@>=0.1.2 <0.2.0"
|
||||
"_from": "isstream@>=0.1.2 <0.2.0",
|
||||
"_npmVersion": "2.6.1",
|
||||
"_nodeVersion": "1.4.3",
|
||||
"_npmUser": {
|
||||
"name": "rvagg",
|
||||
"email": "rod@vagg.org"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "rvagg",
|
||||
"email": "rod@vagg.org"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "47e63f7af55afa6f92e1500e690eb8b8529c099a",
|
||||
"tarball": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz"
|
||||
}
|
||||
|
|
28
node_modules/less/node_modules/request/node_modules/json-stringify-safe/package.json
wygenerowano
vendored
28
node_modules/less/node_modules/request/node_modules/json-stringify-safe/package.json
wygenerowano
vendored
|
@ -38,10 +38,30 @@
|
|||
"must": ">= 0.12 < 0.13",
|
||||
"sinon": ">= 1.12.2 < 2"
|
||||
},
|
||||
"readme": "# json-stringify-safe\n\nLike JSON.stringify, but doesn't throw on circular references.\n\n## Usage\n\nTakes the same arguments as `JSON.stringify`.\n\n```javascript\nvar stringify = require('json-stringify-safe');\nvar circularObj = {};\ncircularObj.circularRef = circularObj;\ncircularObj.list = [ circularObj, circularObj ];\nconsole.log(stringify(circularObj, null, 2));\n```\n\nOutput:\n\n```json\n{\n \"circularRef\": \"[Circular]\",\n \"list\": [\n \"[Circular]\",\n \"[Circular]\"\n ]\n}\n```\n\n## Details\n\n```\nstringify(obj, serializer, indent, decycler)\n```\n\nThe first three arguments are the same as to JSON.stringify. The last\nis an argument that's only used when the object has been seen already.\n\nThe default `decycler` function returns the string `'[Circular]'`.\nIf, for example, you pass in `function(k,v){}` (return nothing) then it\nwill prune cycles. If you pass in `function(k,v){ return {foo: 'bar'}}`,\nthen cyclical objects will always be represented as `{\"foo\":\"bar\"}` in\nthe result.\n\n```\nstringify.getSerialize(serializer, decycler)\n```\n\nReturns a serializer that can be used elsewhere. This is the actual\nfunction that's passed to JSON.stringify.\n\n**Note** that the function returned from `getSerialize` is stateful for now, so\ndo **not** use it more than once.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "3890dceab3ad14f8701e38ca74f38276abc76de5",
|
||||
"_id": "json-stringify-safe@5.0.1",
|
||||
"_shasum": "1296a2d58fd45f19a0f6ce01d65701e2c735b6eb",
|
||||
"_resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
|
||||
"_from": "json-stringify-safe@>=5.0.1 <5.1.0"
|
||||
"_from": "json-stringify-safe@>=5.0.1 <5.1.0",
|
||||
"_npmVersion": "2.10.0",
|
||||
"_nodeVersion": "2.0.1",
|
||||
"_npmUser": {
|
||||
"name": "isaacs",
|
||||
"email": "isaacs@npmjs.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "1296a2d58fd45f19a0f6ce01d65701e2c735b6eb",
|
||||
"tarball": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
},
|
||||
{
|
||||
"name": "moll",
|
||||
"email": "andri@dot.ee"
|
||||
}
|
||||
],
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz"
|
||||
}
|
||||
|
|
32
node_modules/less/node_modules/request/node_modules/mime-types/node_modules/mime-db/package.json
wygenerowano
vendored
32
node_modules/less/node_modules/request/node_modules/mime-types/node_modules/mime-db/package.json
wygenerowano
vendored
|
@ -68,14 +68,38 @@
|
|||
"test-travis": "nyc --reporter=text npm test",
|
||||
"update": "npm run fetch && npm run build"
|
||||
},
|
||||
"readme": "# mime-db\n\n[![NPM Version][npm-version-image]][npm-url]\n[![NPM Downloads][npm-downloads-image]][npm-url]\n[![Node.js Version][node-image]][node-url]\n[![Build Status][travis-image]][travis-url]\n[![Coverage Status][coveralls-image]][coveralls-url]\n\nThis is a database of all mime types.\nIt consists of a single, public JSON file and does not include any logic,\nallowing it to remain as un-opinionated as possible with an API.\nIt aggregates data from the following sources:\n\n- http://www.iana.org/assignments/media-types/media-types.xhtml\n- http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types\n- http://hg.nginx.org/nginx/raw-file/default/conf/mime.types\n\n## Installation\n\n```bash\nnpm install mime-db\n```\n\n### Database Download\n\nIf you're crazy enough to use this in the browser, you can just grab the\nJSON file using [RawGit](https://rawgit.com/). It is recommended to replace\n`master` with [a release tag](https://github.com/jshttp/mime-db/tags) as the\nJSON format may change in the future.\n\n```\nhttps://cdn.rawgit.com/jshttp/mime-db/master/db.json\n```\n\n## Usage\n\n```js\nvar db = require('mime-db');\n\n// grab data on .js files\nvar data = db['application/javascript'];\n```\n\n## Data Structure\n\nThe JSON file is a map lookup for lowercased mime types.\nEach mime type has the following properties:\n\n- `.source` - where the mime type is defined.\n If not set, it's probably a custom media type.\n - `apache` - [Apache common media types](http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types)\n - `iana` - [IANA-defined media types](http://www.iana.org/assignments/media-types/media-types.xhtml)\n - `nginx` - [nginx media types](http://hg.nginx.org/nginx/raw-file/default/conf/mime.types)\n- `.extensions[]` - known extensions associated with this mime type.\n- `.compressible` - whether a file of this type can be gzipped.\n- `.charset` - the default charset associated with this type, if any.\n\nIf unknown, every property could be `undefined`.\n\n## Contributing\n\nTo edit the database, only make PRs against `src/custom.json` or\n`src/custom-suffix.json`.\n\nThe `src/custom.json` file is a JSON object with the MIME type as the keys\nand the values being an object with the following keys:\n\n- `compressible` - leave out if you don't know, otherwise `true`/`false` for\n if the data represented by the time is typically compressible.\n- `extensions` - include an array of file extensions that are associated with\n the type.\n- `notes` - human-readable notes about the type, typically what the type is.\n- `sources` - include an array of URLs of where the MIME type and the associated\n extensions are sourced from. This needs to be a [primary source](https://en.wikipedia.org/wiki/Primary_source);\n links to type aggregating sites and Wikipedia are _not acceptible_.\n\nTo update the build, run `npm run build`.\n\n## Adding Custom Media Types\n\nThe best way to get new media types included in this library is to register\nthem with the IANA. The community registration procedure is outlined in\n[RFC 6838 section 5](http://tools.ietf.org/html/rfc6838#section-5). Types\nregistered with the IANA are automatically pulled into this library.\n\n[npm-version-image]: https://img.shields.io/npm/v/mime-db.svg\n[npm-downloads-image]: https://img.shields.io/npm/dm/mime-db.svg\n[npm-url]: https://npmjs.org/package/mime-db\n[travis-image]: https://img.shields.io/travis/jshttp/mime-db/master.svg\n[travis-url]: https://travis-ci.org/jshttp/mime-db\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/mime-db/master.svg\n[coveralls-url]: https://coveralls.io/r/jshttp/mime-db?branch=master\n[node-image]: https://img.shields.io/node/v/mime-db.svg\n[node-url]: http://nodejs.org/download/\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "e62cf46c206681ca88b2e275f442a9885f1f86e4",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jshttp/mime-db/issues"
|
||||
},
|
||||
"homepage": "https://github.com/jshttp/mime-db#readme",
|
||||
"_id": "mime-db@1.30.0",
|
||||
"_shasum": "74c643da2dd9d6a45399963465b26d5ca7d71f01",
|
||||
"_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz",
|
||||
"_from": "mime-db@>=1.30.0 <1.31.0"
|
||||
"_from": "mime-db@>=1.30.0 <1.31.0",
|
||||
"_npmVersion": "3.10.10",
|
||||
"_nodeVersion": "6.11.1",
|
||||
"_npmUser": {
|
||||
"name": "dougwilson",
|
||||
"email": "doug@somethingdoug.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "74c643da2dd9d6a45399963465b26d5ca7d71f01",
|
||||
"tarball": "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "dougwilson",
|
||||
"email": "doug@somethingdoug.com"
|
||||
},
|
||||
{
|
||||
"name": "jongleberry",
|
||||
"email": "jonathanrichardong@gmail.com"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "s3://npm-registry-packages",
|
||||
"tmp": "tmp/mime-db-1.30.0.tgz_1503887330099_0.8198229141999036"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.30.0.tgz"
|
||||
}
|
||||
|
|
36
node_modules/less/node_modules/request/node_modules/mime-types/package.json
wygenerowano
vendored
36
node_modules/less/node_modules/request/node_modules/mime-types/package.json
wygenerowano
vendored
|
@ -54,14 +54,42 @@
|
|||
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/test.js",
|
||||
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot test/test.js"
|
||||
},
|
||||
"readme": "# mime-types\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nThe ultimate javascript content-type utility.\n\nSimilar to [the `mime` module](https://www.npmjs.com/package/mime), except:\n\n- __No fallbacks.__ Instead of naively returning the first available type,\n `mime-types` simply returns `false`, so do\n `var type = mime.lookup('unrecognized') || 'application/octet-stream'`.\n- No `new Mime()` business, so you could do `var lookup = require('mime-types').lookup`.\n- No `.define()` functionality\n- Bug fixes for `.lookup(path)`\n\nOtherwise, the API is compatible.\n\n## Install\n\nThis is a [Node.js](https://nodejs.org/en/) module available through the\n[npm registry](https://www.npmjs.com/). Installation is done using the\n[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):\n\n```sh\n$ npm install mime-types\n```\n\n## Adding Types\n\nAll mime types are based on [mime-db](https://www.npmjs.com/package/mime-db),\nso open a PR there if you'd like to add mime types.\n\n## API\n\n```js\nvar mime = require('mime-types')\n```\n\nAll functions return `false` if input is invalid or not found.\n\n### mime.lookup(path)\n\nLookup the content-type associated with a file.\n\n```js\nmime.lookup('json') // 'application/json'\nmime.lookup('.md') // 'text/markdown'\nmime.lookup('file.html') // 'text/html'\nmime.lookup('folder/file.js') // 'application/javascript'\nmime.lookup('folder/.htaccess') // false\n\nmime.lookup('cats') // false\n```\n\n### mime.contentType(type)\n\nCreate a full content-type header given a content-type or extension.\n\n```js\nmime.contentType('markdown') // 'text/x-markdown; charset=utf-8'\nmime.contentType('file.json') // 'application/json; charset=utf-8'\n\n// from a full path\nmime.contentType(path.extname('/path/to/file.json')) // 'application/json; charset=utf-8'\n```\n\n### mime.extension(type)\n\nGet the default extension for a content-type.\n\n```js\nmime.extension('application/octet-stream') // 'bin'\n```\n\n### mime.charset(type)\n\nLookup the implied default charset of a content-type.\n\n```js\nmime.charset('text/markdown') // 'UTF-8'\n```\n\n### var type = mime.types[extension]\n\nA map of content-types by extension.\n\n### [extensions...] = mime.extensions[type]\n\nA map of extensions by content-type.\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/mime-types.svg\n[npm-url]: https://npmjs.org/package/mime-types\n[node-version-image]: https://img.shields.io/node/v/mime-types.svg\n[node-version-url]: https://nodejs.org/en/download/\n[travis-image]: https://img.shields.io/travis/jshttp/mime-types/master.svg\n[travis-url]: https://travis-ci.org/jshttp/mime-types\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/mime-types/master.svg\n[coveralls-url]: https://coveralls.io/r/jshttp/mime-types\n[downloads-image]: https://img.shields.io/npm/dm/mime-types.svg\n[downloads-url]: https://npmjs.org/package/mime-types\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "80039fe78213821c2e9b25132d6b02cc37202e8a",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jshttp/mime-types/issues"
|
||||
},
|
||||
"homepage": "https://github.com/jshttp/mime-types#readme",
|
||||
"_id": "mime-types@2.1.17",
|
||||
"_shasum": "09d7a393f03e995a79f8af857b70a9e0ab16557a",
|
||||
"_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.17.tgz",
|
||||
"_from": "mime-types@>=2.1.7 <2.2.0"
|
||||
"_from": "mime-types@>=2.1.7 <2.2.0",
|
||||
"_npmVersion": "3.10.10",
|
||||
"_nodeVersion": "6.11.1",
|
||||
"_npmUser": {
|
||||
"name": "dougwilson",
|
||||
"email": "doug@somethingdoug.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "09d7a393f03e995a79f8af857b70a9e0ab16557a",
|
||||
"tarball": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.17.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"email": "fishrock123@rocketmail.com",
|
||||
"name": "fishrock123"
|
||||
},
|
||||
{
|
||||
"email": "doug@somethingdoug.com",
|
||||
"name": "dougwilson"
|
||||
},
|
||||
{
|
||||
"email": "jonathanrichardong@gmail.com",
|
||||
"name": "jongleberry"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "s3://npm-registry-packages",
|
||||
"tmp": "tmp/mime-types-2.1.17.tgz_1504322793218_0.6663200033362955"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.17.tgz"
|
||||
}
|
||||
|
|
36
node_modules/less/node_modules/request/node_modules/oauth-sign/package.json
wygenerowano
vendored
36
node_modules/less/node_modules/request/node_modules/oauth-sign/package.json
wygenerowano
vendored
|
@ -24,14 +24,42 @@
|
|||
"scripts": {
|
||||
"test": "node test.js"
|
||||
},
|
||||
"readme": "oauth-sign\n==========\n\nOAuth 1 signing. Formerly a vendor lib in mikeal/request, now a standalone module. \n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "0b034206316132f57e26970152c2fb18e71bddd5",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mikeal/oauth-sign/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mikeal/oauth-sign#readme",
|
||||
"_id": "oauth-sign@0.8.2",
|
||||
"_shasum": "46a6ab7f0aead8deae9ec0565780b7d4efeb9d43",
|
||||
"_resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz",
|
||||
"_from": "oauth-sign@>=0.8.1 <0.9.0"
|
||||
"_from": "oauth-sign@>=0.8.1 <0.9.0",
|
||||
"_npmVersion": "2.15.3",
|
||||
"_nodeVersion": "5.9.0",
|
||||
"_npmUser": {
|
||||
"name": "simov",
|
||||
"email": "simeonvelichkov@gmail.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "46a6ab7f0aead8deae9ec0565780b7d4efeb9d43",
|
||||
"tarball": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "mikeal",
|
||||
"email": "mikeal.rogers@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "nylen",
|
||||
"email": "jnylen@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "simov",
|
||||
"email": "simeonvelichkov@gmail.com"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-12-west.internal.npmjs.com",
|
||||
"tmp": "tmp/oauth-sign-0.8.2.tgz_1462396399020_0.8175400267355144"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz"
|
||||
}
|
||||
|
|
22
node_modules/less/node_modules/request/node_modules/performance-now/package.json
wygenerowano
vendored
22
node_modules/less/node_modules/request/node_modules/performance-now/package.json
wygenerowano
vendored
|
@ -29,10 +29,24 @@
|
|||
"pretest": "make build",
|
||||
"test": "make test"
|
||||
},
|
||||
"readme": "# performance-now [](https://travis-ci.org/meryn/performance-now) [](https://david-dm.org/meryn/performance-now)\n\nImplements a function similar to `performance.now` (based on `process.hrtime`).\n\nModern browsers have a `window.performance` object with - among others - a `now` method which gives time in miliseconds, but with sub-milisecond precision. This module offers the same function based on the Node.js native `process.hrtime` function.\n\nAccording to the [High Resolution Time specification](http://www.w3.org/TR/hr-time/), the number of miliseconds reported by `performance.now` should be relative to the value of `performance.timing.navigationStart`. For this module, it's relative to when the time when this module got loaded. Right after requiring this module for the first time, the reported time is expected to have a near-zero value.\n\nUsing `process.hrtime` means that the reported time will be monotonically increasing, and not subject to clock-drift.\n\n## Example usage\n\n```javascript\nvar now = require(\"performance-now\")\nvar start = now()\nvar end = now()\nconsole.log(start.toFixed(3)) // ~ 0.05 on my system\nconsole.log((start-end).toFixed(3)) // ~ 0.002 on my system\n```\n\nRunning the now function two times right after each other yields a time difference of a few microseconds. Given this overhead, I think it's best to assume that the precision of intervals computed with this method is not higher than 10 microseconds, if you don't know the exact overhead on your own system.\n\n## Credits\n\nThe initial structure of this module was generated by [Jumpstart](https://github.com/meryn/jumpstart), using the [Jumpstart Black Coffee](https://github.com/meryn/jumpstart-black-coffee) template.\n\n## License\n\nperformance-now is released under the [MIT License](http://opensource.org/licenses/MIT). \nCopyright (c) 2013 Meryn Stol ",
|
||||
"readmeFilename": "README.md",
|
||||
"_id": "performance-now@0.2.0",
|
||||
"dist": {
|
||||
"shasum": "33ef30c5c77d4ea21c5a53869d91b56d8f2555e5",
|
||||
"tarball": "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz"
|
||||
},
|
||||
"_from": "performance-now@>=0.2.0 <0.3.0",
|
||||
"_npmVersion": "1.3.24",
|
||||
"_npmUser": {
|
||||
"name": "meryn",
|
||||
"email": "merynstol@gmail.com"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "meryn",
|
||||
"email": "merynstol@gmail.com"
|
||||
}
|
||||
],
|
||||
"directories": {},
|
||||
"_shasum": "33ef30c5c77d4ea21c5a53869d91b56d8f2555e5",
|
||||
"_resolved": "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz",
|
||||
"_from": "performance-now@>=0.2.0 <0.3.0"
|
||||
"_resolved": "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz"
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
29
node_modules/less/node_modules/request/node_modules/safe-buffer/package.json
wygenerowano
vendored
29
node_modules/less/node_modules/request/node_modules/safe-buffer/package.json
wygenerowano
vendored
File diff suppressed because one or more lines are too long
25
node_modules/less/node_modules/request/node_modules/stringstream/package.json
wygenerowano
vendored
25
node_modules/less/node_modules/request/node_modules/stringstream/package.json
wygenerowano
vendored
|
@ -19,14 +19,31 @@
|
|||
"url": "git+https://github.com/mhart/StringStream.git"
|
||||
},
|
||||
"license": "MIT",
|
||||
"readme": "# Decode streams into strings The Right Way(tm)\n\n```javascript\nvar fs = require('fs')\nvar zlib = require('zlib')\nvar strs = require('stringstream')\n\nvar utf8Stream = fs.createReadStream('massiveLogFile.gz')\n .pipe(zlib.createGunzip())\n .pipe(strs('utf8'))\n```\n\nNo need to deal with `setEncoding()` weirdness, just compose streams\nlike they were supposed to be!\n\nHandles input and output encoding:\n\n```javascript\n// Stream from utf8 to hex to base64... Why not, ay.\nvar hex64Stream = fs.createReadStream('myFile')\n .pipe(strs('utf8', 'hex'))\n .pipe(strs('hex', 'base64'))\n```\n\nAlso deals with `base64` output correctly by aligning each emitted data\nchunk so that there are no dangling `=` characters:\n\n```javascript\nvar stream = fs.createReadStream('myFile').pipe(strs('base64'))\n\nvar base64Str = ''\n\nstream.on('data', function(data) { base64Str += data })\nstream.on('end', function() {\n console.log('My base64 encoded file is: ' + base64Str) // Wouldn't work with setEncoding()\n console.log('Original file is: ' + new Buffer(base64Str, 'base64'))\n})\n```\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "1efe3bf507bf3a1161f8473908b60e881d41422b",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mhart/StringStream/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mhart/StringStream#readme",
|
||||
"_id": "stringstream@0.0.5",
|
||||
"scripts": {},
|
||||
"_shasum": "4e484cd4de5a0bbbee18e46307710a8a81621878",
|
||||
"_resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz",
|
||||
"_from": "stringstream@>=0.0.4 <0.1.0"
|
||||
"_from": "stringstream@>=0.0.4 <0.1.0",
|
||||
"_npmVersion": "2.14.8",
|
||||
"_nodeVersion": "4.2.1",
|
||||
"_npmUser": {
|
||||
"name": "hichaelmart",
|
||||
"email": "michael.hart.au@gmail.com"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "hichaelmart",
|
||||
"email": "michael.hart.au@gmail.com"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "4e484cd4de5a0bbbee18e46307710a8a81621878",
|
||||
"tarball": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/stringstream/-/stringstream-0.0.5.tgz"
|
||||
}
|
||||
|
|
32
node_modules/less/node_modules/request/node_modules/tough-cookie/node_modules/punycode/package.json
wygenerowano
vendored
32
node_modules/less/node_modules/request/node_modules/tough-cookie/node_modules/punycode/package.json
wygenerowano
vendored
File diff suppressed because one or more lines are too long
36
node_modules/less/node_modules/request/node_modules/tough-cookie/package.json
wygenerowano
vendored
36
node_modules/less/node_modules/request/node_modules/tough-cookie/package.json
wygenerowano
vendored
File diff suppressed because one or more lines are too long
41
node_modules/less/node_modules/request/node_modules/tunnel-agent/package.json
wygenerowano
vendored
41
node_modules/less/node_modules/request/node_modules/tunnel-agent/package.json
wygenerowano
vendored
|
@ -23,14 +23,47 @@
|
|||
"engines": {
|
||||
"node": "*"
|
||||
},
|
||||
"readme": "tunnel-agent\n============\n\nHTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "67df643033258e7cb1388f648ee5f141cd66101b",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mikeal/tunnel-agent/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mikeal/tunnel-agent#readme",
|
||||
"_id": "tunnel-agent@0.6.0",
|
||||
"scripts": {},
|
||||
"_shasum": "27a5dea06b36b04a0a9966774b290868f0fc40fd",
|
||||
"_resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
|
||||
"_from": "tunnel-agent@>=0.6.0 <0.7.0"
|
||||
"_from": "tunnel-agent@>=0.6.0 <0.7.0",
|
||||
"_npmVersion": "3.10.9",
|
||||
"_nodeVersion": "6.9.2",
|
||||
"_npmUser": {
|
||||
"name": "mikeal",
|
||||
"email": "mikeal.rogers@gmail.com"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "mikeal",
|
||||
"email": "mikeal.rogers@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "nylen",
|
||||
"email": "jnylen@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "fredkschott",
|
||||
"email": "fkschott@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "simov",
|
||||
"email": "simeonvelichkov@gmail.com"
|
||||
}
|
||||
],
|
||||
"dist": {
|
||||
"shasum": "27a5dea06b36b04a0a9966774b290868f0fc40fd",
|
||||
"tarball": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz"
|
||||
},
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-12-west.internal.npmjs.com",
|
||||
"tmp": "tmp/tunnel-agent-0.6.0.tgz_1488673799706_0.16846991260536015"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz"
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -95,8 +95,7 @@
|
|||
],
|
||||
"rawcurrent": "https://raw.github.com/less/less.js/v",
|
||||
"sourcearchive": "https://github.com/less/less.js/archive/v",
|
||||
"readme": "[](http://badge.fury.io/js/less) [](https://travis-ci.org/less/less.js)\n[](https://david-dm.org/less/less.js) [](https://david-dm.org/less/less.js#info=devDependencies) [](https://david-dm.org/less/less.js#info=optionalDependencies)\n[](https://saucelabs.com/u/less) [](https://ci.appveyor.com/project/lukeapage/less-js/branch/master)\n\n# [Less.js](http://lesscss.org)\n\n> The **dynamic** stylesheet language. [http://lesscss.org](http://lesscss.org).\n\nThis is the JavaScript, official, stable version of Less.\n\n###### :point_right: [](https://gitter.im/less/less.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) <sup>Chat with Less.js users</sup>\n\n\n## Getting Started\n\nOptions for adding Less.js to your project:\n\n* Install with [npm](https://npmjs.org): `npm install less`\n* [Download the latest release][download]\n* Clone the repo: `git clone https://github.com/less/less.js.git`\n\n## More information\n\nFor general information on the language, configuration options or usage visit [lesscss.org](http://lesscss.org).\n\nHere are other resources for using Less.js:\n\n* [stackoverflow.com][so] is a great place to get answers about Less.\n* [Less.js Issues][issues] for reporting bugs\n\n\n## Contributing\nPlease read [CONTRIBUTING.md](CONTRIBUTING.md). Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com).\n\n### Reporting Issues\n\nBefore opening any issue, please search for existing issues and read the [Issue Guidelines](https://github.com/necolas/issue-guidelines), written by [Nicolas Gallagher](https://github.com/necolas). After that if you find a bug or would like to make feature request, [please open a new issue][issues].\n\nPlease report documentation issues in [the documentation project](https://github.com/less/less-docs).\n\n### Development\n\nRead [Developing Less](http://lesscss.org/usage/#developing-less).\n\n## Release History\nSee the [changelog](CHANGELOG.md)\n\n## [License](LICENSE)\n\nCopyright (c) 2009-2016 [Alexis Sellier](http://cloudhead.io) & The Core Less Team\nLicensed under the [Apache License](LICENSE).\n\n\n[so]: http://stackoverflow.com/questions/tagged/less \"StackOverflow.com\"\n[issues]: https://github.com/less/less.js/issues \"GitHub Issues for Less.js\"\n[download]: https://github.com/less/less.js/zipball/master \"Download Less.js\"\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "60a5c3bd1f6807615d017a5019031da47e1f480d",
|
||||
"dependencies": {
|
||||
"errno": "^0.1.1",
|
||||
"graceful-fs": "^4.1.2",
|
||||
|
@ -108,6 +107,43 @@
|
|||
"request": "2.81.0"
|
||||
},
|
||||
"_id": "less@2.7.3",
|
||||
"_npmVersion": "5.3.0",
|
||||
"_nodeVersion": "8.4.0",
|
||||
"_npmUser": {
|
||||
"name": "matthew-dean",
|
||||
"email": "matthewdean.me@gmail.com"
|
||||
},
|
||||
"dist": {
|
||||
"integrity": "sha512-KPdIJKWcEAb02TuJtaLrhue0krtRLoRoo7x6BNJIBelO00t/CCdJQUnHW5V34OnHMWzIktSalJxRO+FvytQlCQ==",
|
||||
"shasum": "cc1260f51c900a9ec0d91fb6998139e02507b63b",
|
||||
"tarball": "https://registry.npmjs.org/less/-/less-2.7.3.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "agatronic",
|
||||
"email": "luke.a.page@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "cloudhead",
|
||||
"email": "self@cloudhead.net"
|
||||
},
|
||||
{
|
||||
"name": "matthew-dean",
|
||||
"email": "matthewdean.me@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "meri",
|
||||
"email": "sommeridevel@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "seven-phases-max",
|
||||
"email": "seven.phases.max@gmail.com"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "s3://npm-registry-packages",
|
||||
"tmp": "tmp/less-2.7.3.tgz_1508813020373_0.544631906086579"
|
||||
},
|
||||
"_shasum": "cc1260f51c900a9ec0d91fb6998139e02507b63b",
|
||||
"_resolved": "https://registry.npmjs.org/less/-/less-2.7.3.tgz",
|
||||
"_from": "less@>=2.4.0 <3.0.0"
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -52,7 +52,7 @@
|
|||
},
|
||||
"homepage": "https://github.com/gjtorikian/nak#readme",
|
||||
"_id": "nak@0.3.3",
|
||||
"_shasum": "41527910418ffa6f463b08b4ae89f4639b3e3206",
|
||||
"_shasum": "a7290084daa72a66f1954a96ba2b118ac6fb7e5e",
|
||||
"_from": "git+https://github.com/cloud9ide/nak.git#6deef931594",
|
||||
"_resolved": "git+https://github.com/cloud9ide/nak.git#6deef931594787edd167040f7352e3e7533430e4"
|
||||
}
|
||||
|
|
27
node_modules/tern/node_modules/enhanced-resolve/node_modules/graceful-fs/package.json
wygenerowano
vendored
27
node_modules/tern/node_modules/enhanced-resolve/node_modules/graceful-fs/package.json
wygenerowano
vendored
|
@ -44,14 +44,33 @@
|
|||
"legacy-streams.js",
|
||||
"polyfills.js"
|
||||
],
|
||||
"readme": "# graceful-fs\n\ngraceful-fs functions as a drop-in replacement for the fs module,\nmaking various improvements.\n\nThe improvements are meant to normalize behavior across different\nplatforms and environments, and to make filesystem access more\nresilient to errors.\n\n## Improvements over [fs module](https://nodejs.org/api/fs.html)\n\n* Queues up `open` and `readdir` calls, and retries them once\n something closes if there is an EMFILE error from too many file\n descriptors.\n* fixes `lchmod` for Node versions prior to 0.6.2.\n* implements `fs.lutimes` if possible. Otherwise it becomes a noop.\n* ignores `EINVAL` and `EPERM` errors in `chown`, `fchown` or\n `lchown` if the user isn't root.\n* makes `lchmod` and `lchown` become noops, if not available.\n* retries reading a file if `read` results in EAGAIN error.\n\nOn Windows, it retries renaming a file for up to one second if `EACCESS`\nor `EPERM` error occurs, likely because antivirus software has locked\nthe directory.\n\n## USAGE\n\n```javascript\n// use just like fs\nvar fs = require('graceful-fs')\n\n// now go and do stuff with it...\nfs.readFileSync('some-file-or-whatever')\n```\n\n## Global Patching\n\nIf you want to patch the global fs module (or any other fs-like\nmodule) you can do this:\n\n```javascript\n// Make sure to read the caveat below.\nvar realFs = require('fs')\nvar gracefulFs = require('graceful-fs')\ngracefulFs.gracefulify(realFs)\n```\n\nThis should only ever be done at the top-level application layer, in\norder to delay on EMFILE errors from any fs-using dependencies. You\nshould **not** do this in a library, because it can cause unexpected\ndelays in other parts of the program.\n\n## Changes\n\nThis module is fairly stable at this point, and used by a lot of\nthings. That being said, because it implements a subtle behavior\nchange in a core part of the node API, even modest changes can be\nextremely breaking, and the versioning is thus biased towards\nbumping the major when in doubt.\n\nThe main change between major versions has been switching between\nproviding a fully-patched `fs` module vs monkey-patching the node core\nbuiltin, and the approach by which a non-monkey-patched `fs` was\ncreated.\n\nThe goal is to trade `EMFILE` errors for slower fs operations. So, if\nyou try to open a zillion files, rather than crashing, `open`\noperations will be queued up and wait for something else to `close`.\n\nThere are advantages to each approach. Monkey-patching the fs means\nthat no `EMFILE` errors can possibly occur anywhere in your\napplication, because everything is using the same core `fs` module,\nwhich is patched. However, it can also obviously cause undesirable\nside-effects, especially if the module is loaded multiple times.\n\nImplementing a separate-but-identical patched `fs` module is more\nsurgical (and doesn't run the risk of patching multiple times), but\nalso imposes the challenge of keeping in sync with the core module.\n\nThe current approach loads the `fs` module, and then creates a\nlookalike object that has all the same methods, except a few that are\npatched. It is safe to use in all versions of Node from 0.8 through\n7.0.\n\n### v4\n\n* Do not monkey-patch the fs module. This module may now be used as a\n drop-in dep, and users can opt into monkey-patching the fs builtin\n if their app requires it.\n\n### v3\n\n* Monkey-patch fs, because the eval approach no longer works on recent\n node.\n* fixed possible type-error throw if rename fails on windows\n* verify that we *never* get EMFILE errors\n* Ignore ENOSYS from chmod/chown\n* clarify that graceful-fs must be used as a drop-in\n\n### v2.1.0\n\n* Use eval rather than monkey-patching fs.\n* readdir: Always sort the results\n* win32: requeue a file if error has an OK status\n\n### v2.0\n\n* A return to monkey patching\n* wrap process.cwd\n\n### v1.1\n\n* wrap readFile\n* Wrap fs.writeFile.\n* readdir protection\n* Don't clobber the fs builtin\n* Handle fs.read EAGAIN errors by trying again\n* Expose the curOpen counter\n* No-op lchown/lchmod if not implemented\n* fs.rename patch only for win32\n* Patch fs.rename to handle AV software on Windows\n* Close #4 Chown should not fail on einval or eperm if non-root\n* Fix isaacs/fstream#1 Only wrap fs one time\n* Fix #3 Start at 1024 max files, then back off on EMFILE\n* lutimes that doens't blow up on Linux\n* A full on-rewrite using a queue instead of just swallowing the EMFILE error\n* Wrap Read/Write streams as well\n\n### 1.0\n\n* Update engines for node 0.6\n* Be lstat-graceful on Windows\n* first\n",
|
||||
"readmeFilename": "README.md",
|
||||
"gitHead": "65cf80d1fd3413b823c16c626c1e7c326452bee5",
|
||||
"bugs": {
|
||||
"url": "https://github.com/isaacs/node-graceful-fs/issues"
|
||||
},
|
||||
"homepage": "https://github.com/isaacs/node-graceful-fs#readme",
|
||||
"_id": "graceful-fs@4.1.11",
|
||||
"_shasum": "0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658",
|
||||
"_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
|
||||
"_from": "graceful-fs@>=4.1.2 <5.0.0"
|
||||
"_from": "graceful-fs@>=4.1.2 <5.0.0",
|
||||
"_npmVersion": "3.10.9",
|
||||
"_nodeVersion": "6.5.0",
|
||||
"_npmUser": {
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658",
|
||||
"tarball": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "isaacs",
|
||||
"email": "i@izs.me"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-18-east.internal.npmjs.com",
|
||||
"tmp": "tmp/graceful-fs-4.1.11.tgz_1479843029430_0.2122855328489095"
|
||||
},
|
||||
"_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz"
|
||||
}
|
||||
|
|
|
@ -58,6 +58,5 @@
|
|||
"tmp": "tmp/inherits-2.0.3.tgz_1473295776489_0.08142363070510328"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
||||
"readme": "ERROR: No README data found!"
|
||||
"_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz"
|
||||
}
|
||||
|
|
|
@ -248,7 +248,7 @@
|
|||
},
|
||||
"homepage": "https://github.com/ternjs/tern#readme",
|
||||
"_id": "tern@0.16.1",
|
||||
"_shasum": "b64be7cfe6d01de1baf4968c4e4327b92d27836a",
|
||||
"_shasum": "b52eebccdd6def724a2c34c3fa80e0906dc2627d",
|
||||
"_from": "git+https://github.com/cloud9ide/tern.git#39015d544d4c00c7899fea4c95c2e5bc2720e68e",
|
||||
"_resolved": "git+https://github.com/cloud9ide/tern.git#39015d544d4c00c7899fea4c95c2e5bc2720e68e"
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"readme": "# tern_from_ts\n\nTern signatures extracted from typescript signatures.\n\nLicense: MIT\n\nSee also https://github.com/marijnh/tern and https://github.com/borisyankov/DefinitelyTyped\n",
|
||||
"readmeFilename": "README.md",
|
||||
"_id": "tern_from_ts@0.0.1",
|
||||
"_shasum": "aba5cd46a4027c1f12428f6674a5eccfa0a1804f",
|
||||
"_shasum": "16e8bbe1eb067c81cde1d28a2e72743e831f5460",
|
||||
"_from": "git+https://github.com/cloud9ide/tern_from_ts.git#66df507986bbdd63f3bc4f0c53edb39169ce4f1c",
|
||||
"_resolved": "git+https://github.com/cloud9ide/tern_from_ts.git#66df507986bbdd63f3bc4f0c53edb39169ce4f1c"
|
||||
}
|
||||
|
|
|
@ -41,14 +41,34 @@
|
|||
"ava": "*",
|
||||
"xo": "^0.16.0"
|
||||
},
|
||||
"readme": "# os-tmpdir [](https://travis-ci.org/sindresorhus/os-tmpdir)\n\n> Node.js [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir) [ponyfill](https://ponyfill.com)\n\nUse this instead of `require('os').tmpdir()` to get a consistent behavior on different Node.js versions (even 0.8).\n\n\n## Install\n\n```\n$ npm install --save os-tmpdir\n```\n\n\n## Usage\n\n```js\nconst osTmpdir = require('os-tmpdir');\n\nosTmpdir();\n//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T'\n```\n\n\n## API\n\nSee the [`os.tmpdir()` docs](https://nodejs.org/api/os.html#os_os_tmpdir).\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
|
||||
"readmeFilename": "readme.md",
|
||||
"gitHead": "1abf9cf5611b4be7377060ea67054b45cbf6813c",
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/os-tmpdir/issues"
|
||||
},
|
||||
"homepage": "https://github.com/sindresorhus/os-tmpdir#readme",
|
||||
"_id": "os-tmpdir@1.0.2",
|
||||
"_shasum": "bbe67406c79aa85c5cfec766fe5734555dfa1274",
|
||||
"_resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
|
||||
"_from": "os-tmpdir@>=1.0.2 <1.1.0"
|
||||
"_from": "os-tmpdir@>=1.0.2 <1.1.0",
|
||||
"_npmVersion": "3.10.3",
|
||||
"_nodeVersion": "6.6.0",
|
||||
"_npmUser": {
|
||||
"name": "sindresorhus",
|
||||
"email": "sindresorhus@gmail.com"
|
||||
},
|
||||
"dist": {
|
||||
"shasum": "bbe67406c79aa85c5cfec766fe5734555dfa1274",
|
||||
"tarball": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz"
|
||||
},
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "sindresorhus",
|
||||
"email": "sindresorhus@gmail.com"
|
||||
}
|
||||
],
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-12-west.internal.npmjs.com",
|
||||
"tmp": "tmp/os-tmpdir-1.0.2.tgz_1475211274587_0.14931037812493742"
|
||||
},
|
||||
"directories": {},
|
||||
"_resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz"
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1978,9 +1978,6 @@ module.exports = function setup(fsOptions) {
|
|||
if (options.detach)
|
||||
args.push(";", "detach");
|
||||
|
||||
options.env["LD_LIBRARY_PATH"] = (options.env["LD_LIBRARY_PATH"]
|
||||
? options.env["LD_LIBRARY_PATH"] + ":" : "") + "~/.c9/local/lib";
|
||||
|
||||
// Prevent welcome message
|
||||
options.env["ISOUTPUTPANE"] = "1";
|
||||
}
|
||||
|
|
|
@ -49,5 +49,5 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"licenses": [],
|
||||
"revision": "718f53d835008733866e48503b78213052aa8cbd"
|
||||
"revision": "58b6fa3d98be8a73ed10348ee5f5ec10601312c7"
|
||||
}
|
||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
|||
1516334448
|
||||
1517371222
|
||||
|
|
Ładowanie…
Reference in New Issue