Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 46e8be5

Browse files
author
Sebastian McKenzie
committed
remove patents and facebook license headers
1 parent 06853a7 commit 46e8be5

File tree

124 files changed

+123
-1264
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+123
-1264
lines changed

CONTRIBUTING.md

-21
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,6 @@ We actively welcome your pull requests.
3434
5. Make sure your code lints.
3535
6. If you haven't already, complete the Contributor License Agreement ("CLA").
3636

37-
## Contributor License Agreement ("CLA")
38-
39-
In order to accept your pull request, we need you to submit a CLA. You only need to do this
40-
once to work on any of Facebook's open source projects.
41-
42-
Complete your CLA here: <https://code.facebook.com/cla>
43-
44-
## Issues
45-
46-
We use GitHub issues to track public bugs. Please ensure your description is clear and has
47-
sufficient instructions to be able to reproduce the issue.
48-
49-
Facebook has a [bounty program](https://www.facebook.com/whitehat/) for the safe disclosure
50-
of security bugs. In those cases, please go through the process outlined on that page and
51-
do not file a public issue.
52-
53-
## Coding Style
54-
55-
Use the same coding style, spacing and naming scheme as existing code. When in doubt run
56-
`make lint`.
57-
5837
## License
5938

6039
By contributing to fbkpm, you agree that your contributions will be licensed

LICENSE

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
BSD License
22

3-
For kpm software
3+
For Yarn software
44

5-
Copyright (c) 2016-present, Facebook, Inc. All rights reserved.
5+
Copyright (c) 2016-present, Yarn Contributors. All rights reserved.
66

77
Redistribution and use in source and binary forms, with or without modification,
88
are permitted provided that the following conditions are met:
@@ -14,10 +14,6 @@ are permitted provided that the following conditions are met:
1414
this list of conditions and the following disclaimer in the documentation
1515
and/or other materials provided with the distribution.
1616

17-
* Neither the name Facebook nor the names of its contributors may be used to
18-
endorse or promote products derived from this software without specific
19-
prior written permission.
20-
2117
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
2218
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2319
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE

PATENTS

-33
This file was deleted.

__tests__/__mocks__/request.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import type {ClientRequest} from 'http';
134
import type {ReadStream} from 'fs';

__tests__/_parallel-test.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
export default function(title: string, fn: () => Promise<any>) {
134
let promise;

__tests__/_temp.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
let temp = require('temp');
134

__tests__/commands/_install.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import Lockfile from '../../src/lockfile/wrapper.js';
134
import {Reporter} from '../../src/reporters/index.js';

__tests__/commands/add.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import {getPackageVersion, createLockfile, explodeLockfile, run as buildRun} from './_install.js';
134
import {Add} from '../../src/cli/commands/add.js';

__tests__/commands/install.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import {run as uninstall} from '../../src/cli/commands/uninstall.js';
134
import {run as check} from '../../src/cli/commands/check.js';

__tests__/commands/self-update.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import BlockingQueue from '../../src/util/blocking-queue.js';
134
import * as child from '../../src/util/child.js';

__tests__/constants.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import {getPathKey} from '../src/constants.js';
134

__tests__/fetchers.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112
/* eslint max-len: 0 */
123

134
import TarballFetcher from '../src/fetchers/tarball-fetcher.js';

__tests__/lockfile.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112
/* eslint quotes: 0 */
123

134
import Lockfile from "../src/lockfile/wrapper.js";

__tests__/normalise-manifest.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112
/* eslint max-len: 0 */
123

134
import normaliseManifest from '../src/util/normalise-manifest/index.js';

__tests__/package-resolver.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112
/* eslint max-len: 0 */
123

134
import * as reporters from '../src/reporters/index.js';

__tests__/reporters/_mock.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import type Reporter from '../../src/reporters/base-reporter.js';
134
let Stdin = require('mock-stdin').stdin.Class;

__tests__/reporters/base.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import BaseReporter from '../../src/reporters/base-reporter.js';
134

__tests__/reporters/buffer.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import BufferReporter from '../../src/reporters/buffer-reporter.js';
134
import build from './_mock.js';

__tests__/reporters/console.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import type {MockData} from './_mock.js';
134
import ProgressBar from '../../src/reporters/console/progress-bar.js';

__tests__/reporters/json.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112
/* eslint quotes: 0 */
123

134
import type {MockData} from "./_mock.js";

__tests__/util/blocking-queue.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import BlockingQueue from '../../src/util/blocking-queue.js';
134

__tests__/util/promise.js

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*
9-
* @flow
10-
*/
1+
/* @flow */
112

123
import * as promise from '../../src/util/promise.js';
134

bin/kpm.js

-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,5 @@
11
#!/usr/bin/env node
22

3-
/**
4-
* Copyright (c) 2016-present, Facebook, Inc.
5-
* All rights reserved.
6-
*
7-
* This source code is licensed under the BSD-style license found in the
8-
* LICENSE file in the root directory of this source tree. An additional grant
9-
* of patent rights can be found in the PATENTS file in the same directory.
10-
*/
11-
123
/* eslint-disable no-var */
134
/* eslint-disable flowtype/require-valid-file-annotation */
145

gulpfile.js

-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
/**
2-
* Copyright (c) 2016-present, Facebook, Inc.
3-
* All rights reserved.
4-
*
5-
* This source code is licensed under the BSD-style license found in the
6-
* LICENSE file in the root directory of this source tree. An additional grant
7-
* of patent rights can be found in the PATENTS file in the same directory.
8-
*/
9-
101
"use strict";
112

123
var plumber = require("gulp-plumber");

0 commit comments

Comments
 (0)