Skip to content

Spelling fixes #8348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:
# make chromedriver detect installed Chrome version and download the corresponding driver
DETECT_CHROMEDRIVER_VERSION: true
# The default behavior of chromedriver uses the older Chrome download URLs. We need to override
# the beahvior to use the new URLs.
# the behavior to use the new URLs.
CHROMEDRIVER_CDNURL: https://googlechromelabs.github.io/
CHROMEDRIVER_CDNBINARIESURL: https://storage.googleapis.com/chrome-for-testing-public
CHROME_VALIDATED_VERSION: linux-120.0.6099.71
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-changed-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:
# make chromedriver detect installed Chrome version and download the corresponding driver
DETECT_CHROMEDRIVER_VERSION: true
# The default behavior of chromedriver uses the older Chrome download URLs. We need to override
# the beahvior to use the new URLs.
# the behavior to use the new URLs.
CHROMEDRIVER_CDNURL: https://googlechromelabs.github.io/
CHROMEDRIVER_CDNBINARIESURL: https://storage.googleapis.com/chrome-for-testing-public
CHROME_VALIDATED_VERSION: linux-120.0.6099.71
Expand Down
2 changes: 1 addition & 1 deletion config/karma.saucelabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function getPackageLabels() {

/**
* Gets a list of file patterns for test, defined individually
* in karma.conf.js in each package under worksapce packages or
* in karma.conf.js in each package under workspace packages or
* integration.
*/
function getTestFiles() {
Expand Down
8 changes: 4 additions & 4 deletions docs-devsite/firestore_.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ https://github.com/firebase/firebase-js-sdk
| [PersistentCacheSettings](./firestore_.persistentcachesettings.md#persistentcachesettings_interface) | An settings object to configure an <code>PersistentLocalCache</code> instance.<!-- -->Persistent cache cannot be used in a Node.js environment. |
| [PersistentLocalCache](./firestore_.persistentlocalcache.md#persistentlocalcache_interface) | Provides a persistent cache backed by IndexedDb to the SDK.<!-- -->To use, create an instance using the factory function , then set the instance to <code>FirestoreSettings.cache</code> and call <code>initializeFirestore</code> using the settings object. |
| [PersistentMultipleTabManager](./firestore_.persistentmultipletabmanager.md#persistentmultipletabmanager_interface) | A tab manager supporting multiple tabs. SDK will synchronize queries and mutations done across all tabs using the SDK. |
| [PersistentSingleTabManager](./firestore_.persistentsingletabmanager.md#persistentsingletabmanager_interface) | A tab manager supportting only one tab, no synchronization will be performed across tabs. |
| [PersistentSingleTabManager](./firestore_.persistentsingletabmanager.md#persistentsingletabmanager_interface) | A tab manager supporting only one tab, no synchronization will be performed across tabs. |
| [PersistentSingleTabManagerSettings](./firestore_.persistentsingletabmanagersettings.md#persistentsingletabmanagersettings_interface) | Type to configure an <code>PersistentSingleTabManager</code> instance. |
| [SnapshotListenOptions](./firestore_.snapshotlistenoptions.md#snapshotlistenoptions_interface) | An options object that can be passed to [onSnapshot()](./firestore_.md#onsnapshot_0312fd7) and [QuerySnapshot.docChanges()](./firestore_.querysnapshot.md#querysnapshotdocchanges) to control which types of changes to include in the result set. |
| [SnapshotOptions](./firestore_.snapshotoptions.md#snapshotoptions_interface) | Options that configure how data is retrieved from a <code>DocumentSnapshot</code> (for example the desired behavior for server timestamps that have not yet been set to their final value). |
Expand All @@ -205,7 +205,7 @@ https://github.com/firebase/firebase-js-sdk
| [FirestoreErrorCode](./firestore_.md#firestoreerrorcode) | The set of Firestore status codes. The codes are the same at the ones exposed by gRPC here: https://github.com/grpc/grpc/blob/master/doc/statuscodes.md<!-- -->Possible values: - 'cancelled': The operation was cancelled (typically by the caller). - 'unknown': Unknown error or an error from a different error domain. - 'invalid-argument': Client specified an invalid argument. Note that this differs from 'failed-precondition'. 'invalid-argument' indicates arguments that are problematic regardless of the state of the system (e.g. an invalid field name). - 'deadline-exceeded': Deadline expired before operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. - 'not-found': Some requested document was not found. - 'already-exists': Some document that we attempted to create already exists. - 'permission-denied': The caller does not have permission to execute the specified operation. - 'resource-exhausted': Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. - 'failed-precondition': Operation was rejected because the system is not in a state required for the operation's execution. - 'aborted': The operation was aborted, typically due to a concurrency issue like transaction aborts, etc. - 'out-of-range': Operation was attempted past the valid range. - 'unimplemented': Operation is not implemented or not supported/enabled. - 'internal': Internal errors. Means some invariants expected by underlying system has been broken. If you see one of these errors, something is very broken. - 'unavailable': The service is currently unavailable. This is most likely a transient condition and may be corrected by retrying with a backoff. - 'data-loss': Unrecoverable data loss or corruption. - 'unauthenticated': The request does not have valid authentication credentials for the operation. |
| [FirestoreLocalCache](./firestore_.md#firestorelocalcache) | Union type from all supported SDK cache layer. |
| [ListenSource](./firestore_.md#listensource) | Describe the source a query listens to.<!-- -->Set to <code>default</code> to listen to both cache and server changes. Set to <code>cache</code> to listen to changes in cache only. |
| [MemoryGarbageCollector](./firestore_.md#memorygarbagecollector) | Union type from all support gabage collectors for memory local cache. |
| [MemoryGarbageCollector](./firestore_.md#memorygarbagecollector) | Union type from all support garbage collectors for memory local cache. |
| [NestedUpdateFields](./firestore_.md#nestedupdatefields) | For each field (e.g. 'bar'), find all nested keys (e.g. {<!-- -->'bar.baz': T1, 'bar.qux': T2<!-- -->}<!-- -->). Intersect them together to make a single map containing all possible keys that are all marked as optional |
| [OrderByDirection](./firestore_.md#orderbydirection) | The direction of a [orderBy()](./firestore_.md#orderby_006d61f) clause is specified as 'desc' or 'asc' (descending or ascending). |
| [PartialWithFieldValue](./firestore_.md#partialwithfieldvalue) | Similar to Typescript's <code>Partial&lt;T&gt;</code>, but allows nested fields to be omitted and FieldValues to be passed in as property values. |
Expand Down Expand Up @@ -1954,7 +1954,7 @@ export declare function doc<AppModelType, DbModelType extends DocumentData>(refe
| Parameter | Type | Description |
| --- | --- | --- |
| reference | [CollectionReference](./firestore_.collectionreference.md#collectionreference_class)<!-- -->&lt;AppModelType, DbModelType&gt; | A reference to a collection. |
| path | string | A slash-separated path to a document. Has to be omitted to use auto-genrated IDs. |
| path | string | A slash-separated path to a document. Has to be omitted to use auto-generated IDs. |
| pathSegments | string\[\] | Additional path segments that will be applied relative to the first argument. |

<b>Returns:</b>
Expand Down Expand Up @@ -2566,7 +2566,7 @@ export declare type ListenSource = 'default' | 'cache';

## MemoryGarbageCollector

Union type from all support gabage collectors for memory local cache.
Union type from all support garbage collectors for memory local cache.

<b>Signature:</b>

Expand Down
2 changes: 1 addition & 1 deletion docs-devsite/firestore_.persistentsingletabmanager.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ https://github.com/firebase/firebase-js-sdk
{% endcomment %}

# PersistentSingleTabManager interface
A tab manager supportting only one tab, no synchronization will be performed across tabs.
A tab manager supporting only one tab, no synchronization will be performed across tabs.

<b>Signature:</b>

Expand Down
2 changes: 1 addition & 1 deletion docs-devsite/firestore_lite.md
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ export declare function doc<AppModelType, DbModelType extends DocumentData>(refe
| Parameter | Type | Description |
| --- | --- | --- |
| reference | [CollectionReference](./firestore_lite.collectionreference.md#collectionreference_class)<!-- -->&lt;AppModelType, DbModelType&gt; | A reference to a collection. |
| path | string | A slash-separated path to a document. Has to be omitted to use auto-genrated IDs. |
| path | string | A slash-separated path to a document. Has to be omitted to use auto-generated IDs. |
| pathSegments | string\[\] | Additional path segments that will be applied relative to the first argument. |

<b>Returns:</b>
Expand Down
2 changes: 1 addition & 1 deletion docs-devsite/performance.performancetrace.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ record(startTime: number, duration: number, options?: {
| Parameter | Type | Description |
| --- | --- | --- |
| startTime | number | trace start time since epoch in millisec. |
| duration | number | The duraction of the trace in millisec. |
| duration | number | The duration of the trace in millisec. |
| options | { metrics?: { \[key: string\]: number; }; attributes?: { \[key: string\]: string; }; } | An object which can optionally hold maps of custom metrics and custom attributes. |

<b>Returns:</b>
Expand Down
4 changes: 2 additions & 2 deletions docs-devsite/storage.fullmetadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface FullMetadata extends UploadMetadata
| Property | Type | Description |
| --- | --- | --- |
| [bucket](./storage.fullmetadata.md#fullmetadatabucket) | string | The bucket this object is contained in. |
| [downloadTokens](./storage.fullmetadata.md#fullmetadatadownloadtokens) | string\[\] \| undefined | Tokens to allow access to the downloatd URL. |
| [downloadTokens](./storage.fullmetadata.md#fullmetadatadownloadtokens) | string\[\] \| undefined | Tokens to allow access to the download URL. |
| [fullPath](./storage.fullmetadata.md#fullmetadatafullpath) | string | The full path of this object. |
| [generation](./storage.fullmetadata.md#fullmetadatageneration) | string | The object's generation. [https://cloud.google.com/storage/docs/metadata\#generation-number](https://cloud.google.com/storage/docs/metadata#generation-number) |
| [metageneration](./storage.fullmetadata.md#fullmetadatametageneration) | string | The object's metageneration. [https://cloud.google.com/storage/docs/metadata\#generation-number](https://cloud.google.com/storage/docs/metadata#generation-number) |
Expand All @@ -46,7 +46,7 @@ bucket: string;

## FullMetadata.downloadTokens

Tokens to allow access to the downloatd URL.
Tokens to allow access to the download URL.

<b>Signature:</b>

Expand Down
4 changes: 2 additions & 2 deletions docs-devsite/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Cloud Storage for Firebase
| [getBlob(ref, maxDownloadSizeBytes)](./storage.md#getblob_1c7a935) | Downloads the data at the object's location. Returns an error if the object is not found.<!-- -->To use this functionality, you have to whitelist your app's origin in your Cloud Storage bucket. See also https://cloud.google.com/storage/docs/configuring-cors<!-- -->This API is not available in Node. |
| [getBytes(ref, maxDownloadSizeBytes)](./storage.md#getbytes_1c7a935) | Downloads the data at the object's location. Returns an error if the object is not found.<!-- -->To use this functionality, you have to whitelist your app's origin in your Cloud Storage bucket. See also https://cloud.google.com/storage/docs/configuring-cors |
| [getDownloadURL(ref)](./storage.md#getdownloadurl_30df0b2) | Returns the download URL for the given [StorageReference](./storage.storagereference.md#storagereference_interface)<!-- -->. |
| [getMetadata(ref)](./storage.md#getmetadata_30df0b2) | A <code>Promise</code> that resolves with the metadata for this object. If this object doesn't exist or metadata cannot be retreived, the promise is rejected. |
| [getMetadata(ref)](./storage.md#getmetadata_30df0b2) | A <code>Promise</code> that resolves with the metadata for this object. If this object doesn't exist or metadata cannot be retrieved, the promise is rejected. |
| [getStream(ref, maxDownloadSizeBytes)](./storage.md#getstream_1c7a935) | Downloads the data at the object's location. Raises an error event if the object is not found.<!-- -->This API is only available in Node. |
| [list(ref, options)](./storage.md#list_36af757) | List items (files) and prefixes (folders) under this storage reference.<!-- -->List API is only available for Firebase Rules Version 2.<!-- -->GCS is a key-blob store. Firebase Storage imposes the semantic of '/' delimited folder structure. Refer to GCS's List API if you want to learn more.<!-- -->To adhere to Firebase Rules's Semantics, Firebase Storage does not support objects whose paths end with "/" or contain two consecutive "/"s. Firebase Storage List API will filter these unsupported objects. list() may fail if there are too many unsupported objects in the bucket. |
| [listAll(ref)](./storage.md#listall_30df0b2) | List all items (files) and prefixes (folders) under this storage reference.<!-- -->This is a helper method for calling list() repeatedly until there are no more results. The default pagination size is 1000.<!-- -->Note: The results may not be consistent if objects are changed while this operation is running.<!-- -->Warning: <code>listAll</code> may potentially consume too many resources if there are too many results. |
Expand Down Expand Up @@ -252,7 +252,7 @@ A `Promise` that resolves with the download URL for this object.

### getMetadata(ref) {:#getmetadata_30df0b2}

A `Promise` that resolves with the metadata for this object. If this object doesn't exist or metadata cannot be retreived, the promise is rejected.
A `Promise` that resolves with the metadata for this object. If this object doesn't exist or metadata cannot be retrieved, the promise is rejected.

<b>Signature:</b>

Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const ERRORS: ErrorMap<AnalyticsError> = {
'initializeAnalytics() cannot be called again with different options than those ' +
'it was initially called with. It can be called again with the same options to ' +
'return the existing instance, or getAnalytics() can be used ' +
'to get a reference to the already-intialized instance.',
'to get a reference to the already-initialized instance.',
[AnalyticsError.ALREADY_INITIALIZED_SETTINGS]:
'Firebase Analytics has already been initialized.' +
'settings() must be called before initializing any Analytics instance' +
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ async function gtagOnEvent(
function wrapGtag(
gtagCore: Gtag,
/**
* Allows wrapped gtag calls to wait on whichever intialization promises are required,
* Allows wrapped gtag calls to wait on whichever initialization promises are required,
* depending on the contents of the gtag params' `send_to` field, if any.
*/
initializationPromisesMap: { [appId: string]: Promise<string> },
Expand Down
2 changes: 1 addition & 1 deletion packages/app-check/src/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or ied.
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/app-check/src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export async function readOrCreateDebugTokenFromStorage(): Promise<string> {
// create a new debug token
const newToken = uuidv4();
// We don't need to block on writing to indexeddb
// In case persistence failed, a new debug token will be generated everytime the page is refreshed.
// In case persistence failed, a new debug token will be generated every time the page is refreshed.
// It renders the debug token useless because you have to manually register(whitelist) the new token in the firebase console again and again.
// If you see this error trying to use debug token, it probably means you are using a browser that doesn't support indexeddb.
// You should switch to a different browser that supports indexeddb
Expand Down
2 changes: 1 addition & 1 deletion packages/app-compat/src/firebaseApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export class FirebaseAppImpl implements Compat<_FirebaseAppExp>, _FirebaseApp {
): _FirebaseService {
this._delegate.checkDestroyed();

// Initialize instance if InstatiationMode is `EXPLICIT`.
// Initialize instance if InstantiationMode is `EXPLICIT`.
const provider = this._delegate.container.getProvider(name as Name);
if (
!provider.isInitialized() &&
Expand Down
4 changes: 2 additions & 2 deletions packages/app-compat/src/public-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface FirebaseAppConfig {
automaticDataCollectionEnabled?: boolean;
}

interface FirebaseAppContructor {
interface FirebaseAppConstructor {
new (): FirebaseApp;
}

Expand Down Expand Up @@ -85,7 +85,7 @@ export interface FirebaseNamespace {
*
* DO NOT call this constuctor directly (use firebase.app() instead).
*/
App: FirebaseAppContructor;
App: FirebaseAppConstructor;
};

/**
Expand Down
4 changes: 2 additions & 2 deletions packages/app/src/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ describe('API tests', () => {
expect(getApp()).to.equal(app);
});

it('retrives named App', () => {
it('retrieves named App', () => {
const appName = 'MyApp';
const app = initializeApp({}, appName);
expect(getApp(appName)).to.equal(app);
Expand All @@ -420,7 +420,7 @@ describe('API tests', () => {
});

describe('getApps', () => {
it('retrives all Apps that have been created', () => {
it('retrieves all Apps that have been created', () => {
const app1 = initializeApp({});
const app2 = initializeApp({}, 'App2');

Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/firebaseServerApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class FirebaseServerAppImpl
this._refCount = 0;
this.incRefCount(this._serverConfig.releaseOnDeref);

// Do not retain a hard reference to the dref object, otherwise the FinalizationRegisry
// Do not retain a hard reference to the dref object, otherwise the FinalizationRegistry
// will never trigger.
this._serverConfig.releaseOnDeref = undefined;
serverConfig.releaseOnDeref = undefined;
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@

### Patch Changes

- [`63ac2ed28`](https://github.com/firebase/firebase-js-sdk/commit/63ac2ed28f237950290a7af2dcdcf1518ddaee4b) - Fix auth scheme reconition in capacitor env
- [`63ac2ed28`](https://github.com/firebase/firebase-js-sdk/commit/63ac2ed28f237950290a7af2dcdcf1518ddaee4b) - Fix auth scheme recognition in capacitor env

- Updated dependencies [[`63ac2ed28`](https://github.com/firebase/firebase-js-sdk/commit/63ac2ed28f237950290a7af2dcdcf1518ddaee4b), [`88517b591`](https://github.com/firebase/firebase-js-sdk/commit/88517b59179410e43d5d5129a1fefc355cd1d4eb)]:
- @firebase/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-compat/demo/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Firebse Auth Test App",
"name": "Firebase Auth Test App",
"short_name": "FirebaseAuthTest",
"start_url": "/",
"display": "standalone",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-compat/demo/public/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ input + .form,
margin-top: 5px;
}

/* Bootstrap .hidden adds the !important which invalides jQuery .show() */
/* Bootstrap .hidden adds the !important which invalidatees jQuery .show() */
.hidden,
.hide,
.profile,
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-compat/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = function (config) {
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['mocha'],
// undici is a fetch polyfill that test helpers call for Node tests, and browser tests should
// ingore its import to avoid compilation errors in those test helpers.
// ignore its import to avoid compilation errors in those test helpers.
webpack: {
...webpackBase,
resolve: {
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-compat/src/auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ describe('auth compat', () => {
}
});

it('pulls the persistence and sets as the main persitsence if set', () => {
it('pulls the persistence and sets as the main persistence if set', () => {
if (typeof self !== 'undefined') {
sessionStorage.setItem(
'firebase:persistence:api-key:undefined',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
-->

<!--
type=module makes browers treat it as an ES6 module and enforces strict mode. This helps catch
type=module makes browsers treat it as an ES6 module and enforces strict mode. This helps catch
some errors in the test (e.g. extending frozen objects or accidentally creating global variables).
-->
<script type="module" src="dist/bundle.js"></script>
Expand Down
Loading
Loading