Skip to content
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

Old restrictive Facebook copyright shown in public files #112

Open
moos opened this issue Oct 21, 2017 · 0 comments
Open

Old restrictive Facebook copyright shown in public files #112

moos opened this issue Oct 21, 2017 · 0 comments

Comments

@moos
Copy link

moos commented Oct 21, 2017

Is this a bug report?

Yes

Can you also reproduce the problem with npm 4.x?

n/a

Which terms did you search for in User Guide?

n/a

Environment

  1. node -v:
  2. npm -v:
  3. yarn --version (if you use Yarn):
  4. npm ls react-scripts (if you haven’t ejected):

Then, specify:

  1. Operating system:
  2. Browser and version (if relevant):

n/a

Steps to Reproduce

n/a

Expected Behavior

Should have new copyright notice, e.g, from react-scripts' build.js

/**

  • Copyright (c) 2015-present, Facebook, Inc.
  • This source code is licensed under the MIT license found in the
  • LICENSE file in the root directory of this source tree.
    */

Actual Behavior

It has the old (restrictive) copyright notice. Unfortunately these show up in the final *.map file which is public.

/**

  • Copyright (c) 2015-present, Facebook, Inc.
  • All rights reserved.
  • This source code is licensed under the BSD-style license found in the
  • LICENSE file in the root directory of this source tree. An additional grant
  • of patent rights can be found in the PATENTS file in the same directory.
    */

Reproducible Demo

Build the app and check the content of the build/static/js/main.<hash>.js.map file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant