@so1ve/prettier-plugin-toml 3.20.2 → 3.22.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 +6 -8
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5,9 +5,7 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var
|
|
9
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
|
-
};
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
11
9
|
var __copyProps = (to, from, except, desc) => {
|
|
12
10
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
11
|
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
@@ -29,7 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
27
|
|
|
30
28
|
//#endregion
|
|
31
29
|
//#region ../../node_modules/.pnpm/@taplo+lib@0.5.0/node_modules/@taplo/lib/dist/index.js
|
|
32
|
-
var require_dist = /* @__PURE__ */
|
|
30
|
+
var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
33
31
|
(function(Z, U) {
|
|
34
32
|
typeof exports == "object" && typeof module < "u" ? U(exports) : typeof define == "function" && define.amd ? define(["exports"], U) : (Z = typeof globalThis < "u" ? globalThis : Z || self, U(Z.taplo = {}));
|
|
35
33
|
})(exports, function(Z) {
|
|
@@ -755,10 +753,10 @@ ${I.stack}` : C;
|
|
|
755
753
|
}
|
|
756
754
|
Z.Taplo = M;
|
|
757
755
|
});
|
|
758
|
-
})
|
|
756
|
+
}));
|
|
759
757
|
|
|
760
758
|
//#endregion
|
|
761
|
-
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.6_prettier@3.
|
|
759
|
+
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.6_prettier@3.7.4/node_modules/prettier-plugin-toml/lib/languages.js
|
|
762
760
|
var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1);
|
|
763
761
|
const languages = [{
|
|
764
762
|
"name": "TOML",
|
|
@@ -782,7 +780,7 @@ const languages = [{
|
|
|
782
780
|
}];
|
|
783
781
|
|
|
784
782
|
//#endregion
|
|
785
|
-
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.6_prettier@3.
|
|
783
|
+
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.6_prettier@3.7.4/node_modules/prettier-plugin-toml/lib/options.js
|
|
786
784
|
const prettierOptionsDefinitions = {
|
|
787
785
|
alignEntries: {
|
|
788
786
|
name: "alignEntries",
|
|
@@ -864,7 +862,7 @@ const prettierOptionsDefinitions = {
|
|
|
864
862
|
};
|
|
865
863
|
|
|
866
864
|
//#endregion
|
|
867
|
-
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.6_prettier@3.
|
|
865
|
+
//#region ../../node_modules/.pnpm/prettier-plugin-toml@2.0.6_prettier@3.7.4/node_modules/prettier-plugin-toml/lib/index.js
|
|
868
866
|
const PLUGIN_NAME = "toml";
|
|
869
867
|
let taploIns;
|
|
870
868
|
async function format(code, options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@so1ve/prettier-plugin-toml",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"author": "Ray <i@mk1.io> (https://github.com/so1ve)",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Ray <i@mk1.io> (https://github.com/so1ve)"
|
|
@@ -34,6 +34,6 @@
|
|
|
34
34
|
"prettier-plugin-toml": "^2.0.6"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"prettier": "^3.
|
|
37
|
+
"prettier": "^3.7.4"
|
|
38
38
|
}
|
|
39
39
|
}
|