Add license headers across the project

This commit is contained in:
Evan Hahn
2020-10-30 15:34:04 -05:00
committed by Evan Hahn
parent 8c3da11996
commit 8bfaf598af
738 changed files with 2695 additions and 378 deletions

View File

@@ -1,3 +1,6 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
const is = require('@sindresorhus/is');
const {

View File

@@ -1,3 +1,6 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
const { isArrayBuffer, isFunction, isUndefined, omit } = require('lodash');
// type Context :: {

View File

@@ -1,3 +1,6 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
const { omit, compact, map } = require('lodash');
const { toLogFormat } = require('./errors');

View File

@@ -1,3 +1,6 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
/* global window */
const { isFunction, isNumber } = require('lodash');

View File

@@ -1 +1,4 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
export function toLogFormat(error: any): string;

View File

@@ -1,3 +1,6 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
// toLogFormat :: Error -> String
exports.toLogFormat = error => {
if (!error) {

View File

@@ -1 +1,4 @@
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
export const CURRENT_SCHEMA_VERSION: number;

View File

@@ -1,3 +1,6 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
const { isFunction, isObject, isString, omit } = require('lodash');
const Contact = require('./contact');

View File

@@ -1,3 +1,6 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
const { isNumber } = require('lodash');
exports.isValid = value => isNumber(value) && value >= 0;

View File

@@ -1,3 +1,6 @@
// Copyright 2018-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
/* global document, URL, Blob */
const loadImage = require('blueimp-load-image');