@turnipxenon/pineapple 2.4.45 → 2.4.46

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.
@@ -4,9 +4,7 @@
4
4
  <option name="autoReloadType" value="SELECTIVE" />
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
- <list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Add serverSideQueryParams in SeaweedTemplate">
8
- <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" afterDir="false" />
9
- </list>
7
+ <list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Fix removeProxyWrapperOnString" />
10
8
  <option name="SHOW_DIALOG" value="false" />
11
9
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
12
10
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -78,7 +76,13 @@
78
76
  </component>
79
77
  <component name="JsbtTreeLayoutManager">
80
78
  <layout place="tools.popupnpm">
81
- <scroll-view-position x="14" y="0" />
79
+ <scroll-view-position x="14" y="56" />
80
+ <selected-paths>
81
+ <path>
82
+ <id value="$PROJECT_DIR$/../speenus/package.json" />
83
+ <id value="generate-yarn" />
84
+ </path>
85
+ </selected-paths>
82
86
  </layout>
83
87
  </component>
84
88
  <component name="MarkdownSettingsMigration">
@@ -313,23 +317,8 @@
313
317
  <workItem from="1712394565984" duration="11441000" />
314
318
  <workItem from="1712408962568" duration="3077000" />
315
319
  <workItem from="1712420658777" duration="5492000" />
316
- <workItem from="1712469166120" duration="5232000" />
317
- </task>
318
- <task id="LOCAL-00107" summary="Set queryParams based on index and pageSize">
319
- <option name="closed" value="true" />
320
- <created>1711487464414</created>
321
- <option name="number" value="00107" />
322
- <option name="presentableId" value="LOCAL-00107" />
323
- <option name="project" value="LOCAL" />
324
- <updated>1711487464414</updated>
325
- </task>
326
- <task id="LOCAL-00108" summary="Export NavigationComponent">
327
- <option name="closed" value="true" />
328
- <created>1711487908874</created>
329
- <option name="number" value="00108" />
330
- <option name="presentableId" value="LOCAL-00108" />
331
- <option name="project" value="LOCAL" />
332
- <updated>1711487908874</updated>
320
+ <workItem from="1712469166120" duration="5613000" />
321
+ <workItem from="1712474982019" duration="168000" />
333
322
  </task>
334
323
  <task id="LOCAL-00109" summary="Add a way to hide an entry in NavigationComponent">
335
324
  <option name="closed" value="true" />
@@ -707,7 +696,23 @@
707
696
  <option name="project" value="LOCAL" />
708
697
  <updated>1712474224504</updated>
709
698
  </task>
710
- <option name="localTasksCounter" value="156" />
699
+ <task id="LOCAL-00156" summary="Add serverSideQueryParams and extraComponent in SeaweedTemplate">
700
+ <option name="closed" value="true" />
701
+ <created>1712474458161</created>
702
+ <option name="number" value="00156" />
703
+ <option name="presentableId" value="LOCAL-00156" />
704
+ <option name="project" value="LOCAL" />
705
+ <updated>1712474458161</updated>
706
+ </task>
707
+ <task id="LOCAL-00157" summary="Fix removeProxyWrapperOnString">
708
+ <option name="closed" value="true" />
709
+ <created>1712475111869</created>
710
+ <option name="number" value="00157" />
711
+ <option name="presentableId" value="LOCAL-00157" />
712
+ <option name="project" value="LOCAL" />
713
+ <updated>1712475111869</updated>
714
+ </task>
715
+ <option name="localTasksCounter" value="158" />
711
716
  <servers />
712
717
  </component>
713
718
  <component name="TypeScriptGeneratedFilesManager">
@@ -765,8 +770,6 @@
765
770
  </option>
766
771
  </component>
767
772
  <component name="VcsManagerConfiguration">
768
- <MESSAGE value="Add fun query param" />
769
- <MESSAGE value="Write vercel to azure migration" />
770
773
  <MESSAGE value="Remove vercel module" />
771
774
  <MESSAGE value="Convert npm to yarn" />
772
775
  <MESSAGE value="Change from auto to node adapter" />
@@ -790,6 +793,8 @@
790
793
  <MESSAGE value="Extract EntryOrderConfig" />
791
794
  <MESSAGE value="Add group swapping" />
792
795
  <MESSAGE value="Add serverSideQueryParams in SeaweedTemplate" />
793
- <option name="LAST_COMMIT_MESSAGE" value="Add serverSideQueryParams in SeaweedTemplate" />
796
+ <MESSAGE value="Add serverSideQueryParams and extraComponent in SeaweedTemplate" />
797
+ <MESSAGE value="Fix removeProxyWrapperOnString" />
798
+ <option name="LAST_COMMIT_MESSAGE" value="Fix removeProxyWrapperOnString" />
794
799
  </component>
795
800
  </project>
@@ -1,3 +1,8 @@
1
1
  export const removeProxyWrapperOnString = (wrapped) => {
2
- return wrapped.slice("Proxy<".length, wrapped.length - 1);
2
+ if (!wrapped.includes("Proxy")) {
3
+ return wrapped;
4
+ }
5
+ else {
6
+ return wrapped.slice("Proxy<".length, wrapped.length - 1);
7
+ }
3
8
  };
@@ -166,7 +166,6 @@ declare module '$env/static/private' {
166
166
  export const PUBLIC: string;
167
167
  export const PWD: string;
168
168
  export const PyCharm: string;
169
- export const SESSIONNAME: string;
170
169
  export const SHLVL: string;
171
170
  export const SYSTEMDRIVE: string;
172
171
  export const SYSTEMROOT: string;
@@ -360,7 +359,6 @@ declare module '$env/dynamic/private' {
360
359
  PUBLIC: string;
361
360
  PWD: string;
362
361
  PyCharm: string;
363
- SESSIONNAME: string;
364
362
  SHLVL: string;
365
363
  SYSTEMDRIVE: string;
366
364
  SYSTEMROOT: string;
@@ -21,7 +21,7 @@ export const options = {
21
21
  app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width\" />\n\t\t" + head + "\n\t</head>\n\n\t<body data-sveltekit-preload-data=\"hover\" data-theme=\"crimson\">\n\t\t<div style=\"display: contents\" class=\"h-full overflow-hidden\">" + body + "</div>\n\t</body>\n</html>\n",
22
22
  error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
23
23
  },
24
- version_hash: "1j9tmb9"
24
+ version_hash: "surojh"
25
25
  };
26
26
 
27
27
  export async function get_hooks() {
@@ -1,3 +1,8 @@
1
1
  export const removeProxyWrapperOnString = (wrapped) => {
2
- return wrapped.slice("Proxy<".length, wrapped.length - 1);
2
+ if (!wrapped.includes("Proxy")) {
3
+ return wrapped;
4
+ }
5
+ else {
6
+ return wrapped.slice("Proxy<".length, wrapped.length - 1);
7
+ }
3
8
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@turnipxenon/pineapple",
3
3
  "description": "personal package for base styling for other personal projects",
4
- "version": "2.4.45",
4
+ "version": "2.4.46",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "npm run check-requirements && vite build && yarn package",
@@ -1,3 +1,7 @@
1
1
  export const removeProxyWrapperOnString = (wrapped: string): string => {
2
- return wrapped.slice("Proxy<".length, wrapped.length - 1);
2
+ if (!wrapped.includes("Proxy")) {
3
+ return wrapped;
4
+ } else {
5
+ return wrapped.slice("Proxy<".length, wrapped.length - 1);
6
+ }
3
7
  };