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

@microsoft/atlas-js

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/atlas-js - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

6

dist/elements/form-behavior.d.ts

@@ -6,4 +6,7 @@ export declare const defaultMessageStrings: {

inputRequired: string;
notAuthenticated: string;
notAuthorized: string;
pleaseFixTheFollowingIssues: string;
thereAreNoEditsToSubmit: string;
tooManyRequests: string;
weEncounteredAnUnexpectedError: string;

@@ -22,4 +25,7 @@ };

inputRequired: string;
notAuthenticated: string;
notAuthorized: string;
pleaseFixTheFollowingIssues: string;
thereAreNoEditsToSubmit: string;
tooManyRequests: string;
weEncounteredAnUnexpectedError: string;

@@ -26,0 +32,0 @@ } & {

@@ -7,4 +7,7 @@ import { generateElementId, kebabToCamelCase } from '../utilities/util';

inputRequired: '{inputLabel} is required.',
notAuthenticated: 'You are not authenticated. Please refresh the page and try again. If this issue persists, please log out and log back in.',
notAuthorized: 'You are not authorized to make this response. If you believe this to be in error, please refresh the page and try again.',
pleaseFixTheFollowingIssues: 'Please fix the following issues to continue:',
thereAreNoEditsToSubmit: 'There are no edits to submit.',
tooManyRequests: 'You have sent too many requests. Please wait a few minutes and try again.',
weEncounteredAnUnexpectedError: 'We encountered an unexpected error. Please try again later. If this issue continues, please contact site support.'

@@ -211,5 +214,14 @@ };

// custom text for version mismatch
if (response.status === 401) {
errorText.innerText = this.locStrings.notAuthenticated;
}
if (response.status === 403) {
errorText.innerText = this.locStrings.notAuthorized;
}
if (response.status === 412) {
errorText.innerText = this.locStrings.contentHasChanged;
}
if (response.status === 429) {
errorText.innerText = this.locStrings.tooManyRequests;
}
this.dispatchEvent(new CustomEvent('submission-error', {

@@ -216,0 +228,0 @@ detail: {

12

package.json
{
"name": "@microsoft/atlas-js",
"version": "1.6.0",
"version": "1.7.0",
"public": true,

@@ -36,11 +36,11 @@ "description": "Scripts backing the Atlas Design System used by Microsoft's Developer Relations.",

"devDependencies": {
"eslint": "^8.38.0",
"eslint": "^8.43.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jasmine": "^4.1.3",
"eslint-plugin-jsdoc": "^41.1.1",
"eslint-plugin-jsdoc": "^46.3.0",
"eslint-plugin-security": "^1.7.1",
"rimraf": "^5.0.0",
"tslib": "^2.5.0",
"typescript": "^5.0.4"
"rimraf": "^5.0.1",
"tslib": "^2.6.0",
"typescript": "^5.1.5"
}
}

@@ -8,4 +8,9 @@ import { generateElementId, kebabToCamelCase } from '../utilities/util';

inputRequired: '{inputLabel} is required.',
notAuthenticated:
'You are not authenticated. Please refresh the page and try again. If this issue persists, please log out and log back in.',
notAuthorized:
'You are not authorized to make this response. If you believe this to be in error, please refresh the page and try again.',
pleaseFixTheFollowingIssues: 'Please fix the following issues to continue:',
thereAreNoEditsToSubmit: 'There are no edits to submit.',
tooManyRequests: 'You have sent too many requests. Please wait a few minutes and try again.',
weEncounteredAnUnexpectedError:

@@ -259,5 +264,14 @@ 'We encountered an unexpected error. Please try again later. If this issue continues, please contact site support.'

// custom text for version mismatch
if (response.status === 401) {
errorText.innerText = this.locStrings.notAuthenticated;
}
if (response.status === 403) {
errorText.innerText = this.locStrings.notAuthorized;
}
if (response.status === 412) {
errorText.innerText = this.locStrings.contentHasChanged;
}
if (response.status === 429) {
errorText.innerText = this.locStrings.tooManyRequests;
}
this.dispatchEvent(

@@ -577,4 +591,7 @@ new CustomEvent('submission-error', {

inputRequired: string;
notAuthenticated: string;
notAuthorized: string;
pleaseFixTheFollowingIssues: string;
thereAreNoEditsToSubmit: string;
tooManyRequests: string;
weEncounteredAnUnexpectedError: string;

@@ -581,0 +598,0 @@ }

Sorry, the diff of this file is not supported yet

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