New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

es-aggregate-error

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-aggregate-error - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.github/workflows/rebase.yml

27

CHANGELOG.md

@@ -1,11 +0,26 @@

### Changelog
# Changelog
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [v1.0.1](https://github.com/es-shims/AggregateError/compare/v1.0.0...v1.0.1)
## [v1.0.2](https://github.com/es-shims/AggregateError/compare/v1.0.1...v1.0.2) - 2019-12-14
> 11 November 2019
### Commits
- [Refactor] use split-up `es-abstract` (67% bundle size decrease) [`f0b49b7`](https://github.com/es-shims/AggregateError/commit/f0b49b737855475069fceca680a2e721be42e938)
- [meta] switch to `keepachangelog` template [`61c9af8`](https://github.com/es-shims/AggregateError/commit/61c9af83bc6520df306ed84fcb3030ba8c95ae25)
- [actions] add automatic rebasing / merge commit blocking [`d614438`](https://github.com/es-shims/AggregateError/commit/d61443811c6eded0f798a33f64ddd7b32e6a85ce)
- [Deps] update `es-abstract`, `internal-slot` [`c5a6cea`](https://github.com/es-shims/AggregateError/commit/c5a6cea05351166e11b85599949a62af2be79a7a)
- [Tests] use `evalmd` in `postlint` [`2bcc645`](https://github.com/es-shims/AggregateError/commit/2bcc645ee2d0b7479d22ca86f1cc59bc61ff92fd)
- [Dev Deps] update `eslint`, `@ljharb/eslint-config` [`d8c39c4`](https://github.com/es-shims/AggregateError/commit/d8c39c41b81785b93688d7fe1e5cfec46b21af0e)
- [meta] fix missing version npmrc settings [`10c271e`](https://github.com/es-shims/AggregateError/commit/10c271e739e58b39725c46100ef03930d8c28140)
## [v1.0.1](https://github.com/es-shims/AggregateError/compare/v1.0.0...v1.0.1) - 2019-11-11
### Commits
- [Tests] use shared travis-ci configs [`4acd21b`](https://github.com/es-shims/AggregateError/commit/4acd21bd73c36b1d88b5fc4b01597917765ba0a0)

@@ -16,5 +31,5 @@ - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `safe-publish-latest`, `object-inspect`, `auto-changelog` [`668dd27`](https://github.com/es-shims/AggregateError/commit/668dd27d0c21ba635dadc6209c927add75e391f6)

#### v1.0.0
## v1.0.0 - 2019-10-21
> 21 October 2019
### Commits

@@ -21,0 +36,0 @@ - [Tests] add `travis.yml` [`71ad01b`](https://github.com/es-shims/AggregateError/commit/71ad01b0ff6b7fa43ae0b8bc8dd3215761ae4eee)

'use strict';
var ES = require('es-abstract/es2019');
var AdvanceStringIndex = require('es-abstract/2019/AdvanceStringIndex');
var GetMethod = require('es-abstract/2019/GetMethod');
var IsArray = require('es-abstract/2019/IsArray');
var IterableToList = require('es-abstract/2019/IterableToList');
var OrdinarySetPrototypeOf = require('es-abstract/2019/OrdinarySetPrototypeOf');
var Type = require('es-abstract/2019/Type');
var GetIntrinsic = require('es-abstract/GetIntrinsic');

@@ -16,5 +21,10 @@ var callBound = require('es-abstract/helpers/callBound');

function AggregateError(errors, message) {
var errorsList = ES.IterableToList(errors, getIteratorMethod(ES, errors));
var errorsList = IterableToList(errors, getIteratorMethod({
AdvanceStringIndex: AdvanceStringIndex,
GetMethod: GetMethod,
IsArray: IsArray,
Type: Type
}, errors));
var error = new $Error(message);
ES.OrdinarySetPrototypeOf(error, proto); // eslint-disable-line no-use-before-define
OrdinarySetPrototypeOf(error, proto); // eslint-disable-line no-use-before-define
delete error.constructor;

@@ -47,4 +57,4 @@ if (define.supportsDescriptors) {

ES.OrdinarySetPrototypeOf(AggregateError.prototype, Error.prototype);
OrdinarySetPrototypeOf(AggregateError.prototype, Error.prototype);
module.exports = AggregateError;
{
"name": "es-aggregate-error",
"version": "1.0.1",
"version": "1.0.2",
"contributors": [

@@ -18,2 +18,3 @@ {

"lint": "eslint .",
"postlint": "evalmd README.md",
"pretest": "npm run lint && es-shim-api --bound",

@@ -53,14 +54,15 @@ "test": "npm run --silent tests-only",

"define-properties": "^1.1.3",
"es-abstract": "^1.16.0",
"es-abstract": "^1.17.0-next.1",
"function-bind": "^1.1.1",
"functions-have-names": "^1.2.0",
"globalthis": "^1.0.0",
"internal-slot": "^1.0.0"
"internal-slot": "^1.0.1"
},
"devDependencies": {
"@es-shims/api": "^2.1.2",
"@ljharb/eslint-config": "^15.0.1",
"@ljharb/eslint-config": "^15.0.2",
"auto-changelog": "^1.16.2",
"es6-shim": "^0.35.5",
"eslint": "^6.6.0",
"eslint": "^6.7.2",
"evalmd": "0.0.19",
"for-each": "^0.3.3",

@@ -76,2 +78,3 @@ "object-inspect": "^1.7.0",

"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,

@@ -78,0 +81,0 @@ "commitLimit": false,

@@ -29,3 +29,3 @@ # es-aggregate-error <sup>[![Version Badge][npm-version-svg]][package-url]</sup>

assert.equal(globalThis.AggregateError, AggregateError);
assert.ok(new globalThis.AggregateError([]) instanceof AggregateError);
```

@@ -32,0 +32,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc