eslint-plugin-sdl-2 1.2.4 → 1.2.5
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/plugin.cjs +14 -14
- package/dist/plugin.cjs.map +2 -2
- package/dist/plugin.js +13 -13
- package/dist/plugin.js.map +1 -1
- package/package.json +1 -1
package/dist/plugin.cjs
CHANGED
|
@@ -42,7 +42,7 @@ var securityPluginModule = __toESM(require("eslint-plugin-security"), 1);
|
|
|
42
42
|
var package_default = {
|
|
43
43
|
$schema: "https://www.schemastore.org/package.json",
|
|
44
44
|
name: "eslint-plugin-sdl-2",
|
|
45
|
-
version: "1.2.
|
|
45
|
+
version: "1.2.5",
|
|
46
46
|
private: false,
|
|
47
47
|
description: "ESLint plugin providing SDL-focused security and platform hardening rules.",
|
|
48
48
|
keywords: [
|
|
@@ -5563,7 +5563,7 @@ var createNamedConfig = (name, config = {}) => ({
|
|
|
5563
5563
|
name
|
|
5564
5564
|
});
|
|
5565
5565
|
var createAngularConfig = (plugin) => [
|
|
5566
|
-
createNamedConfig("SDL Angular Security", {
|
|
5566
|
+
createNamedConfig("\u{1F510} SDL: Angular Security", {
|
|
5567
5567
|
plugins: {
|
|
5568
5568
|
sdl: plugin
|
|
5569
5569
|
},
|
|
@@ -5576,7 +5576,7 @@ var createAngularConfig = (plugin) => [
|
|
|
5576
5576
|
})
|
|
5577
5577
|
];
|
|
5578
5578
|
var createAngularJsConfig = (plugin) => [
|
|
5579
|
-
createNamedConfig("SDL AngularJS Security", {
|
|
5579
|
+
createNamedConfig("\u{1F510} SDL: AngularJS Security", {
|
|
5580
5580
|
plugins: {
|
|
5581
5581
|
sdl: plugin
|
|
5582
5582
|
},
|
|
@@ -5590,7 +5590,7 @@ var createAngularJsConfig = (plugin) => [
|
|
|
5590
5590
|
})
|
|
5591
5591
|
];
|
|
5592
5592
|
var createCommonConfig = (plugin) => [
|
|
5593
|
-
createNamedConfig("SDL Common Web Security", {
|
|
5593
|
+
createNamedConfig("\u{1F510} SDL: Common Web Security", {
|
|
5594
5594
|
plugins: {
|
|
5595
5595
|
sdl: plugin
|
|
5596
5596
|
},
|
|
@@ -5631,7 +5631,7 @@ var createCommonConfig = (plugin) => [
|
|
|
5631
5631
|
})
|
|
5632
5632
|
];
|
|
5633
5633
|
var createElectronConfig = (plugin) => [
|
|
5634
|
-
createNamedConfig("SDL Electron Security", {
|
|
5634
|
+
createNamedConfig("\u{1F510} SDL: Electron Security", {
|
|
5635
5635
|
plugins: {
|
|
5636
5636
|
sdl: plugin
|
|
5637
5637
|
},
|
|
@@ -5660,7 +5660,7 @@ var createElectronConfig = (plugin) => [
|
|
|
5660
5660
|
})
|
|
5661
5661
|
];
|
|
5662
5662
|
var createNodeConfig = (plugin) => [
|
|
5663
|
-
createNamedConfig("SDL Node.js Runtime Safety", {
|
|
5663
|
+
createNamedConfig("\u{1F510} SDL: Node.js Runtime Safety", {
|
|
5664
5664
|
plugins: {
|
|
5665
5665
|
n: nodeEslintPlugin
|
|
5666
5666
|
},
|
|
@@ -5668,7 +5668,7 @@ var createNodeConfig = (plugin) => [
|
|
|
5668
5668
|
"n/no-deprecated-api": "error"
|
|
5669
5669
|
}
|
|
5670
5670
|
}),
|
|
5671
|
-
createNamedConfig("SDL Node.js Security", {
|
|
5671
|
+
createNamedConfig("\u{1F510} SDL: Node.js Security", {
|
|
5672
5672
|
plugins: {
|
|
5673
5673
|
sdl: plugin
|
|
5674
5674
|
},
|
|
@@ -5689,7 +5689,7 @@ var createNodeConfig = (plugin) => [
|
|
|
5689
5689
|
})
|
|
5690
5690
|
];
|
|
5691
5691
|
var createReactConfig = (plugin) => [
|
|
5692
|
-
createNamedConfig("SDL React JSX Support", {
|
|
5692
|
+
createNamedConfig("\u{1F510} SDL: React JSX Support", {
|
|
5693
5693
|
languageOptions: {
|
|
5694
5694
|
parserOptions: {
|
|
5695
5695
|
ecmaFeatures: {
|
|
@@ -5698,14 +5698,14 @@ var createReactConfig = (plugin) => [
|
|
|
5698
5698
|
}
|
|
5699
5699
|
}
|
|
5700
5700
|
}),
|
|
5701
|
-
createNamedConfig("SDL React Security", {
|
|
5701
|
+
createNamedConfig("\u{1F510} SDL: React Security", {
|
|
5702
5702
|
plugins: {
|
|
5703
5703
|
sdl: plugin
|
|
5704
5704
|
}
|
|
5705
5705
|
})
|
|
5706
5706
|
];
|
|
5707
5707
|
var createTypeScriptConfig = (plugin) => [
|
|
5708
|
-
createNamedConfig("SDL TypeScript Parser Support", {
|
|
5708
|
+
createNamedConfig("\u{1F510} SDL: TypeScript Parser Support", {
|
|
5709
5709
|
languageOptions: {
|
|
5710
5710
|
parserOptions: {
|
|
5711
5711
|
ecmaVersion: "latest",
|
|
@@ -5713,7 +5713,7 @@ var createTypeScriptConfig = (plugin) => [
|
|
|
5713
5713
|
}
|
|
5714
5714
|
}
|
|
5715
5715
|
}),
|
|
5716
|
-
createNamedConfig("SDL TypeScript Security", {
|
|
5716
|
+
createNamedConfig("\u{1F510} SDL: TypeScript Security", {
|
|
5717
5717
|
files: [...typeScriptFiles],
|
|
5718
5718
|
languageOptions: {
|
|
5719
5719
|
parser: import_parser.default,
|
|
@@ -5739,7 +5739,7 @@ var createTypeScriptConfig = (plugin) => [
|
|
|
5739
5739
|
})
|
|
5740
5740
|
];
|
|
5741
5741
|
var createRequiredConfig = (configs2) => [
|
|
5742
|
-
createNamedConfig("SDL Required Security Baseline"),
|
|
5742
|
+
createNamedConfig("\u{1F510} SDL: Required Security Baseline"),
|
|
5743
5743
|
...configs2.angular,
|
|
5744
5744
|
...configs2.angularjs,
|
|
5745
5745
|
...configs2.common,
|
|
@@ -5748,10 +5748,10 @@ var createRequiredConfig = (configs2) => [
|
|
|
5748
5748
|
...configs2.react
|
|
5749
5749
|
];
|
|
5750
5750
|
var createRecommendedConfig = (configs2) => [
|
|
5751
|
-
createNamedConfig("SDL Recommended Security Baseline"),
|
|
5751
|
+
createNamedConfig("\u{1F510} SDL: Recommended Security Baseline"),
|
|
5752
5752
|
...configs2.required,
|
|
5753
5753
|
...configs2.typescript,
|
|
5754
|
-
createNamedConfig("SDL Recommended Security Plugins", {
|
|
5754
|
+
createNamedConfig("\u{1F510} SDL: Recommended Security Plugins", {
|
|
5755
5755
|
plugins: {
|
|
5756
5756
|
security: securityEslintPlugin
|
|
5757
5757
|
}
|