@rspress/shared 1.14.0 → 1.15.0

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/dist/index.js CHANGED
@@ -1151,7 +1151,6 @@ function normalizePosixPath(id) {
1151
1151
  const normalizedParts = [];
1152
1152
  for (const part of parts) {
1153
1153
  if (part === "." || part === "") {
1154
- continue;
1155
1154
  } else if (part === "..") {
1156
1155
  if (normalizedParts.length > 0 && normalizedParts[normalizedParts.length - 1] !== "..") {
1157
1156
  normalizedParts.pop();
package/dist/index.mjs CHANGED
@@ -1093,7 +1093,6 @@ function normalizePosixPath(id) {
1093
1093
  const normalizedParts = [];
1094
1094
  for (const part of parts) {
1095
1095
  if (part === "." || part === "") {
1096
- continue;
1097
1096
  } else if (part === "..") {
1098
1097
  if (normalizedParts.length > 0 && normalizedParts[normalizedParts.length - 1] !== "..") {
1099
1098
  normalizedParts.pop();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",