xshell 1.0.159 → 1.0.161
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/package.json +1 -1
- package/polyfill.browser.js +0 -22
- package/xlint.js +11 -1
package/package.json
CHANGED
package/polyfill.browser.js
CHANGED
|
@@ -29,27 +29,5 @@ if (!Array.prototype.at)
|
|
|
29
29
|
define(Array.prototype, 'at', function at(index) {
|
|
30
30
|
return index >= 0 ? this[index] : this[index + this.length];
|
|
31
31
|
});
|
|
32
|
-
// @ts-ignore
|
|
33
|
-
if (!Iterator.prototype.map)
|
|
34
|
-
define(
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
Iterator.prototype, 'map',
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
function iterator_map(callback) {
|
|
39
|
-
const iterator = this;
|
|
40
|
-
let index = 0;
|
|
41
|
-
return {
|
|
42
|
-
[Symbol.iterator]() {
|
|
43
|
-
return this;
|
|
44
|
-
},
|
|
45
|
-
next() {
|
|
46
|
-
const { value, done } = iterator.next();
|
|
47
|
-
if (done)
|
|
48
|
-
return { value: undefined, done: true };
|
|
49
|
-
else
|
|
50
|
-
return { value: callback(value, index++), done: false };
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
|
-
});
|
|
54
32
|
export {};
|
|
55
33
|
//# sourceMappingURL=polyfill.browser.js.map
|
package/xlint.js
CHANGED
|
@@ -871,7 +871,17 @@ export const xlint_config = {
|
|
|
871
871
|
'import/order': [
|
|
872
872
|
'error',
|
|
873
873
|
{
|
|
874
|
-
'newlines-between': 'always-and-inside-groups'
|
|
874
|
+
'newlines-between': 'always-and-inside-groups',
|
|
875
|
+
pathGroups: [
|
|
876
|
+
{
|
|
877
|
+
pattern: '@/**',
|
|
878
|
+
group: 'parent'
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
pattern: '@i18n/**',
|
|
882
|
+
group: 'parent'
|
|
883
|
+
}
|
|
884
|
+
]
|
|
875
885
|
}
|
|
876
886
|
]
|
|
877
887
|
}
|