Fixes #7063: Update security dependencies, move esbuild to devDependencies, update clipboard

This commit is contained in:
thatmattlove 2021-08-30 08:13:49 -07:00
parent 88408951c6
commit 21d3af6116
28 changed files with 615 additions and 547 deletions

Binary file not shown.

View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["sass:/Users/ml/dev/netbox/netbox/project-static/styles/_cable_trace.scss"],
"sourcesContent": [":root{--nbx-trace-color: #000;--nbx-trace-node-bg: #e9ecef;--nbx-trace-termination-bg: #f8f9fa;--nbx-trace-cable-shadow: #343a40;--nbx-trace-attachment: #ced4da}:root[data-netbox-color-mode=dark]{--nbx-trace-color: #fff;--nbx-trace-node-bg: #212529;--nbx-trace-termination-bg: #343a40;--nbx-trace-cable-shadow: #e9ecef;--nbx-trace-attachment: #6c757d}*{font-family:system-ui,-apple-system,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",\"Liberation Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";font-size:.875rem}text{text-anchor:middle;dominant-baseline:middle}text:not([fill]){fill:var(--nbx-trace-color)}text.bold{font-weight:700}svg rect{fill:var(--nbx-trace-node-bg);stroke:#606060;stroke-width:1}svg rect .termination{fill:var(--nbx-trace-termination-bg)}svg .connector text{text-anchor:start}svg line{stroke-width:5px}svg line.cable-shadow{stroke:var(--nbx-trace-cable-shadow);stroke-width:7px}svg line.attachment{stroke:var(--nbx-trace-attachment);stroke-dasharray:5px,5px}"],
"mappings": "AAAA,MAAM,wBAAwB,6BAA6B,oCAAoC,kCAAkC,gCAAgC,mCAAmC,wBAAwB,6BAA6B,oCAAoC,kCAAkC,gCAAgC,EAAE,gMAAgM,kBAAkB,KAAK,mBAAmB,yBAAyB,iBAAiB,4BAA4B,UAAU,gBAAgB,SAAS,8BAA8B,eAAe,eAAe,sBAAsB,qCAAqC,oBAAoB,kBAAkB,SAAS,iBAAiB,sBAAsB,qCAAqC,iBAAiB,oBAAoB,mCAAmC",
"names": []
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,7 @@
{
"version": 3,
"sources": ["sass:/Users/ml/dev/netbox/netbox/project-static/styles/_rack_elevation.scss"],
"sourcesContent": ["svg{--nbx-rack-bg: #e9ecef;--nbx-rack-border: #000;--nbx-rack-slot-bg: #e9ecef;--nbx-rack-slot-border: #adb5bd;--nbx-rack-slot-hover-bg: #ced4da;--nbx-rack-link-color: #0d6efd;--nbx-rack-unit-color: #6c757d}svg[data-netbox-color-mode=dark]{--nbx-rack-bg: #343a40;--nbx-rack-border: #6c757d;--nbx-rack-slot-bg: #343a40;--nbx-rack-slot-border: #495057;--nbx-rack-slot-hover-bg: #212529;--nbx-rack-link-color: #9ec5fe;--nbx-rack-unit-color: #6c757d}*{font-family:system-ui,-apple-system,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",\"Liberation Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";font-size:.875rem}rect{box-sizing:border-box}text{text-anchor:middle;dominant-baseline:middle}svg .unit{margin:0;padding:5px 0px;fill:var(--nbx-rack-unit-color)}svg .hidden{visibility:hidden}svg .rack{fill:none;stroke-width:2px;stroke:var(--nbx-rack-border);background-color:var(--nbx-rack-bg)}svg .slot{fill:var(--nbx-rack-slot-bg);stroke:var(--nbx-rack-slot-border)}svg .slot:hover{fill:var(--nbx-rack-slot-hover-bg)}svg .slot+.add-device{fill:var(--nbx-rack-link-color);opacity:0;pointer-events:none}svg .slot:hover+.add-device{opacity:1}svg .slot.reserved:hover[class]+.add-device{fill:#000}svg .slot.reserved[class],svg .slot.reserved:hover[class]{fill:url(#reserved)}svg .slot.occupied[class],svg .slot.occupied:hover[class]{fill:url(#occupied)}svg .slot.blocked[class],svg .slot.blocked:hover[class]{fill:url(#blocked)}svg .slot.blocked:hover+.add-device{opacity:0}"],
"mappings": "AAAA,IAAI,uBAAuB,wBAAwB,4BAA4B,gCAAgC,kCAAkC,+BAA+B,+BAA+B,iCAAiC,uBAAuB,2BAA2B,4BAA4B,gCAAgC,kCAAkC,+BAA+B,+BAA+B,EAAE,gMAAgM,kBAAkB,KAAK,sBAAsB,KAAK,mBAAmB,yBAAyB,UAA9tB,uBAAiwB,gCAAgC,YAAY,kBAAkB,UAAU,UAAU,iBAAiB,8BAA8B,oCAAoC,UAAU,6BAA6B,mCAAmC,gBAAgB,mCAAmC,sBAAsB,gCAAgC,UAAU,oBAAoB,4BAA4B,UAAU,4CAA4C,UAAU,0DAA0D,oBAAoB,0DAA0D,oBAAoB,wDAAwD,mBAAmB,oCAAoC",
"names": []
}

Binary file not shown.

Binary file not shown.

View File

@ -25,12 +25,10 @@
"@mdi/font": "^5.9.55",
"@popperjs/core": "^2.9.2",
"bootstrap": "^5.0.2",
"clipboard": "2.0.6",
"clipboard": "^2.0.8",
"color2k": "^1.2.4",
"cookie": "^0.4.1",
"dayjs": "^1.10.4",
"esbuild": "^0.12.15",
"esbuild-sass-plugin": "^1.4.8",
"flatpickr": "4.6.3",
"just-debounce-it": "^1.4.0",
"masonry-layout": "^4.2.2",
@ -41,11 +39,12 @@
},
"devDependencies": {
"@types/bootstrap": "^5.0.12",
"@types/clipboard": "^2.0.1",
"@types/cookie": "^0.4.0",
"@types/masonry-layout": "^4.2.2",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"esbuild": "^0.12.24",
"esbuild-sass-plugin": "^1.5.2",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^2.4.0",
@ -54,5 +53,13 @@
"prettier": "^2.2.1",
"prettier-eslint": "^12.0.0",
"typescript": "^4.2.3"
},
"resolutions": {
"eslint-import-resolver-typescript/**/path-parse": "^1.0.7",
"slim-select/**/trim-newlines": "^3.0.1",
"eslint/glob-parent": "^5.1.2",
"esbuild-sass-plugin/**/glob-parent": "^5.1.2",
"@typescript-eslint/**/glob-parent": "^5.1.2",
"eslint-plugin-import/**/hosted-git-info": "^2.8.9"
}
}

File diff suppressed because it is too large Load Diff