axe
Advanced tools
Comparing version 8.1.0 to 8.1.1
@@ -7,7 +7,7 @@ "use strict"; | ||
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); } | ||
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } | ||
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); } | ||
function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } | ||
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } | ||
@@ -22,5 +22,5 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } | ||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } | ||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } | ||
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } | ||
@@ -162,3 +162,3 @@ // eslint-disable-next-line import/no-unassigned-import | ||
return _this.log.apply(_this, _toConsumableArray([element].concat([].slice.call(args)))); | ||
return _this.log.apply(_this, _toConsumableArray([element].concat(Array.prototype.slice.call(args)))); | ||
}; | ||
@@ -235,3 +235,3 @@ }; | ||
originalArgs = originalArgs.concat([].slice.call(args)); | ||
originalArgs = originalArgs.concat(Array.prototype.slice.call(args)); | ||
var config = this.config; | ||
@@ -277,5 +277,5 @@ var modifier = 0; | ||
meta = {}; | ||
} else if (!isBunyan && originalArgs.length === 3 + modifier && isString(message) && formatSpecifiers.filter(function (t) { | ||
} else if (!isBunyan && originalArgs.length === 3 + modifier && isString(message) && formatSpecifiers.some(function (t) { | ||
return message.includes(t); | ||
}).length > 0) { | ||
})) { | ||
// Otherwise if there are three args and if the `message` contains | ||
@@ -282,0 +282,0 @@ // a placeholder token (e.g. '%s' or '%d' - see above `formatSpecifiers` variable) |
{ | ||
"name": "axe", | ||
"description": "Logging add-on to send logs over HTTP to your server in Node and Browser environments. Works with any logger! Chop up your logs consistently! Made for Cabin and Lad.", | ||
"version": "8.1.0", | ||
"version": "8.1.1", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com)", | ||
@@ -34,6 +34,6 @@ "ava": { | ||
"@ladjs/format-util": "^1.0.4", | ||
"boolean": "^3.0.2", | ||
"boolean": "^3.1.4", | ||
"console-polyfill": "^0.3.0", | ||
"cuid": "^2.1.8", | ||
"fast-safe-stringify": "^2.0.7", | ||
"fast-safe-stringify": "^2.1.1", | ||
"format-specifiers": "^1.0.0", | ||
@@ -44,36 +44,36 @@ "iserror": "^0.0.2", | ||
"parse-err": "^0.0.12", | ||
"superagent": "^6.1.0" | ||
"superagent": "^7.0.2" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.12.10", | ||
"@babel/core": "^7.12.10", | ||
"@babel/preset-env": "^7.12.11", | ||
"@commitlint/cli": "^11.0.0", | ||
"@commitlint/config-conventional": "^11.0.0", | ||
"ava": "^3.15.0", | ||
"@babel/cli": "^7.16.8", | ||
"@babel/core": "^7.16.7", | ||
"@babel/preset-env": "^7.16.8", | ||
"@commitlint/cli": "^16.0.2", | ||
"@commitlint/config-conventional": "^16.0.0", | ||
"ava": "^4.0.1", | ||
"babelify": "^10.0.0", | ||
"browserify": "^17.0.0", | ||
"codecov": "^3.8.1", | ||
"consola": "^2.15.0", | ||
"codecov": "^3.8.2", | ||
"consola": "^2.15.3", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^7.17.0", | ||
"eslint-config-xo-lass": "^1.0.4", | ||
"eslint-plugin-compat": "^3.9.0", | ||
"eslint": "^8.6.0", | ||
"eslint-config-xo-lass": "^1.0.6", | ||
"eslint-plugin-compat": "^4.0.1", | ||
"eslint-plugin-node": "^11.1.0", | ||
"express": "^4.17.1", | ||
"express": "^4.17.2", | ||
"fixpack": "^4.0.0", | ||
"husky": "^4.3.7", | ||
"husky": "^7.0.4", | ||
"jsdom": "15.x", | ||
"koa": "^2.13.1", | ||
"lint-staged": "^10.5.3", | ||
"lodash": "^4.17.20", | ||
"koa": "^2.13.4", | ||
"lint-staged": "^12.1.7", | ||
"lodash": "^4.17.21", | ||
"nyc": "^15.1.0", | ||
"pino": "^6.10.0", | ||
"remark-cli": "^9.0.0", | ||
"pino": "^7.6.3", | ||
"remark-cli": "^10.0.1", | ||
"remark-preset-github": "^4.0.1", | ||
"rimraf": "^3.0.2", | ||
"signale": "^1.4.0", | ||
"sinon": "^9.2.3", | ||
"sinon": "^12.0.1", | ||
"tinyify": "https://github.com/niftylettuce/tinyify", | ||
"xo": "^0.37.1" | ||
"xo": "^0.47.0" | ||
}, | ||
@@ -174,4 +174,8 @@ "engines": { | ||
"config.js" | ||
] | ||
], | ||
"rules": { | ||
"node/prefer-global/process": "off", | ||
"unicorn/prefer-spread": "off" | ||
} | ||
} | ||
} |
@@ -168,3 +168,3 @@ # Axe | ||
```html | ||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6,Map,Map.prototype,Math.sign,Promise,Reflect,Symbol,Symbol.iterator,Symbol.prototype,Symbol.toPrimitive,Symbol.toStringTag,Uint32Array,window.crypto,Object.assign,Object.getOwnPropertySymbols,Array.from,Set"></script> | ||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6,Map,Map.prototype,Math.sign,Promise,Reflect,Symbol,Symbol.iterator,Symbol.prototype,Symbol.toPrimitive,Symbol.toStringTag,Uint32Array,window.crypto,Object.assign,Object.getOwnPropertySymbols,Array.from,Set,BigInt,WeakMap,WeakRef,WeakSet"></script> | ||
<script src="https://unpkg.com/axe"></script> | ||
@@ -184,3 +184,3 @@ <script type="text/javascript"> | ||
```html | ||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6,Map,Map.prototype,Math.sign,Promise,Reflect,Symbol,Symbol.iterator,Symbol.prototype,Symbol.toPrimitive,Symbol.toStringTag,Uint32Array,window.crypto,Object.assign,Object.getOwnPropertySymbols,Array.from,Set"></script> | ||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6,Map,Map.prototype,Math.sign,Promise,Reflect,Symbol,Symbol.iterator,Symbol.prototype,Symbol.toPrimitive,Symbol.toStringTag,Uint32Array,window.crypto,Object.assign,Object.getOwnPropertySymbols,Array.from,Set,BigInt,WeakMap,WeakRef,WeakSet"></script> | ||
``` | ||
@@ -193,3 +193,2 @@ | ||
* Reflect is not supported in IE 10 | ||
* Symbol is not supported in IE 10 | ||
* Symbol.iterator() is not supported in IE 10 | ||
@@ -205,2 +204,7 @@ * Symbol.prototype() is not supported in IE 10 | ||
* Set is not supported in IE 10 | ||
* Symbol is not supported in IE 10 | ||
* BigInt is not supported in IE 10 | ||
* WeakMap is not supported in IE 10 | ||
* WeakRef is not supported in Opera 81, IE 10 | ||
* WeakSet is not supported in IE 10 | ||
@@ -207,0 +211,0 @@ #### Bundler |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
322862
6666
512
3
+ Addedasap@2.0.6(transitive)
+ Addeddezalgo@1.0.4(transitive)
+ Addedform-data@4.0.0(transitive)
+ Addedformidable@2.1.2(transitive)
+ Addedhexoid@1.0.0(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedsuperagent@7.1.6(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedform-data@3.0.1(transitive)
- Removedformidable@1.2.6(transitive)
- Removedsuperagent@6.1.0(transitive)
Updatedboolean@^3.1.4
Updatedfast-safe-stringify@^2.1.1
Updatedsuperagent@^7.0.2