apostrophe 4.26.1-alpha.1 → 4.26.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 4.26.1
|
|
3
|
+
## 4.26.1
|
|
4
4
|
|
|
5
5
|
### Fixes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- No changes. Published to reset the `latest` tag in `npm`, which inadvertently pointed to an alpha release for a brief period of time.
|
|
8
8
|
|
|
9
9
|
## 4.26.0
|
|
10
10
|
|
|
@@ -1152,18 +1152,6 @@ module.exports = {
|
|
|
1152
1152
|
};
|
|
1153
1153
|
return _super(req, _widget, options, _with);
|
|
1154
1154
|
},
|
|
1155
|
-
annotateWidgetForExternalFront(_super, widget, { scene } = {}) {
|
|
1156
|
-
if (scene !== 'apos') {
|
|
1157
|
-
let content = widget.content || '';
|
|
1158
|
-
content = self.linkPermalinks(widget, content);
|
|
1159
|
-
content = self.linkImages(widget, content);
|
|
1160
|
-
// It should be safe to modify the widget data here because
|
|
1161
|
-
// the external front-end data is read-only. The Admin UI
|
|
1162
|
-
// and actual data is not affected.
|
|
1163
|
-
widget.content = content;
|
|
1164
|
-
}
|
|
1165
|
-
return _super(widget, { scene });
|
|
1166
|
-
},
|
|
1167
1155
|
// Add on the core default options to use, if needed.
|
|
1168
1156
|
getBrowserData(_super, req) {
|
|
1169
1157
|
const initialData = _super(req);
|
package/package.json
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apostrophe",
|
|
3
|
-
"version": "4.26.1
|
|
3
|
+
"version": "4.26.1",
|
|
4
4
|
"description": "The Apostrophe Content Management System.",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"pretest": "npm run lint",
|
|
8
|
+
"test": "npm run test:base && npm run test:missing && npm run test:assets && npm run test:esm",
|
|
9
|
+
"test:base": "nyc mocha -t 10000 --ignore=test/assets.js",
|
|
10
|
+
"test:missing": "nyc mocha -t 10000 test/add-missing-schema-fields-project/test.js",
|
|
11
|
+
"test:assets": "nyc mocha -t 10000 test/assets.js",
|
|
12
|
+
"test:esm": "mocha -t 1000 test/esm-project/esm.js",
|
|
13
|
+
"eslint": "eslint .",
|
|
14
|
+
"eslint-fix": "npm run eslint -- --fix",
|
|
15
|
+
"i18n": "node scripts/lint-i18n",
|
|
16
|
+
"stylelint": "stylelint modules/**/*.{scss,vue}",
|
|
17
|
+
"lint": "npm run eslint && npm run i18n && npm run stylelint",
|
|
18
|
+
"mocha": "mocha"
|
|
19
|
+
},
|
|
6
20
|
"repository": {
|
|
7
21
|
"type": "git",
|
|
8
22
|
"url": "https://github.com/apostrophecms/apostrophe.git",
|
|
@@ -24,6 +38,7 @@
|
|
|
24
38
|
"author": "Apostrophe Technologies, Inc.",
|
|
25
39
|
"license": "MIT",
|
|
26
40
|
"dependencies": {
|
|
41
|
+
"@apostrophecms/emulate-mongo-3-driver": "workspace:^",
|
|
27
42
|
"@apostrophecms/vue-material-design-icons": "^1.0.0",
|
|
28
43
|
"@ctrl/tinycolor": "^4.1.0",
|
|
29
44
|
"@floating-ui/dom": "^1.5.3",
|
|
@@ -50,6 +65,8 @@
|
|
|
50
65
|
"autoprefixer": "^10.4.1",
|
|
51
66
|
"bluebird": "^3.7.2",
|
|
52
67
|
"body-parser": "^1.18.2",
|
|
68
|
+
"boring": "workspace:^",
|
|
69
|
+
"broadband": "workspace:^",
|
|
53
70
|
"cheerio": "^1.0.0-rc.10",
|
|
54
71
|
"chokidar": "^3.5.2",
|
|
55
72
|
"common-tags": "^1.8.0",
|
|
@@ -65,6 +82,7 @@
|
|
|
65
82
|
"encodeurl": "^2.0.0",
|
|
66
83
|
"express": "^4.16.4",
|
|
67
84
|
"express-bearer-token": "^3.0.0",
|
|
85
|
+
"express-cache-on-demand": "workspace:^",
|
|
68
86
|
"express-session": "^1.18.2",
|
|
69
87
|
"fs-extra": "^7.0.1",
|
|
70
88
|
"glob": "^10.4.5",
|
|
@@ -96,6 +114,7 @@
|
|
|
96
114
|
"postcss-html": "^1.3.0",
|
|
97
115
|
"postcss-loader": "^8.1.1",
|
|
98
116
|
"postcss-scss": "^4.0.3",
|
|
117
|
+
"postcss-viewport-to-container-toggle": "workspace:^",
|
|
99
118
|
"prompts": "^2.4.1",
|
|
100
119
|
"qs": "^6.10.1",
|
|
101
120
|
"regexp-quote": "0.0.0",
|
|
@@ -119,37 +138,18 @@
|
|
|
119
138
|
"vue-style-loader": "^4.1.3",
|
|
120
139
|
"webpack": "^5.72.0",
|
|
121
140
|
"webpack-merge": "^5.7.3",
|
|
122
|
-
"xregexp": "^2.0.0"
|
|
123
|
-
"@apostrophecms/emulate-mongo-3-driver": "^1.0.6",
|
|
124
|
-
"broadband": "^1.1.0",
|
|
125
|
-
"express-cache-on-demand": "^1.0.4",
|
|
126
|
-
"boring": "^1.1.1",
|
|
127
|
-
"postcss-viewport-to-container-toggle": "^2.2.0"
|
|
141
|
+
"xregexp": "^2.0.0"
|
|
128
142
|
},
|
|
129
143
|
"devDependencies": {
|
|
130
144
|
"eslint": "^9.39.1",
|
|
145
|
+
"eslint-config-apostrophe": "workspace:^",
|
|
131
146
|
"form-data": "^4.0.4",
|
|
132
147
|
"mocha": "^11.7.1",
|
|
133
148
|
"nyc": "^17.1.0",
|
|
134
149
|
"stylelint": "^16.5.0",
|
|
135
|
-
"
|
|
136
|
-
"stylelint-config-apostrophe": "^4.4.0"
|
|
150
|
+
"stylelint-config-apostrophe": "workspace:^"
|
|
137
151
|
},
|
|
138
152
|
"browserslist": [
|
|
139
153
|
"ie >= 10"
|
|
140
|
-
]
|
|
141
|
-
|
|
142
|
-
"pretest": "npm run lint",
|
|
143
|
-
"test": "npm run test:base && npm run test:missing && npm run test:assets && npm run test:esm",
|
|
144
|
-
"test:base": "nyc mocha -t 10000 --ignore=test/assets.js",
|
|
145
|
-
"test:missing": "nyc mocha -t 10000 test/add-missing-schema-fields-project/test.js",
|
|
146
|
-
"test:assets": "nyc mocha -t 10000 test/assets.js",
|
|
147
|
-
"test:esm": "mocha -t 1000 test/esm-project/esm.js",
|
|
148
|
-
"eslint": "eslint .",
|
|
149
|
-
"eslint-fix": "npm run eslint -- --fix",
|
|
150
|
-
"i18n": "node scripts/lint-i18n",
|
|
151
|
-
"stylelint": "stylelint modules/**/*.{scss,vue}",
|
|
152
|
-
"lint": "npm run eslint && npm run i18n && npm run stylelint",
|
|
153
|
-
"mocha": "mocha"
|
|
154
|
-
}
|
|
155
|
-
}
|
|
154
|
+
]
|
|
155
|
+
}
|
|
File without changes
|