Skip to content

Commit 38602bd

Browse files
Tomi TavelaTomi Tavela
authored andcommitted
disabled cache, version update, ready to ship
1 parent d6ae0cc commit 38602bd

File tree

6 files changed

+13
-7
lines changed

6 files changed

+13
-7
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sp-editor",
3-
"version": "6.0.3",
3+
"version": "6.0.4",
44
"private": true,
55
"dependencies": {
66
"@ionic/react": "^5.0.7",
@@ -66,7 +66,7 @@
6666
"gulp-rename": "^2.0.0",
6767
"gulp-replace": "^1.0.0",
6868
"redux-devtools-extension": "^2.13.8",
69-
"ts-loader": "^6.2.2",
69+
"ts-loader": "^7.0.0",
7070
"tslint": "^6.1.1",
7171
"tslint-eslint-rules": "^5.4.0",
7272
"tslint-react": "^4.2.0",

public/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "SP Editor",
33
"homepage_url": "https://microsoftedge.microsoft.com/addons/detail/affnnhcbfmcbbdlcadgkdbfafigmjdkk",
4-
"version": "6.0.3",
4+
"version": "6.0.4",
55
"description": "Create and update SharePoint Online/SP2013/SP2016/SP2019 css/js files, inject files to web, manage web/list properties, list Webhook",
66
"icons": {
77
"16": "icons/icon16.png",

src/pages/listproperties/chrome/createlistproperty.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ export function createListProperty(...args: any) {
9292
Accept: '*/*',
9393
'Content-Type': 'text/xml;charset="UTF-8"',
9494
'X-Requested-With': 'XMLHttpRequest',
95+
'Cache-Control': 'no-cache',
9596
},
9697
body: listPropertyPayload(key, value, listId),
9798
})
@@ -138,6 +139,7 @@ export function createListProperty(...args: any) {
138139
Accept: '*/*',
139140
'Content-Type': 'text/xml;charset="UTF-8"',
140141
'X-Requested-With': 'XMLHttpRequest',
142+
'Cache-Control': 'no-cache',
141143
},
142144
body: listPropertyPayload('vti_indexedpropertykeys', newIndexValue, listId),
143145
})

src/pages/listproperties/chrome/deletelistproperty.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export function deleteListProperty(...args: any) {
9090
Accept: '*/*',
9191
'Content-Type': 'text/xml;charset="UTF-8"',
9292
'X-Requested-With': 'XMLHttpRequest',
93+
'Cache-Control': 'no-cache',
9394
},
9495
body: listPropertyPayload(key, '', listId, true),
9596
})
@@ -126,6 +127,7 @@ export function deleteListProperty(...args: any) {
126127
Accept: '*/*',
127128
'Content-Type': 'text/xml;charset="UTF-8"',
128129
'X-Requested-With': 'XMLHttpRequest',
130+
'Cache-Control': 'no-cache',
129131
},
130132
body: listPropertyPayload('vti_indexedpropertykeys', newIndexValue, listId, false),
131133
}).then(r2 => r2.json())

src/pages/webproperties/chrome/deletewebproperties.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export function deleteWebProperties(...args: any) {
9494
Accept: '*/*',
9595
'Content-Type': 'text/xml;charset="UTF-8"',
9696
'X-Requested-With': 'XMLHttpRequest',
97+
'Cache-Control': 'no-cache',
9798
},
9899
body: payload,
99100
}).then((r) => r.json())
@@ -167,6 +168,7 @@ export function deleteWebProperties(...args: any) {
167168
Accept: '*/*',
168169
'Content-Type': 'text/xml;charset="UTF-8"',
169170
'X-Requested-With': 'XMLHttpRequest',
171+
'Cache-Control': 'no-cache',
170172
},
171173
body: payload2,
172174
}).then((r2) => r2.json())

0 commit comments

Comments
 (0)