Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

axe-core

Package Overview
Dependencies
Maintainers
4
Versions
1377
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axe-core - npm Package Compare versions

Comparing version 4.10.0-canary.4d8c87e to 4.10.0-canary.748cd01

locales/ru.json

27

axe.d.ts

@@ -345,2 +345,5 @@ // Type definitions for axe-core

toJSON(): SerialDqElement;
}
interface DqElementConstructor {
new (elm: Element, options?: { absolutePaths?: boolean }): DqElement;
mergeSpecs(

@@ -409,2 +412,20 @@ childSpec: SerialDqElement,

interface CustomNodeSerializer<T = SerialDqElement> {
toSpec: (dqElm: DqElement) => T;
mergeSpecs: (nodeSpec: T, parentFrameSpec: T) => T;
}
interface NodeSerializer {
update: <T>(serializer: CustomNodeSerializer<T>) => void;
toSpec: (node: Element | VirtualNode) => SerialDqElement;
dqElmToSpec: (
dqElm: DqElement | SerialDqElement,
options?: RunOptions
) => SerialDqElement;
mergeSpecs: (
nodeSpec: SerialDqElement,
parentFrameSpec: SerialDqElement
) => SerialDqElement;
}
interface Utils {

@@ -428,6 +449,3 @@ getFrameContexts: (

DqElement: new (
elm: Element,
options?: { absolutePaths?: boolean }
) => DqElement;
DqElement: DqElementConstructor;
uuid: (

@@ -438,2 +456,3 @@ options?: { random?: Uint8Array | Array<number> },

) => string | Uint8Array | Array<number>;
nodeSerializer: NodeSerializer;
}

@@ -440,0 +459,0 @@

6

locales/README.md

@@ -5,6 +5,6 @@ # Localizations

To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a json file with the default English text in it for you to translate. Alternatively, you could copy `_template.json`.
To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a JSON file with the default English text in it for you to translate. Alternatively, you could copy `_template.json`.
To update an existing translation file, re-run `grunt translate --lang=<langcode>`. This will add new messages used in English and remove messages which were not used in English.
To update an existing translation file, re-run `grunt translate --lang=<langcode>`. This will add new messages used in English and remove messages that are no longer used in English.
`_template.json` is a generated file which is created every time axe is built. It's compiled using each rules' `description` and `help` properties as well as each checks' `metadata.messages` property. To update the `_template.json` file you'll need to update the corresponding [rule](../lib/rules) or [check](../lib/checks) metadata file and rebuild.
`_template.json` is a generated file which is created every time axe is built. It's compiled using each rule's `description` and `help` properties, as well as each check's `metadata.messages` property. To update the `_template.json` file you'll need to update the corresponding [rule](../lib/rules) or [check](../lib/checks) metadata file and rebuild.
{
"name": "axe-core",
"description": "Accessibility engine for automated Web UI testing",
"version": "4.10.0-canary.4d8c87e",
"version": "4.10.0-canary.748cd01",
"license": "MPL-2.0",

@@ -6,0 +6,0 @@ "engines": {

@@ -386,6 +386,6 @@ {

},
"4.10.0-canary.4d8c87e": {
"axe.js": "sha256-+jTx0UKL6G/VadtgDGf4HEzQgUc82FVCfNC8YlZDnhs=",
"axe.min.js": "sha256-82ENZkqG7FZvTA8CGjQNSaOa24EdsYtkR/2Nff7T2lI="
"4.10.0-canary.748cd01": {
"axe.js": "sha256-NcF2Om4Oe12HMnRI18hLS+dhlJowcBANl/SAnH2ynLA=",
"axe.min.js": "sha256-TncLj24foeBCRkEL3bGxqp0XoLktNM4RNS2tfvmlH2c="
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc