Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
4b7b74e4
Commit
4b7b74e4
authored
Feb 16, 2022
by
github-actions
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transpile
65fef6ae
parent
9dbc72cd
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
15 deletions
+10
-15
.eslintrc
.eslintrc
+3
-5
package-lock.json
package-lock.json
+0
-0
package.json
package.json
+6
-9
inheritanceOrdering.js
scripts/inheritanceOrdering.js
+1
-1
No files found.
.eslintrc
View file @
4b7b74e4
{
{
"extends" : [
"extends" : [
"standard",
"standard"
"plugin:promise/recommended",
],
],
"plugins": [
"plugins": [
"mocha-no-only",
"mocha"
"promise",
],
],
"env": {
"env": {
"browser" : true,
"browser" : true,
...
@@ -53,7 +51,7 @@
...
@@ -53,7 +51,7 @@
"semi": ["error", "always"],
"semi": ["error", "always"],
"space-before-function-paren": ["error", "always"],
"space-before-function-paren": ["error", "always"],
"mocha
-no-only/mocha-no-only
": ["error"],
"mocha
/no-exclusive-tests
": ["error"],
"promise/always-return": "off",
"promise/always-return": "off",
"promise/avoid-new": "off",
"promise/avoid-new": "off",
...
...
package-lock.json
View file @
4b7b74e4
This source diff could not be displayed because it is too large. You can
view the blob
instead.
package.json
View file @
4b7b74e4
...
@@ -56,19 +56,16 @@
...
@@ -56,19 +56,16 @@
"
@nomiclabs/hardhat-web3
"
:
"^2.0.0"
,
"
@nomiclabs/hardhat-web3
"
:
"^2.0.0"
,
"
@openzeppelin/docs-utils
"
:
"^0.1.0"
,
"
@openzeppelin/docs-utils
"
:
"^0.1.0"
,
"
@openzeppelin/test-helpers
"
:
"^0.5.13"
,
"
@openzeppelin/test-helpers
"
:
"^0.5.13"
,
"
@truffle/abi-utils
"
:
"^0.2.3"
,
"
chai
"
:
"^4.2.0"
,
"
chai
"
:
"^4.2.0"
,
"
eslint
"
:
"^6.5.1"
,
"
eslint
"
:
"^7.32.0"
,
"
eslint-config-standard
"
:
"^14.1.1"
,
"
eslint-config-standard
"
:
"^16.0.3"
,
"
eslint-plugin-import
"
:
"^2.20.0"
,
"
eslint-plugin-import
"
:
"^2.25.4"
,
"
eslint-plugin-mocha-no-only
"
:
"^1.1.0"
,
"
eslint-plugin-mocha
"
:
"^10.0.3"
,
"
eslint-plugin-node
"
:
"^10.0.0"
,
"
eslint-plugin-node
"
:
"^11.1.0"
,
"
eslint-plugin-promise
"
:
"^4.2.1"
,
"
eslint-plugin-promise
"
:
"^5.2.0"
,
"
eslint-plugin-standard
"
:
"^4.0.1"
,
"
eth-sig-util
"
:
"^3.0.0"
,
"
eth-sig-util
"
:
"^3.0.0"
,
"
ethereumjs-util
"
:
"^7.0.7"
,
"
ethereumjs-util
"
:
"^7.0.7"
,
"
ethereumjs-wallet
"
:
"^1.0.1"
,
"
ethereumjs-wallet
"
:
"^1.0.1"
,
"
glob
"
:
"^7.2.0"
,
"
graphlib
"
:
"^2.1.8"
,
"
graphlib
"
:
"^2.1.8"
,
"
hardhat
"
:
"^2.0.6"
,
"
hardhat
"
:
"^2.0.6"
,
"
hardhat-gas-reporter
"
:
"^1.0.4"
,
"
hardhat-gas-reporter
"
:
"^1.0.4"
,
...
...
scripts/inheritanceOrdering.js
View file @
4b7b74e4
...
@@ -26,7 +26,7 @@ for (const artifact of artifacts) {
...
@@ -26,7 +26,7 @@ for (const artifact of artifacts) {
graph
.
nodes
().
forEach
((
x
,
i
,
nodes
)
=>
nodes
graph
.
nodes
().
forEach
((
x
,
i
,
nodes
)
=>
nodes
.
slice
(
i
+
1
)
.
slice
(
i
+
1
)
.
filter
(
y
=>
graph
.
hasEdge
(
x
,
y
)
&&
graph
.
hasEdge
(
y
,
x
))
.
filter
(
y
=>
graph
.
hasEdge
(
x
,
y
)
&&
graph
.
hasEdge
(
y
,
x
))
.
map
(
y
=>
{
.
forEach
(
y
=>
{
console
.
log
(
`Conflict between
${
names
[
x
]}
and
${
names
[
y
]}
detected in the following dependency chains:`
);
console
.
log
(
`Conflict between
${
names
[
x
]}
and
${
names
[
y
]}
detected in the following dependency chains:`
);
linearized
linearized
.
filter
(
chain
=>
chain
.
includes
(
parseInt
(
x
))
&&
chain
.
includes
(
parseInt
(
y
)))
.
filter
(
chain
=>
chain
.
includes
(
parseInt
(
x
))
&&
chain
.
includes
(
parseInt
(
y
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment