@salutejs-sdds-api-tests-0.10.1.tgz
NPM
Verdict: BENIGN
package.json
package.json
| 1 |
{npm package has no runtime dependencies |
| 2 |
"name": "@salutejs/sdds-api-tests",npm package has name field |
| 3 |
"version": "0.10.1",Uses conventional version format |
| 4 |
"description": "API tests for components",Package has meaningful description |
| 5 |
"author": "Salute Frontend Team <[email protected]>", |
| 6 |
"license": "MIT", |
| 7 |
"repository": {Package has repository field |
| 8 |
"type": "git", |
| 9 |
"url": "ssh://[email protected]:salute-developers/plasma.git",Repository uses common git host |
| 10 |
"directory": "utils/api-tests" |
| 11 |
}, |
| 12 |
"scripts": {npm script deletes files |
| 13 |
"test": "rm -rf tests && node script.mjs && NODE_OPTIONS=--max-old-space-size=8192 tsc --noEmit …Benign DLL side-loading context |
| 14 |
}, |
| 15 |
"devDependencies": {Package has devDependencies |
| 16 |
"@salutejs/plasma-b2c": "1.621.0", |
| 17 |
"@salutejs/plasma-giga": "0.348.0", |
| 27 |
"@salutejs/sdds-scan": "0.351.0", |
| 28 |
"@salutejs/sdds-serv": "0.352.0", |
| 29 |
"@types/node": "^25.9.1",Code has JSDoc documentation |
| 30 |
"@types/react": "18.0.28",react library |
| 31 |
"@types/react-dom": "18.0.11", |
| 32 |
"react": "18.2.0", |
Accordion.api.test.tsx
javascript
| 1 |
import * as React from 'react';Any script file |
| 2 |
import type { ComponentProps, ReactNode, CSSProperties, AriaRole, HTMLAttributes } from 'react'; |
| 3 |
import { describe, it } from 'node:test';Source or test keyword |
| 4 |
import { expectTypeOf } from 'expect-type'; |
| 5 |
import { Accordion, AccordionItem } from '@salutejs/plasma-b2c'; |
| 10 |
describe('Accordion', () => {VM HTTP benign context |
| 11 |
describe('Basics', () => { |
| 12 |
it('Common', () => {it() function call |
| 13 |
… expectTypeOf<AccordionProps>().toHaveProperty('singleActive').toEqualTypeOf<boolean | undefined>();Validation vocabulary boolean |
| 14 |
expectTypeOf<AccordionProps>() |
| 15 |
.toHaveProperty('defaultActiveEventKey') |
| 16 |
.toEqualTypeOf<number[] | undefined>();Validation vocabulary number |
| 17 |
expectTypeOf<AccordionProps>().toHaveProperty('disabled').toEqualTypeOf<boolean | undefi… |
| 18 |
expectTypeOf<AccordionProps>().toHaveProperty('stretching').toEqualTypeOf<'fixed' | 'fil… |
| 21 |
.toEqualTypeOf<((index?: number, value?: boolean) => void) | undefined>(); |
| 22 |
expectTypeOf<AccordionProps>().toHaveProperty('children').toEqualTypeOf<ReactNode>(); |
| 23 |
… expectTypeOf<AccordionProps>().toHaveProperty('className').toEqualTypeOf<string | undefined>();Validation vocabulary string |
| 24 |
}); |
| 56 |
expectTypeOf<AccordionItemProps>() |
| 57 |
.toHaveProperty('type') |
| 58 |
.toEqualTypeOf<'clear' | 'arrow' | 'sign' | undefined>();Cleanup verb |
| 59 |
expectTypeOf<AccordionItemProps>().toHaveProperty('contentLeft').toEqualTypeOf<ReactNode… |
| 60 |
expectTypeOf<AccordionItemProps>().toHaveProperty('alignWithTitle').toEqualTypeOf<boolea… |
| 102 |
() => ( |
| 103 |
<Accordion view="default" singleActive onChange={(index, value) => {}}> |
| 104 |
… <AccordionItem title="Первый вопрос">Первый ответ</AccordionItem>Cyrillic script detection (Russian/Ukrainian) |
| 105 |
<AccordionItem title="Второй вопрос" disabled> |
| 106 |
Второй ответ |
| 112 |
it('Microdata FAQ', () => { |
| 113 |
() => ( |
| 114 |
<Accordion itemScope itemType="https://schema.org/FAQPage">HTTPS protocol prefix |
| 115 |
<AccordionItem |
| 116 |
itemScope |
| 1 |
{JSON data format |
| 2 |
"compilerOptions": { |
| 3 |
"target": "ES5", |
tsconfig.typecheck.json
json
| 1 |
{JSON data format |
| 2 |
"extends": "./tsconfig.json", |
| 3 |
"include": ["./tests"] |
Objectives
notable severity, 80% confident.
anti-static/obfuscation/reflection
func that returns its argument directly
-
Button.api.test.tsx
import * as React from 'react'
-
Checkbox.api.test.tsx
import * as React from 'react'
-
InformationWrapper.api.test.tsx
import * as React from 'react'
-
Select.api.test.tsx
import * as React from 'react'
-
Skeleton.api.test.tsx
import * as React from 'react'
-
TextField.api.test.tsx
import * as React from 'react'
Micro-behaviors
-
Accordion.api.test.tsx
5862
-
script.mjs
fs.readFileSync
×2
-
script.mjs
fs.readFileSync(
×2
-
script.mjs
path.join(
×2
-
script.mjs
readFileSync(filePath, 'utf8'
×2
-
package.json
337
-
script.mjs
FileSync
-
Combobox.api.test.tsx
join(
-
Select.api.test.tsx
join(
-
script.mjs
.writeFileSync(
notable severity, 85% confident.
process/interpreter
npm script runs a script interpreter
-
script.mjs
fs.readdirSync
-
Combobox.api.test.tsx
.toString()
-
Select.api.test.tsx
.toString()
-
Combobox.api.test.tsx
toString
-
Select.api.test.tsx
toString
-
script.mjs
console
-
TextField.api.test.tsx
console
-
Combobox.api.test.tsx
height
-
Select.api.test.tsx
height
-
Popover.api.test.tsx
width
-
Skeleton.api.test.tsx
width
Metadata
-
package.json
196
-
package.json
235
-
package.json
65
-
Button.api.test.tsx
expect-type
-
Checkbox.api.test.tsx
expect-type
-
Combobox.api.test.tsx
expect-type
-
InformationWrapper.api.test.tsx
expect-type
-
Popover.api.test.tsx
expect-type
-
Select.api.test.tsx
expect-type
-
Skeleton.api.test.tsx
expect-type
-
TextField.api.test.tsx
expect-type
-
Typography.api.test.tsx
expect-type
-
script.mjs
fs
-
Button.api.test.tsx
node:test
-
Checkbox.api.test.tsx
node:test
-
Combobox.api.test.tsx
node:test
-
InformationWrapper.api.test.tsx
node:test
-
Popover.api.test.tsx
node:test
-
Select.api.test.tsx
node:test
-
Skeleton.api.test.tsx
node:test
-
TextField.api.test.tsx
node:test
-
Typography.api.test.tsx
node:test
-
script.mjs
path
-
Button.api.test.tsx
react
-
Checkbox.api.test.tsx
react
-
Combobox.api.test.tsx
react
-
InformationWrapper.api.test.tsx
react
-
Button.api.test.tsx
@salutejs/plasma-b2c
-
Checkbox.api.test.tsx
@salutejs/plasma-b2c
-
Combobox.api.test.tsx
@salutejs/plasma-b2c
-
InformationWrapper.api.test.tsx
@salutejs/plasma-b2c
-
Popover.api.test.tsx
@salutejs/plasma-b2c
-
Select.api.test.tsx
@salutejs/plasma-b2c
-
Skeleton.api.test.tsx
@salutejs/plasma-b2c
-
TextField.api.test.tsx
@salutejs/plasma-b2c
-
Typography.api.test.tsx
@salutejs/plasma-b2c
-
Button.api.test.tsx
@salutejs/plasma-icons
-
Button.api.test.tsx
Button.api.test.tsx
×2
-
Checkbox.api.test.tsx
Checkbox.api.test.tsx
×2
-
Combobox.api.test.tsx
Combobox.api.test.tsx
×2
-
InformationWrapper.api.test.tsx
InformationWrapper.api.test.tsx
×2
-
Popover.api.test.tsx
Popover.api.test.tsx
×2
-
Select.api.test.tsx
Select.api.test.tsx
×2
-
Skeleton.api.test.tsx
Skeleton.api.test.tsx
×2
-
TextField.api.test.tsx
TextField.api.test.tsx
×2
-
Typography.api.test.tsx
Typography.api.test.tsx
×2
-
script.mjs
includes
-
script.mjs
length
-
Combobox.api.test.tsx
length
-
Select.api.test.tsx
length
-
script.mjs
script.mjs
-
Button.api.test.tsx
undefined
-
Checkbox.api.test.tsx
undefined
-
Combobox.api.test.tsx
undefined
-
InformationWrapper.api.test.tsx
undefined
-
Popover.api.test.tsx
undefined
-
Select.api.test.tsx
undefined
-
Skeleton.api.test.tsx
undefined
-
TextField.api.test.tsx
undefined
-
Typography.api.test.tsx
undefined
-
Button.api.test.tsx
describe
×2
-
Checkbox.api.test.tsx
describe
×2
-
Combobox.api.test.tsx
describe
×2
-
InformationWrapper.api.test.tsx
describe
×2
-
Popover.api.test.tsx
describe
×2
-
Select.api.test.tsx
describe
×2
-
Skeleton.api.test.tsx
describe
×2
-
TextField.api.test.tsx
describe
×2
-
Typography.api.test.tsx
describe
×2
-
Button.api.test.tsx
it
×2
-
Checkbox.api.test.tsx
it
×2
-
Combobox.api.test.tsx
it
×2
-
InformationWrapper.api.test.tsx
it
×2
-
Popover.api.test.tsx
it
×2
-
Select.api.test.tsx
it
×2
-
Skeleton.api.test.tsx
it
×2
-
TextField.api.test.tsx
it
×2
-
Typography.api.test.tsx
it
×2
-
Typography.api.test.tsx
describe('Basics', () => {
it('Common props', () => {
expectTypeOf<TextLProps>().toHaveP...
-
Combobox.api.test.tsx
describe('Basics', () => {
it('Common', () => {
// @ts-expect-error
expectTypeOf...
-
Select.api.test.tsx
describe('Basics', () => {
it('Common', () => {
// @ts-expect-error
expectTypeOf...
-
InformationWrapper.api.test.tsx
describe('Basics', () => {
it('Common', () => {
// Layout
expectTypeOf<Informati...
-
Popover.api.test.tsx
describe('Basics', () => {
it('Common', () => {
// layout
expectTypeOf<PopoverPr...
-
Button.api.test.tsx
describe('Basics', () => {
it('Common', () => {
expectTypeOf<ButtonProps>().toHaveProper...
-
Button.api.test.tsx
Button.api.test.tsx
-
Checkbox.api.test.tsx
Checkbox.api.test.tsx
-
Combobox.api.test.tsx
Combobox.api.test.tsx
-
InformationWrapper.api.test.tsx
InformationWrapper.api.test.tsx
-
Popover.api.test.tsx
Popover.api.test.tsx
-
Select.api.test.tsx
Select.api.test.tsx
-
Skeleton.api.test.tsx
Skeleton.api.test.tsx
-
TextField.api.test.tsx
TextField.api.test.tsx
-
Typography.api.test.tsx
Typography.api.test.tsx
-
Button.api.test.tsx
Button.api.test.tsx
×2
-
Checkbox.api.test.tsx
Checkbox.api.test.tsx
×2
-
Combobox.api.test.tsx
Combobox.api.test.tsx
×2
-
InformationWrapper.api.test.tsx
InformationWrapper.api.test.tsx
×2
-
Popover.api.test.tsx
Popover.api.test.tsx
×2
-
Select.api.test.tsx
Select.api.test.tsx
×2
-
Skeleton.api.test.tsx
Skeleton.api.test.tsx
×2
-
TextField.api.test.tsx
TextField.api.test.tsx
×2
-
Typography.api.test.tsx
Typography.api.test.tsx
×2
-
Button.api.test.tsx
describe(
-
Checkbox.api.test.tsx
describe(
-
Combobox.api.test.tsx
describe(
-
InformationWrapper.api.test.tsx
describe(
-
Popover.api.test.tsx
describe(
-
Select.api.test.tsx
describe(
-
Skeleton.api.test.tsx
describe(
-
TextField.api.test.tsx
describe(
-
Typography.api.test.tsx
describe(
component severity, 100% confident.
file
Web asset file extension (css/html/js/json)
component severity, 100% confident.
package
package defines test script
20 of 34 traits shown
Identity
| SHA-256 |
9b8204421f3d48ec88aef1f50275805a97e5bb290615b20e0485cdfd84997424 |
| Canonical SHA-256 |
0bb20ba5160f0e3148fbbef940a813c1e5537b4da83a8a2a87d192569a57e986 |
| Filename |
@salutejs-sdds-api-tests-0.10.1.tgz |
| Package |
@salutejs/sdds-api-tests |
| Version |
0.10.1 |
Timeline
| First seen |
15 Jun 2026 11:38 UTC |
| First analyzed |
15 Jun 2026 17:09 UTC |
| Last analyzed |
15 Jun 2026 17:09 UTC |
| Last updated |
15 Jun 2026 17:09 UTC |
Labeling
| Label |
unknown |
| Label source |
forager |
| Traits version |
061e3 |