Skip to content
Permalink
Browse files

Add headers to files derived from prior works.

  • Loading branch information...
legastero committed Jul 21, 2019
1 parent bb8189a commit 18b6aef20a5ae690c63d9101b4e2608232f0a840
@@ -1,6 +1,7 @@
# StanzaJS

Copyright © 2013-2019 Lance Stout

Copyright © 2013-2019 &yet <https://andyet.com>

Portions of this code were adapted from existing projects:
@@ -1,3 +1,12 @@
/**
* Portions of this file are derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from:
* - uuid, Copyright (c) 2010-2016 Robert Kieffer and other contributors
*/

// tslint:disable no-bitwise

import { randomBytes } from './lib/crypto';
@@ -1,3 +1,11 @@
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from: ltx, Copyright © 2010 Stephan Maka
*/

import { EventEmitter } from 'events';

import { unescapeXML } from './Definitions';
@@ -1,3 +1,11 @@
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from: ltx, Copyright © 2010 Stephan Maka
*/

import { Transform } from 'readable-stream';

import { JSONData } from './Definitions';
@@ -1,3 +1,11 @@
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from: xhtml-im.js, Copyright © 2013 Waqas Hussain
*/

import { JSONElement } from '../Element';

const ALLOWED_ELEMENTS = new Set([
@@ -1,3 +1,12 @@
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from:
* - strict-event-emitter-types, Copyright 2018 Brian Terlson
*/

// tslint:disable

// the overridden signatures need to be assignment compatible, but
@@ -1,3 +1,14 @@
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from:
* - hash-base, Copyright (c) 2016 Kirill Fomichev
* - cipher-base, Copyright (c) 2017 crypto-browserify contributors
* - create-hash, Copyright (c) 2017 crypto-browserify contributors
*/

// tslint:disable no-bitwise

import { Transform } from 'readable-stream';
@@ -1,3 +1,14 @@
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from:
* - hash-base, Copyright (c) 2016 Kirill Fomichev
* - cipher-base, Copyright (c) 2017 crypto-browserify contributors
* - md5.js, Copyright (c) 2016 Kirill Fomichev
*/

// tslint:disable no-bitwise arguments-order

import Hash from './Hash';
@@ -1,4 +1,13 @@
// tslint:disable no-bitwise
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from:
* - hash-base, Copyright (c) 2016 Kirill Fomichev
* - cipher-base, Copyright (c) 2017 crypto-browserify contributors
* - sha.js, Copyright (c) 2013-2018 sha.js contributors
*/

/*
* A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
@@ -9,6 +18,8 @@
* See http://pajhome.org.uk/crypt/md5 for details.
*/

// tslint:disable no-bitwise

import Hash from './Hash';

const K = [0x5a827999, 0x6ed9eba1, 0x8f1bbcdc | 0, 0xca62c1d6 | 0];
@@ -1,4 +1,14 @@
// tslint:disable no-bitwise
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from:
* - hash-base, Copyright (c) 2016 Kirill Fomichev
* - cipher-base, Copyright (c) 2017 crypto-browserify contributors
* - sha.js, Copyright (c) 2013-2018 sha.js contributors
*/

/**
* A JavaScript implementation of the Secure Hash Algorithm, SHA-256, as defined
* in FIPS 180-2
@@ -7,6 +17,8 @@
*
*/

// tslint:disable no-bitwise

import Hash from './Hash';

const K = [
@@ -1,3 +1,14 @@
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from:
* - hash-base, Copyright (c) 2016 Kirill Fomichev
* - cipher-base, Copyright (c) 2017 crypto-browserify contributors
* - sha.js, Copyright (c) 2013-2018 sha.js contributors
*/

// tslint:disable no-bitwise

import Hash from './Hash';
@@ -1,3 +1,16 @@
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from:
* - hash-base, Copyright (c) 2016 Kirill Fomichev
* - cipher-base, Copyright (c) 2017 crypto-browserify contributors
* - create-hash, Copyright (c) 2017 crypto-browserify contributors
* - create-hmac, Copyright (c) 2017 crypto-browserify contributors
* - randombytes, Copyright (c) 2017 crypto-browserify
*/

// tslint:disable no-bitwise

import { Transform } from 'readable-stream';
@@ -1,3 +1,12 @@
/**
* This file is derived from prior work.
*
* See NOTICE.md for full license text.
*
* Derived from:
* - sasl-digest-md5, Copyright © 2012-2013 Jared Hanson
*/

import test from 'tape';
import { DIGEST } from '../../src/lib/sasl';

0 comments on commit 18b6aef

Please sign in to comment.
You can’t perform that action at this time.