@stripe/extensibility-eslint-plugin 0.16.0 → 0.17.1
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/configs/async-with-egress.cjs +11 -7
- package/dist/configs/async-with-egress.js +11 -7
- package/dist/configs/billing.bill.discount_calculation.cjs +11 -7
- package/dist/configs/billing.bill.discount_calculation.js +11 -7
- package/dist/configs/billing.customer_balance_application.cjs +11 -7
- package/dist/configs/billing.customer_balance_application.js +11 -7
- package/dist/configs/{billing.invoice_collection_setting.cjs → billing.invoice_collection_options.cjs} +19 -15
- package/dist/configs/{billing.invoice_collection_setting.d.ts → billing.invoice_collection_options.d.ts} +2 -2
- package/dist/configs/billing.invoice_collection_options.d.ts.map +1 -0
- package/dist/configs/{billing.invoice_collection_setting.js → billing.invoice_collection_options.js} +15 -11
- package/dist/configs/billing.prorations.cjs +11 -7
- package/dist/configs/billing.prorations.js +11 -7
- package/dist/configs/billing.recurring_billing_item_handling.cjs +11 -7
- package/dist/configs/billing.recurring_billing_item_handling.js +11 -7
- package/dist/configs/core.workflows.custom_action.cjs +11 -7
- package/dist/configs/core.workflows.custom_action.js +11 -7
- package/dist/configs/custom-objects.cjs +11 -7
- package/dist/configs/custom-objects.js +11 -7
- package/dist/configs/extend.objects.custom_objects.cjs +11 -7
- package/dist/configs/extend.objects.custom_objects.js +11 -7
- package/dist/configs/extend.workflows.custom_action.cjs +11 -7
- package/dist/configs/extend.workflows.custom_action.js +11 -7
- package/dist/configs/runtime-core.cjs +11 -7
- package/dist/configs/runtime-core.js +11 -7
- package/dist/configs/sync-no-egress.cjs +11 -7
- package/dist/configs/sync-no-egress.js +11 -7
- package/dist/index.cjs +12 -8
- package/dist/index.js +12 -8
- package/dist/internal/analysis/eslint/module-scope.d.ts +1 -1
- package/dist/internal/analysis/eslint/module-scope.d.ts.map +1 -1
- package/dist/security-rules/valid-extension-interface.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -7
- package/dist/configs/billing.invoice_collection_setting.d.ts.map +0 -1
|
@@ -8040,9 +8040,9 @@ var rule3 = {
|
|
|
8040
8040
|
if (!sourceFile) {
|
|
8041
8041
|
return;
|
|
8042
8042
|
}
|
|
8043
|
+
const sourceCode = context.sourceCode;
|
|
8043
8044
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
8044
8045
|
if (!classDeclaration) {
|
|
8045
|
-
const sourceCode = context.sourceCode;
|
|
8046
8046
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
8047
8047
|
context.report({
|
|
8048
8048
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -8060,21 +8060,25 @@ var rule3 = {
|
|
|
8060
8060
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
8061
8061
|
);
|
|
8062
8062
|
if (sdkInterfaces.length === 0) {
|
|
8063
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
8063
8064
|
context.report({
|
|
8064
|
-
loc: toReportLoc(
|
|
8065
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
8065
8066
|
messageId: "MISSING_SDK_INTERFACE",
|
|
8066
8067
|
data: { expectedInterfaceName, interfaceId }
|
|
8067
8068
|
});
|
|
8068
8069
|
return;
|
|
8069
8070
|
}
|
|
8070
|
-
const matchesExpected = sdkInterfaces.some(
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
});
|
|
8071
|
+
const matchesExpected = sdkInterfaces.some(
|
|
8072
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
8073
|
+
);
|
|
8074
8074
|
if (!matchesExpected) {
|
|
8075
|
+
const firstMismatch = sdkInterfaces[0];
|
|
8076
|
+
if (!firstMismatch) {
|
|
8077
|
+
return;
|
|
8078
|
+
}
|
|
8075
8079
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
8076
8080
|
context.report({
|
|
8077
|
-
loc: toReportLoc(
|
|
8081
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
8078
8082
|
messageId: "WRONG_INTERFACE",
|
|
8079
8083
|
data: {
|
|
8080
8084
|
actualName: actualNames,
|
|
@@ -8064,9 +8064,9 @@ var rule3 = {
|
|
|
8064
8064
|
if (!sourceFile) {
|
|
8065
8065
|
return;
|
|
8066
8066
|
}
|
|
8067
|
+
const sourceCode = context.sourceCode;
|
|
8067
8068
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
8068
8069
|
if (!classDeclaration) {
|
|
8069
|
-
const sourceCode = context.sourceCode;
|
|
8070
8070
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
8071
8071
|
context.report({
|
|
8072
8072
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -8084,21 +8084,25 @@ var rule3 = {
|
|
|
8084
8084
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
8085
8085
|
);
|
|
8086
8086
|
if (sdkInterfaces.length === 0) {
|
|
8087
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
8087
8088
|
context.report({
|
|
8088
|
-
loc: toReportLoc(
|
|
8089
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
8089
8090
|
messageId: "MISSING_SDK_INTERFACE",
|
|
8090
8091
|
data: { expectedInterfaceName, interfaceId }
|
|
8091
8092
|
});
|
|
8092
8093
|
return;
|
|
8093
8094
|
}
|
|
8094
|
-
const matchesExpected = sdkInterfaces.some(
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
});
|
|
8095
|
+
const matchesExpected = sdkInterfaces.some(
|
|
8096
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
8097
|
+
);
|
|
8098
8098
|
if (!matchesExpected) {
|
|
8099
|
+
const firstMismatch = sdkInterfaces[0];
|
|
8100
|
+
if (!firstMismatch) {
|
|
8101
|
+
return;
|
|
8102
|
+
}
|
|
8099
8103
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
8100
8104
|
context.report({
|
|
8101
|
-
loc: toReportLoc(
|
|
8105
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
8102
8106
|
messageId: "WRONG_INTERFACE",
|
|
8103
8107
|
data: {
|
|
8104
8108
|
actualName: actualNames,
|
|
@@ -8030,9 +8030,9 @@ var rule3 = {
|
|
|
8030
8030
|
if (!sourceFile) {
|
|
8031
8031
|
return;
|
|
8032
8032
|
}
|
|
8033
|
+
const sourceCode = context.sourceCode;
|
|
8033
8034
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
8034
8035
|
if (!classDeclaration) {
|
|
8035
|
-
const sourceCode = context.sourceCode;
|
|
8036
8036
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
8037
8037
|
context.report({
|
|
8038
8038
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -8050,21 +8050,25 @@ var rule3 = {
|
|
|
8050
8050
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
8051
8051
|
);
|
|
8052
8052
|
if (sdkInterfaces.length === 0) {
|
|
8053
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
8053
8054
|
context.report({
|
|
8054
|
-
loc: toReportLoc(
|
|
8055
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
8055
8056
|
messageId: "MISSING_SDK_INTERFACE",
|
|
8056
8057
|
data: { expectedInterfaceName, interfaceId }
|
|
8057
8058
|
});
|
|
8058
8059
|
return;
|
|
8059
8060
|
}
|
|
8060
|
-
const matchesExpected = sdkInterfaces.some(
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
});
|
|
8061
|
+
const matchesExpected = sdkInterfaces.some(
|
|
8062
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
8063
|
+
);
|
|
8064
8064
|
if (!matchesExpected) {
|
|
8065
|
+
const firstMismatch = sdkInterfaces[0];
|
|
8066
|
+
if (!firstMismatch) {
|
|
8067
|
+
return;
|
|
8068
|
+
}
|
|
8065
8069
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
8066
8070
|
context.report({
|
|
8067
|
-
loc: toReportLoc(
|
|
8071
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
8068
8072
|
messageId: "WRONG_INTERFACE",
|
|
8069
8073
|
data: {
|
|
8070
8074
|
actualName: actualNames,
|
|
@@ -8074,9 +8074,9 @@ var rule3 = {
|
|
|
8074
8074
|
if (!sourceFile) {
|
|
8075
8075
|
return;
|
|
8076
8076
|
}
|
|
8077
|
+
const sourceCode = context.sourceCode;
|
|
8077
8078
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
8078
8079
|
if (!classDeclaration) {
|
|
8079
|
-
const sourceCode = context.sourceCode;
|
|
8080
8080
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
8081
8081
|
context.report({
|
|
8082
8082
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -8094,21 +8094,25 @@ var rule3 = {
|
|
|
8094
8094
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
8095
8095
|
);
|
|
8096
8096
|
if (sdkInterfaces.length === 0) {
|
|
8097
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
8097
8098
|
context.report({
|
|
8098
|
-
loc: toReportLoc(
|
|
8099
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
8099
8100
|
messageId: "MISSING_SDK_INTERFACE",
|
|
8100
8101
|
data: { expectedInterfaceName, interfaceId }
|
|
8101
8102
|
});
|
|
8102
8103
|
return;
|
|
8103
8104
|
}
|
|
8104
|
-
const matchesExpected = sdkInterfaces.some(
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
});
|
|
8105
|
+
const matchesExpected = sdkInterfaces.some(
|
|
8106
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
8107
|
+
);
|
|
8108
8108
|
if (!matchesExpected) {
|
|
8109
|
+
const firstMismatch = sdkInterfaces[0];
|
|
8110
|
+
if (!firstMismatch) {
|
|
8111
|
+
return;
|
|
8112
|
+
}
|
|
8109
8113
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
8110
8114
|
context.report({
|
|
8111
|
-
loc: toReportLoc(
|
|
8115
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
8112
8116
|
messageId: "WRONG_INTERFACE",
|
|
8113
8117
|
data: {
|
|
8114
8118
|
actualName: actualNames,
|
|
@@ -8040,9 +8040,9 @@ var rule3 = {
|
|
|
8040
8040
|
if (!sourceFile) {
|
|
8041
8041
|
return;
|
|
8042
8042
|
}
|
|
8043
|
+
const sourceCode = context.sourceCode;
|
|
8043
8044
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
8044
8045
|
if (!classDeclaration) {
|
|
8045
|
-
const sourceCode = context.sourceCode;
|
|
8046
8046
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
8047
8047
|
context.report({
|
|
8048
8048
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -8060,21 +8060,25 @@ var rule3 = {
|
|
|
8060
8060
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
8061
8061
|
);
|
|
8062
8062
|
if (sdkInterfaces.length === 0) {
|
|
8063
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
8063
8064
|
context.report({
|
|
8064
|
-
loc: toReportLoc(
|
|
8065
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
8065
8066
|
messageId: "MISSING_SDK_INTERFACE",
|
|
8066
8067
|
data: { expectedInterfaceName, interfaceId }
|
|
8067
8068
|
});
|
|
8068
8069
|
return;
|
|
8069
8070
|
}
|
|
8070
|
-
const matchesExpected = sdkInterfaces.some(
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
});
|
|
8071
|
+
const matchesExpected = sdkInterfaces.some(
|
|
8072
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
8073
|
+
);
|
|
8074
8074
|
if (!matchesExpected) {
|
|
8075
|
+
const firstMismatch = sdkInterfaces[0];
|
|
8076
|
+
if (!firstMismatch) {
|
|
8077
|
+
return;
|
|
8078
|
+
}
|
|
8075
8079
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
8076
8080
|
context.report({
|
|
8077
|
-
loc: toReportLoc(
|
|
8081
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
8078
8082
|
messageId: "WRONG_INTERFACE",
|
|
8079
8083
|
data: {
|
|
8080
8084
|
actualName: actualNames,
|
|
@@ -8074,9 +8074,9 @@ var rule3 = {
|
|
|
8074
8074
|
if (!sourceFile) {
|
|
8075
8075
|
return;
|
|
8076
8076
|
}
|
|
8077
|
+
const sourceCode = context.sourceCode;
|
|
8077
8078
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
8078
8079
|
if (!classDeclaration) {
|
|
8079
|
-
const sourceCode = context.sourceCode;
|
|
8080
8080
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
8081
8081
|
context.report({
|
|
8082
8082
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -8094,21 +8094,25 @@ var rule3 = {
|
|
|
8094
8094
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
8095
8095
|
);
|
|
8096
8096
|
if (sdkInterfaces.length === 0) {
|
|
8097
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
8097
8098
|
context.report({
|
|
8098
|
-
loc: toReportLoc(
|
|
8099
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
8099
8100
|
messageId: "MISSING_SDK_INTERFACE",
|
|
8100
8101
|
data: { expectedInterfaceName, interfaceId }
|
|
8101
8102
|
});
|
|
8102
8103
|
return;
|
|
8103
8104
|
}
|
|
8104
|
-
const matchesExpected = sdkInterfaces.some(
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
});
|
|
8105
|
+
const matchesExpected = sdkInterfaces.some(
|
|
8106
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
8107
|
+
);
|
|
8108
8108
|
if (!matchesExpected) {
|
|
8109
|
+
const firstMismatch = sdkInterfaces[0];
|
|
8110
|
+
if (!firstMismatch) {
|
|
8111
|
+
return;
|
|
8112
|
+
}
|
|
8109
8113
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
8110
8114
|
context.report({
|
|
8111
|
-
loc: toReportLoc(
|
|
8115
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
8112
8116
|
messageId: "WRONG_INTERFACE",
|
|
8113
8117
|
data: {
|
|
8114
8118
|
actualName: actualNames,
|
|
@@ -8040,9 +8040,9 @@ var rule3 = {
|
|
|
8040
8040
|
if (!sourceFile) {
|
|
8041
8041
|
return;
|
|
8042
8042
|
}
|
|
8043
|
+
const sourceCode = context.sourceCode;
|
|
8043
8044
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
8044
8045
|
if (!classDeclaration) {
|
|
8045
|
-
const sourceCode = context.sourceCode;
|
|
8046
8046
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
8047
8047
|
context.report({
|
|
8048
8048
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -8060,21 +8060,25 @@ var rule3 = {
|
|
|
8060
8060
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
8061
8061
|
);
|
|
8062
8062
|
if (sdkInterfaces.length === 0) {
|
|
8063
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
8063
8064
|
context.report({
|
|
8064
|
-
loc: toReportLoc(
|
|
8065
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
8065
8066
|
messageId: "MISSING_SDK_INTERFACE",
|
|
8066
8067
|
data: { expectedInterfaceName, interfaceId }
|
|
8067
8068
|
});
|
|
8068
8069
|
return;
|
|
8069
8070
|
}
|
|
8070
|
-
const matchesExpected = sdkInterfaces.some(
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
});
|
|
8071
|
+
const matchesExpected = sdkInterfaces.some(
|
|
8072
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
8073
|
+
);
|
|
8074
8074
|
if (!matchesExpected) {
|
|
8075
|
+
const firstMismatch = sdkInterfaces[0];
|
|
8076
|
+
if (!firstMismatch) {
|
|
8077
|
+
return;
|
|
8078
|
+
}
|
|
8075
8079
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
8076
8080
|
context.report({
|
|
8077
|
-
loc: toReportLoc(
|
|
8081
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
8078
8082
|
messageId: "WRONG_INTERFACE",
|
|
8079
8083
|
data: {
|
|
8080
8084
|
actualName: actualNames,
|
|
@@ -8064,9 +8064,9 @@ var rule3 = {
|
|
|
8064
8064
|
if (!sourceFile) {
|
|
8065
8065
|
return;
|
|
8066
8066
|
}
|
|
8067
|
+
const sourceCode = context.sourceCode;
|
|
8067
8068
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
8068
8069
|
if (!classDeclaration) {
|
|
8069
|
-
const sourceCode = context.sourceCode;
|
|
8070
8070
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
8071
8071
|
context.report({
|
|
8072
8072
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -8084,21 +8084,25 @@ var rule3 = {
|
|
|
8084
8084
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
8085
8085
|
);
|
|
8086
8086
|
if (sdkInterfaces.length === 0) {
|
|
8087
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
8087
8088
|
context.report({
|
|
8088
|
-
loc: toReportLoc(
|
|
8089
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
8089
8090
|
messageId: "MISSING_SDK_INTERFACE",
|
|
8090
8091
|
data: { expectedInterfaceName, interfaceId }
|
|
8091
8092
|
});
|
|
8092
8093
|
return;
|
|
8093
8094
|
}
|
|
8094
|
-
const matchesExpected = sdkInterfaces.some(
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
});
|
|
8095
|
+
const matchesExpected = sdkInterfaces.some(
|
|
8096
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
8097
|
+
);
|
|
8098
8098
|
if (!matchesExpected) {
|
|
8099
|
+
const firstMismatch = sdkInterfaces[0];
|
|
8100
|
+
if (!firstMismatch) {
|
|
8101
|
+
return;
|
|
8102
|
+
}
|
|
8099
8103
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
8100
8104
|
context.report({
|
|
8101
|
-
loc: toReportLoc(
|
|
8105
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
8102
8106
|
messageId: "WRONG_INTERFACE",
|
|
8103
8107
|
data: {
|
|
8104
8108
|
actualName: actualNames,
|
|
@@ -8030,9 +8030,9 @@ var rule3 = {
|
|
|
8030
8030
|
if (!sourceFile) {
|
|
8031
8031
|
return;
|
|
8032
8032
|
}
|
|
8033
|
+
const sourceCode = context.sourceCode;
|
|
8033
8034
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
8034
8035
|
if (!classDeclaration) {
|
|
8035
|
-
const sourceCode = context.sourceCode;
|
|
8036
8036
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
8037
8037
|
context.report({
|
|
8038
8038
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -8050,21 +8050,25 @@ var rule3 = {
|
|
|
8050
8050
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
8051
8051
|
);
|
|
8052
8052
|
if (sdkInterfaces.length === 0) {
|
|
8053
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
8053
8054
|
context.report({
|
|
8054
|
-
loc: toReportLoc(
|
|
8055
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
8055
8056
|
messageId: "MISSING_SDK_INTERFACE",
|
|
8056
8057
|
data: { expectedInterfaceName, interfaceId }
|
|
8057
8058
|
});
|
|
8058
8059
|
return;
|
|
8059
8060
|
}
|
|
8060
|
-
const matchesExpected = sdkInterfaces.some(
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
});
|
|
8061
|
+
const matchesExpected = sdkInterfaces.some(
|
|
8062
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
8063
|
+
);
|
|
8064
8064
|
if (!matchesExpected) {
|
|
8065
|
+
const firstMismatch = sdkInterfaces[0];
|
|
8066
|
+
if (!firstMismatch) {
|
|
8067
|
+
return;
|
|
8068
|
+
}
|
|
8065
8069
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
8066
8070
|
context.report({
|
|
8067
|
-
loc: toReportLoc(
|
|
8071
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
8068
8072
|
messageId: "WRONG_INTERFACE",
|
|
8069
8073
|
data: {
|
|
8070
8074
|
actualName: actualNames,
|
|
@@ -8064,9 +8064,9 @@ var rule3 = {
|
|
|
8064
8064
|
if (!sourceFile) {
|
|
8065
8065
|
return;
|
|
8066
8066
|
}
|
|
8067
|
+
const sourceCode = context.sourceCode;
|
|
8067
8068
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
8068
8069
|
if (!classDeclaration) {
|
|
8069
|
-
const sourceCode = context.sourceCode;
|
|
8070
8070
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
8071
8071
|
context.report({
|
|
8072
8072
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -8084,21 +8084,25 @@ var rule3 = {
|
|
|
8084
8084
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
8085
8085
|
);
|
|
8086
8086
|
if (sdkInterfaces.length === 0) {
|
|
8087
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
8087
8088
|
context.report({
|
|
8088
|
-
loc: toReportLoc(
|
|
8089
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
8089
8090
|
messageId: "MISSING_SDK_INTERFACE",
|
|
8090
8091
|
data: { expectedInterfaceName, interfaceId }
|
|
8091
8092
|
});
|
|
8092
8093
|
return;
|
|
8093
8094
|
}
|
|
8094
|
-
const matchesExpected = sdkInterfaces.some(
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
});
|
|
8095
|
+
const matchesExpected = sdkInterfaces.some(
|
|
8096
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
8097
|
+
);
|
|
8098
8098
|
if (!matchesExpected) {
|
|
8099
|
+
const firstMismatch = sdkInterfaces[0];
|
|
8100
|
+
if (!firstMismatch) {
|
|
8101
|
+
return;
|
|
8102
|
+
}
|
|
8099
8103
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
8100
8104
|
context.report({
|
|
8101
|
-
loc: toReportLoc(
|
|
8105
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
8102
8106
|
messageId: "WRONG_INTERFACE",
|
|
8103
8107
|
data: {
|
|
8104
8108
|
actualName: actualNames,
|
|
@@ -8030,9 +8030,9 @@ var rule3 = {
|
|
|
8030
8030
|
if (!sourceFile) {
|
|
8031
8031
|
return;
|
|
8032
8032
|
}
|
|
8033
|
+
const sourceCode = context.sourceCode;
|
|
8033
8034
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
8034
8035
|
if (!classDeclaration) {
|
|
8035
|
-
const sourceCode = context.sourceCode;
|
|
8036
8036
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
8037
8037
|
context.report({
|
|
8038
8038
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -8050,21 +8050,25 @@ var rule3 = {
|
|
|
8050
8050
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
8051
8051
|
);
|
|
8052
8052
|
if (sdkInterfaces.length === 0) {
|
|
8053
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
8053
8054
|
context.report({
|
|
8054
|
-
loc: toReportLoc(
|
|
8055
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
8055
8056
|
messageId: "MISSING_SDK_INTERFACE",
|
|
8056
8057
|
data: { expectedInterfaceName, interfaceId }
|
|
8057
8058
|
});
|
|
8058
8059
|
return;
|
|
8059
8060
|
}
|
|
8060
|
-
const matchesExpected = sdkInterfaces.some(
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
});
|
|
8061
|
+
const matchesExpected = sdkInterfaces.some(
|
|
8062
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
8063
|
+
);
|
|
8064
8064
|
if (!matchesExpected) {
|
|
8065
|
+
const firstMismatch = sdkInterfaces[0];
|
|
8066
|
+
if (!firstMismatch) {
|
|
8067
|
+
return;
|
|
8068
|
+
}
|
|
8065
8069
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
8066
8070
|
context.report({
|
|
8067
|
-
loc: toReportLoc(
|
|
8071
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
8068
8072
|
messageId: "WRONG_INTERFACE",
|
|
8069
8073
|
data: {
|
|
8070
8074
|
actualName: actualNames,
|
package/dist/index.cjs
CHANGED
|
@@ -35899,7 +35899,7 @@ var customObjectRules = {
|
|
|
35899
35899
|
};
|
|
35900
35900
|
|
|
35901
35901
|
// src/internal/analysis/eslint/module-scope.ts
|
|
35902
|
-
var TO_CONST_MODULE = "@stripe/extensibility-sdk
|
|
35902
|
+
var TO_CONST_MODULE = "@stripe/extensibility-sdk";
|
|
35903
35903
|
var KNOWN_GLOBAL_PRIMITIVES = /* @__PURE__ */ new Set(["undefined", "Infinity", "NaN"]);
|
|
35904
35904
|
var COMPARISON_OPERATORS = /* @__PURE__ */ new Set([
|
|
35905
35905
|
"==",
|
|
@@ -37645,9 +37645,9 @@ var rule19 = {
|
|
|
37645
37645
|
if (!sourceFile) {
|
|
37646
37646
|
return;
|
|
37647
37647
|
}
|
|
37648
|
+
const sourceCode = context.sourceCode;
|
|
37648
37649
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
37649
37650
|
if (!classDeclaration) {
|
|
37650
|
-
const sourceCode = context.sourceCode;
|
|
37651
37651
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
37652
37652
|
context.report({
|
|
37653
37653
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -37665,21 +37665,25 @@ var rule19 = {
|
|
|
37665
37665
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
37666
37666
|
);
|
|
37667
37667
|
if (sdkInterfaces.length === 0) {
|
|
37668
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
37668
37669
|
context.report({
|
|
37669
|
-
loc: toReportLoc(
|
|
37670
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
37670
37671
|
messageId: "MISSING_SDK_INTERFACE",
|
|
37671
37672
|
data: { expectedInterfaceName, interfaceId }
|
|
37672
37673
|
});
|
|
37673
37674
|
return;
|
|
37674
37675
|
}
|
|
37675
|
-
const matchesExpected = sdkInterfaces.some(
|
|
37676
|
-
|
|
37677
|
-
|
|
37678
|
-
});
|
|
37676
|
+
const matchesExpected = sdkInterfaces.some(
|
|
37677
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
37678
|
+
);
|
|
37679
37679
|
if (!matchesExpected) {
|
|
37680
|
+
const firstMismatch = sdkInterfaces[0];
|
|
37681
|
+
if (!firstMismatch) {
|
|
37682
|
+
return;
|
|
37683
|
+
}
|
|
37680
37684
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
37681
37685
|
context.report({
|
|
37682
|
-
loc: toReportLoc(
|
|
37686
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
37683
37687
|
messageId: "WRONG_INTERFACE",
|
|
37684
37688
|
data: {
|
|
37685
37689
|
actualName: actualNames,
|
package/dist/index.js
CHANGED
|
@@ -35887,7 +35887,7 @@ var customObjectRules = {
|
|
|
35887
35887
|
};
|
|
35888
35888
|
|
|
35889
35889
|
// src/internal/analysis/eslint/module-scope.ts
|
|
35890
|
-
var TO_CONST_MODULE = "@stripe/extensibility-sdk
|
|
35890
|
+
var TO_CONST_MODULE = "@stripe/extensibility-sdk";
|
|
35891
35891
|
var KNOWN_GLOBAL_PRIMITIVES = /* @__PURE__ */ new Set(["undefined", "Infinity", "NaN"]);
|
|
35892
35892
|
var COMPARISON_OPERATORS = /* @__PURE__ */ new Set([
|
|
35893
35893
|
"==",
|
|
@@ -37633,9 +37633,9 @@ var rule19 = {
|
|
|
37633
37633
|
if (!sourceFile) {
|
|
37634
37634
|
return;
|
|
37635
37635
|
}
|
|
37636
|
+
const sourceCode = context.sourceCode;
|
|
37636
37637
|
const classDeclaration = getDefaultExportedClassDeclaration(sourceFile);
|
|
37637
37638
|
if (!classDeclaration) {
|
|
37638
|
-
const sourceCode = context.sourceCode;
|
|
37639
37639
|
const firstToken = sourceCode.getFirstToken(sourceCode.ast);
|
|
37640
37640
|
context.report({
|
|
37641
37641
|
node: firstToken ?? sourceCode.ast,
|
|
@@ -37653,21 +37653,25 @@ var rule19 = {
|
|
|
37653
37653
|
({ interfaceSymbol }) => symbolMatchesExtensionInterface(checker, interfaceSymbol)
|
|
37654
37654
|
);
|
|
37655
37655
|
if (sdkInterfaces.length === 0) {
|
|
37656
|
+
const highlightNode = classDeclaration.name ?? implementedTypes[0]?.heritageType.expression;
|
|
37656
37657
|
context.report({
|
|
37657
|
-
loc: toReportLoc(
|
|
37658
|
+
...highlightNode ? { loc: toReportLoc(highlightNode) } : { node: sourceCode.getFirstToken(sourceCode.ast) ?? sourceCode.ast },
|
|
37658
37659
|
messageId: "MISSING_SDK_INTERFACE",
|
|
37659
37660
|
data: { expectedInterfaceName, interfaceId }
|
|
37660
37661
|
});
|
|
37661
37662
|
return;
|
|
37662
37663
|
}
|
|
37663
|
-
const matchesExpected = sdkInterfaces.some(
|
|
37664
|
-
|
|
37665
|
-
|
|
37666
|
-
});
|
|
37664
|
+
const matchesExpected = sdkInterfaces.some(
|
|
37665
|
+
({ interfaceSymbol }) => interfaceSymbol?.getName().startsWith(expectedInterfaceName) ?? false
|
|
37666
|
+
);
|
|
37667
37667
|
if (!matchesExpected) {
|
|
37668
|
+
const firstMismatch = sdkInterfaces[0];
|
|
37669
|
+
if (!firstMismatch) {
|
|
37670
|
+
return;
|
|
37671
|
+
}
|
|
37668
37672
|
const actualNames = sdkInterfaces.map(({ interfaceSymbol }) => interfaceSymbol?.getName() ?? "(unknown)").join(", ");
|
|
37669
37673
|
context.report({
|
|
37670
|
-
loc: toReportLoc(
|
|
37674
|
+
loc: toReportLoc(firstMismatch.heritageType.expression),
|
|
37671
37675
|
messageId: "WRONG_INTERFACE",
|
|
37672
37676
|
data: {
|
|
37673
37677
|
actualName: actualNames,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Package specifier for the runtime `toConst(...)` deep-immutability helper.
|
|
3
3
|
* @internal
|
|
4
4
|
*/
|
|
5
|
-
export declare const TO_CONST_MODULE = "@stripe/extensibility-sdk
|
|
5
|
+
export declare const TO_CONST_MODULE = "@stripe/extensibility-sdk";
|
|
6
6
|
/** @internal */
|
|
7
7
|
export interface NodeLike {
|
|
8
8
|
readonly type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module-scope.d.ts","sourceRoot":"","sources":["../../../../src/internal/analysis/eslint/module-scope.ts"],"names":[],"mappings":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EAAE,OAAO,EACb,QAAQ,EAAE,qBAAqB,GAC9B,OAAO,CAcT;AAED,gBAAgB;AAChB,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAK5D;AAED,gBAAgB;AAChB,wBAAgB,oCAAoC,CAClD,UAAU,EAAE,cAAc,EAC1B,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,qBAAqB,GAC9B,gCAAgC,CAclC;AA8ID,gBAAgB;AAChB,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,cAAc,EAC1B,QAAQ,EAAE,qBAAqB,GAC9B,MAAM,GAAG,SAAS,CAMpB;AAED,gBAAgB;AAChB,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,qBAAqB,GAAG,MAAM,CAQ1E;AAED,gBAAgB;AAChB,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,OAAO,GACf,SAAS,qBAAqB,EAAE,CAMlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"valid-extension-interface.d.ts","sourceRoot":"","sources":["../../src/security-rules/valid-extension-interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAyFnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"valid-extension-interface.d.ts","sourceRoot":"","sources":["../../src/security-rules/valid-extension-interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAyFnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UA2GhB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|