@moneko/solid 1.7.6 → 1.7.7

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.
@@ -1,3 +1,3 @@
1
- import { type Location } from '@solidjs/router';
1
+ import type { Location } from '@solidjs/router';
2
2
  declare function getPathName(location: Location): string;
3
3
  export default getPathName;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/get-pathname.ts"],"sourcesContent":["import { type Location } from '@solidjs/router';\nimport app from '@app/info';\n\nconst len = app.base.length;\nconst prefix = len > 1 ? (app.base.endsWith('/') ? len : len + 1) : len;\n\nfunction getPathName(location: Location) {\n return location.pathname.substring(prefix);\n}\n\nexport default getPathName;\n"],"names":["app","len","base","length","prefix","endsWith","location","pathname","substring"],"rangeMappings":"","mappings":"AACA,OAAOA,MAAS,WAAY,CAE5B,IAAMC,EAAMD,EAAIE,IAAI,CAACC,MAAM,CACrBC,EAASH,EAAM,EAAKD,EAAIE,IAAI,CAACG,QAAQ,CAAC,KAAOJ,EAAMA,EAAM,EAAKA,CAMpE,gBAJA,SAAqBK,CAAkB,EACrC,OAAOA,EAASC,QAAQ,CAACC,SAAS,CAACJ,EACrC"}
1
+ {"version":3,"sources":["../src/get-pathname.ts"],"sourcesContent":["import type { Location } from '@solidjs/router';\nimport app from '@app/info';\n\nconst len = app.base.length;\nconst prefix = len > 1 ? (app.base.endsWith('/') ? len : len + 1) : len;\n\nfunction getPathName(location: Location) {\n return location.pathname.substring(prefix);\n}\n\nexport default getPathName;\n"],"names":["app","len","base","length","prefix","endsWith","location","pathname","substring"],"rangeMappings":"","mappings":"AACA,OAAOA,MAAS,WAAY,CAE5B,IAAMC,EAAMD,EAAIE,IAAI,CAACC,MAAM,CACrBC,EAASH,EAAM,EAAKD,EAAIE,IAAI,CAACG,QAAQ,CAAC,KAAOJ,EAAMA,EAAM,EAAKA,CAMpE,gBAJA,SAAqBK,CAAkB,EACrC,OAAOA,EAASC,QAAQ,CAACC,SAAS,CAACJ,EACrC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneko/solid",
3
- "version": "1.7.6",
3
+ "version": "1.7.7",
4
4
  "description": "Solid js",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -12,15 +12,15 @@
12
12
  "type": "module",
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@moneko/jsx-dom-expressions": "0.4.0",
15
+ "@moneko/jsx-dom-expressions": "0.5.0",
16
16
  "@solidjs/router": "0.10.8"
17
17
  },
18
18
  "devDependencies": {
19
- "@moneko/transform-imports": "0.4.0",
19
+ "@moneko/transform-imports": "0.5.1",
20
20
  "@swc/cli": "0.3.12",
21
- "@swc/core": "1.4.11",
22
- "solid-js": "1.8.16",
23
- "typescript": "5.3.3"
21
+ "@swc/core": "1.5.0",
22
+ "solid-js": "1.8.17",
23
+ "typescript": "5.4.5"
24
24
  },
25
25
  "files": [
26
26
  "lib",