oojs/core (main)

sourcepatches
From 3671256d6c5352635232e4732d47dca35a3de362 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Wed, 16 Jun 2021 12:55:08 +0000
Subject: [PATCH] build: Updating npm dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* ws: 7.4.5 → 7.4.6
  * https://npmjs.com/advisories/1748 (CVE-2021-32640)
* normalize-url: 2.0.1 → 4.5.1
  * https://npmjs.com/advisories/1755 (CVE-2021-33502)

Change-Id: Ifcb017de24cbeedbb0fdd14cc4798259dd814ace
---
 package-lock.json | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 93913db..f90ff3d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3325,9 +3325,9 @@
 					"dev": true
 				},
 				"normalize-url": {
-					"version": "4.5.0",
-					"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
-					"integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==",
+					"version": "4.5.1",
+					"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz",
+					"integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==",
 					"dev": true
 				},
 				"p-cancelable": {
@@ -7244,9 +7244,9 @@
 			"dev": true
 		},
 		"ws": {
-			"version": "7.4.5",
-			"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
-			"integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==",
+			"version": "7.4.6",
+			"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
+			"integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==",
 			"dev": true
 		},
 		"xmlcreate": {
-- 
2.20.1

$ date
Wed Jun 16 12:53:55 UTC 2021

$ git clone file:///srv/git/oojs-core.git repo --depth=1 -b master
Cloning into 'repo'...

$ git config user.name libraryupgrader

$ git config user.email tools.libraryupgrader@tools.wmflabs.org

$ git submodule update --init

$ grr init
Installed commit-msg hook.

$ git show-ref refs/heads/master
4ee02b9f60938e483ece342a842f384ea66be972 refs/heads/master

Attempting to npm audit fix
$ npm audit fix --only=dev

> core-js@3.11.0 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 845 packages from 1199 contributors in 15.279s

51 packages are looking for funding
  run `npm fund` for details

fixed 5 of 7 vulnerabilities in 846 scanned packages
  2 vulnerabilities required manual review and could not be updated

$ npm audit fix --only=dev
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

up to date in 4.124s

51 packages are looking for funding
  run `npm fund` for details

fixed 0 of 2 vulnerabilities in 846 scanned packages
  2 vulnerabilities required manual review and could not be updated

$ npm audit fix --only=dev
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

up to date in 3.924s

51 packages are looking for funding
  run `npm fund` for details

fixed 0 of 2 vulnerabilities in 846 scanned packages
  2 vulnerabilities required manual review and could not be updated

$ package-lock-lint package-lock.json
0 issues found in: package-lock.json

Verifying that tests still pass
$ npm ci
npm WARN prepare removing existing node_modules/ before installation

> core-js@3.11.0 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

added 846 packages in 10.811s

$ npm test

> oojs@6.0.0 test /src/repo
> npm run lint && npm run build-dev && karma start && qunit tests/node-index.js


> oojs@6.0.0 lint /src/repo
> eslint --cache --report-unused-disable-directives --ext .js,.json .


> oojs@6.0.0 build-dev /src/repo
> grunt build-dev

Running "set-meta" task

Running "set-dev" task

Running "clean:dist" (clean) task
>> 0 paths cleaned.

Running "concat:dev" (concat) task

Done.
16 06 2021 12:54:54.355:INFO [karma-server]: Karma v6.3.2 server started at http://localhost:9876/
16 06 2021 12:54:54.357:INFO [launcher]: Launching browsers FirefoxHeadless, ChromeCustom with concurrency unlimited
16 06 2021 12:54:54.362:INFO [launcher]: Starting browser FirefoxHeadless
16 06 2021 12:54:54.375:INFO [launcher]: Starting browser ChromiumHeadless
16 06 2021 12:54:57.322:INFO [Chrome Headless 90.0.4430.212 (Linux x86_64)]: Connected on socket k_hs5qWpNP76RmVpAAAB with id 44257687
.........................................................
Chrome Headless 90.0.4430.212 (Linux x86_64): Executed 57 of 57 SUCCESS (0.204 secs / 0.127 secs)
16 06 2021 12:55:07.030:INFO [Firefox 78.0 (Linux x86_64)]: Connected on socket bcxvwWfBZBN3Z6u2AAAD with id 67187005
.........................................................
Firefox 78.0 (Linux x86_64): Executed 57 of 57 SUCCESS (0.378 secs / 0.324 secs)
TOTAL: 114 SUCCESS
TOTAL: 114 SUCCESS

=============================== Coverage summary ===============================
Statements   : 100% ( 446/446 )
Branches     : 100% ( 272/272 )
Functions    : 100% ( 61/61 )
Lines        : 100% ( 446/446 )
================================================================================
TAP version 13
ok 1 core > initClass
ok 2 core > inheritClass
ok 3 core > mixinClass
ok 4 core > isSubclass
ok 5 core > getProp( Object )
ok 6 core > getProp( Function )
ok 7 core > getProp( Array )
ok 8 core > setProp( Object )
ok 9 core > setProp( Function )
ok 10 core > setProp( Array )
ok 11 core > deleteProp( Object )
ok 12 core > deleteProp( Function )
ok 13 core > deleteProp( Array )
ok 14 core > cloneObject
ok 15 core > getObjectValues
ok 16 core > binarySearch
ok 17 core > compare
ok 18 core > compare( Node, Node )
ok 19 core > compare( Object, Object, Boolean asymmetrical )
ok 20 core > copy( source )
ok 21 core > copy( source, Function leafCallback )
ok 22 core > copy( source, Function leafCallback, Function nodeCallback )
ok 23 core > getHash: Basic usage
ok 24 core > getHash: Complex usage
ok 25 core > unique
ok 26 core > simpleArrayUnion
ok 27 core > simpleArrayIntersection
ok 28 core > simpleArrayDifference
ok 29 util > isPlainObject
ok 30 EventEmitter > on
ok 31 EventEmitter > once
ok 32 EventEmitter > once - nested
ok 33 EventEmitter > once - off
ok 34 EventEmitter > emit
ok 35 EventEmitter > off
ok 36 EventEmitter > connect
ok 37 EventEmitter > disconnect( host )
ok 38 EventEmitter > disconnect( host, methods )
ok 39 EventEmitter > disconnect( host, array methods )
ok 40 EventEmitter > disconnect( host, unbound methods )
ok 41 EventEmitter > chainable
ok 42 EmitterList > addItems
ok 43 EmitterList > moveItem
ok 44 EmitterList > clearItems
ok 45 EmitterList > removeItems
ok 46 EmitterList > aggregate
ok 47 EmitterList > Events
ok 48 SortedEmitterList > addItems
ok 49 SortedEmitterList > Events
ok 50 Registry > register/unregister
ok 51 Registry > lookup
ok 52 Factory > invalid registration
ok 53 Factory > registeration and lookup
ok 54 Factory > invalid creation
ok 55 Factory > valid creation
1..55
# pass 55
# skip 0
# todo 0
# fail 0

Upgrading n:ws from 7.4.5 -> 7.4.6
Upgrading n:normalize-url from 2.0.1 -> 4.5.1
$ package-lock-lint package-lock.json
0 issues found in: package-lock.json

$ git add .

$ git commit -F /tmp/tmpsl3x48lj
[master 3671256] build: Updating npm dependencies
 1 file changed, 6 insertions(+), 6 deletions(-)

$ git format-patch HEAD~1 --stdout
From 3671256d6c5352635232e4732d47dca35a3de362 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Wed, 16 Jun 2021 12:55:08 +0000
Subject: [PATCH] build: Updating npm dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* ws: 7.4.5 → 7.4.6
  * https://npmjs.com/advisories/1748 (CVE-2021-32640)
* normalize-url: 2.0.1 → 4.5.1
  * https://npmjs.com/advisories/1755 (CVE-2021-33502)

Change-Id: Ifcb017de24cbeedbb0fdd14cc4798259dd814ace
---
 package-lock.json | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 93913db..f90ff3d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3325,9 +3325,9 @@
 					"dev": true
 				},
 				"normalize-url": {
-					"version": "4.5.0",
-					"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
-					"integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==",
+					"version": "4.5.1",
+					"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz",
+					"integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==",
 					"dev": true
 				},
 				"p-cancelable": {
@@ -7244,9 +7244,9 @@
 			"dev": true
 		},
 		"ws": {
-			"version": "7.4.5",
-			"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz",
-			"integrity": "sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==",
+			"version": "7.4.6",
+			"resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz",
+			"integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==",
 			"dev": true
 		},
 		"xmlcreate": {
-- 
2.20.1

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.