Skip to content

Commit cbbe383

Browse files
committed
5.4.3
1 parent 8f2a18c commit cbbe383

File tree

9 files changed

+95
-210
lines changed

9 files changed

+95
-210
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://getcomposer.org/schema.json",
23
"name": "laravel/nova",
34
"description": "A wonderful administration interface for Laravel.",
45
"keywords": [
@@ -169,5 +170,5 @@
169170
},
170171
"minimum-stability": "dev",
171172
"prefer-stable": true,
172-
"version": "5.4.2"
173+
"version": "5.4.3"
173174
}

package-lock.json

Lines changed: 83 additions & 198 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@
3232
"postcss": "^8.5.1",
3333
"postcss-import": "^14.1.0",
3434
"postcss-rtlcss": "^3.7.2",
35-
"prettier": "^3.4.2",
36-
"prettier-plugin-organize-imports": "^3.2.4",
37-
"prettier-plugin-tailwindcss": "^0.5.14",
3835
"tailwindcss": "^3.4.17",
3936
"ts-loader": "^9.5.2",
4037
"typescript": "^5.7.3",
@@ -53,7 +50,7 @@
5350
"axios": "^1.8.1",
5451
"chartist": "^1.3.0",
5552
"chartist-plugin-tooltips-updated": "^1.0.0",
56-
"codemirror": "^5.65.18",
53+
"codemirror": "^5.65.19",
5754
"colortranslator": "^1.10.2",
5855
"floating-vue": "^2.0.0",
5956
"focus-trap": "^7.6.4",

public/app.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"/app.js": "/app.js?id=a96a6e9f8ac73b0780f4a029bc70fb0f",
2+
"/app.js": "/app.js?id=e5c8eefb40c0ee0c56bbd3a8b1442889",
33
"/ui.js": "/ui.js?id=592866a715b1c20b43fff6ca7980b279",
44
"/manifest.js": "/manifest.js?id=3267e5c99fd7b729e2f38ec55b50397d",
55
"/app.css": "/app.css?id=4ac240e9b4c482451bf95d4161751414",
6-
"/vendor.js": "/vendor.js?id=555c263ac13aeaaebf547d2e8fe6a894",
6+
"/vendor.js": "/vendor.js?id=d4575477537b83268fdef08ed2409b9d",
77
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty10iurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty10iurt9w6fk2a.woff2?id=c8390e146be0a3c8a5498355dec892ae",
88
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty14iurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty14iurt9w6fk2a.woff2?id=b0735c7dd6126471acbaf9d6e9f5e41a",
99
"/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty1ciurt9w6fk2a.woff2": "/fonts/snunitosansv11pe01mimslybiv1o4x1m8cce4g1pty1ciurt9w6fk2a.woff2?id=7c1fb232e3050e36dcc1aee61f1d0c06",

public/vendor.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/composables/useActions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { Errors } from '@/mixins'
22
import { computed, nextTick, reactive } from 'vue'
33
import filter from 'lodash/filter'
44
import isObject from 'lodash/isObject'
5+
import range from 'lodash/range'
56
import tap from 'lodash/tap'
67
import trim from 'lodash/trim'
78
import { useLocalization } from '@/composables/useLocalization'
@@ -190,7 +191,7 @@ export function useActions(props, emitter, store) {
190191
handleActionResponse(response.data, response.headers, then)
191192
})
192193
.catch(error => {
193-
if (error.response && error.response.status === 422) {
194+
if (error.response && range(400, 500).includes(error.response.status)) {
194195
if (responseType === 'blob') {
195196
error.response.data.text().then(data => {
196197
state.errors = new Errors(JSON.parse(data).errors)

resources/js/views/Attach.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,8 @@ export default {
466466
467467
this.disableNavigateBackUsingHistory()
468468
469+
Nova.success(this.__('The resource was attached!'))
470+
469471
this.submittedViaAttachAndAttachAnother = false
470472
471473
await this.fetchPolicies()

webpack.mix.js.dist

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ let tailwindcss = require('tailwindcss')
44
let path = require('path')
55
let postcssImport = require('postcss-import')
66
let postcssRtlcss = require('postcss-rtlcss')
7-
let packages = require('./package.json')
87

98
/*
109
|--------------------------------------------------------------------------
@@ -22,7 +21,7 @@ mix
2221
.ts('resources/ui/ui.js', 'public/ui.js')
2322
.vue({ version: 3 })
2423
// .sourceMaps()
25-
.extract(Object.keys(packages.dependencies))
24+
.extract()
2625
.setPublicPath('public')
2726
.postCss('resources/css/app.css', 'public', [
2827
postcssImport(),

0 commit comments

Comments
 (0)