@h3ravel/console 11.6.1 → 11.7.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/bin/fire.cjs +8 -26
- package/bin/fire.js +8 -26
- package/dist/index.cjs +18 -108
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -31
- package/dist/index.d.ts +6 -31
- package/dist/index.js +20 -107
- package/dist/index.js.map +1 -1
- package/package.json +4 -5
- package/dist/Utils-CbqNJtIj.d.ts +0 -10
- package/dist/Utils-CxAcuqeI.d.cts +0 -10
- package/dist/Utils-D6ZDNdVG.cjs +0 -33
- package/dist/Utils-D6ZDNdVG.cjs.map +0 -1
- package/dist/Utils-Dn22CO9s.js +0 -21
- package/dist/Utils-Dn22CO9s.js.map +0 -1
- package/dist/Utils.cjs +0 -4
- package/dist/Utils.d.cts +0 -2
- package/dist/Utils.d.ts +0 -2
- package/dist/Utils.js +0 -3
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Utils-Dn22CO9s.js","names":[],"sources":["../src/Utils.ts"],"sourcesContent":["export class Utils {\n}\n\nclass TableGuesser {\n static CREATE_PATTERNS = [\n /^create_(\\w+)_table$/,\n /^create_(\\w+)$/\n ]\n static CHANGE_PATTERNS = [\n /.+_(to|from|in)_(\\w+)_table$/,\n /.+_(to|from|in)_(\\w+)$/\n ]\n static guess (migration: string) {\n for (const pattern of TableGuesser.CREATE_PATTERNS) {\n const matches = migration.match(pattern)\n if (matches) {\n return [matches[1], true]\n }\n }\n for (const pattern of TableGuesser.CHANGE_PATTERNS) {\n const matches = migration.match(pattern)\n if (matches) {\n return [matches[2], false]\n }\n }\n return []\n }\n}\n\nexport { TableGuesser }\n"],"mappings":";AAAA,IAAa,QAAb,MAAmB;AAGnB,IAAM,eAAN,MAAM,aAAa;CACjB,OAAO,kBAAkB,CACvB,wBACA,iBACD;CACD,OAAO,kBAAkB,CACvB,gCACA,yBACD;CACD,OAAO,MAAO,WAAmB;AAC/B,OAAK,MAAM,WAAW,aAAa,iBAAiB;GAClD,MAAM,UAAU,UAAU,MAAM,QAAQ;AACxC,OAAI,QACF,QAAO,CAAC,QAAQ,IAAI,KAAK;;AAG7B,OAAK,MAAM,WAAW,aAAa,iBAAiB;GAClD,MAAM,UAAU,UAAU,MAAM,QAAQ;AACxC,OAAI,QACF,QAAO,CAAC,QAAQ,IAAI,MAAM;;AAG9B,SAAO,EAAE"}
|
package/dist/Utils.cjs
DELETED
package/dist/Utils.d.cts
DELETED
package/dist/Utils.d.ts
DELETED
package/dist/Utils.js
DELETED