Some early work on license. Here's the output of the script that fetches 
license information from npm and organizes package by license:
```
defaultdict(<class 'set'>,
            {'(GPL-2.0 OR MIT)': {'ua-parser-js'},
             'Apache*': {'mousetrap', 'fuse.js'},
             'Apache-2.0': {'nvd3', 'mathjs', 'superset', 'disposables'},
             'BSD': {'d3-geo-projection',
                     'esprima',
                     'esutils',
                     'hoist-non-react-statics'},
             'BSD*': {'rw'},
             'BSD-2-Clause': {'',
                              'escodegen',
                              'esprima',
                              'estraverse',
                              'geojson-flatten',
                              'sharkdown',
                              'wgs84'},
             'BSD-3-Clause': {'',
                              'charenc',
                              'crypt',
                              'd3',
                              'd3-array',
                              'd3-cloud',
                              'd3-collection',
                              'd3-color',
                              'd3-dispatch',
                              'd3-drag',
                              'd3-ease',
                              'd3-format',
                              'd3-hexbin',
                              'd3-hierarchy',
                              'd3-interpolate',
                              'd3-path',
                              'd3-queue',
                              'd3-sankey',
                              'd3-scale',
                              'd3-selection',
                              'd3-shape',
                              'd3-time',
                              'd3-time-format',
                              'd3-timer',
                              'd3-transition',
                              'd3-voronoi',
                              'd3-zoom',
                              'dnd-core',
                              'duplexer2',
                              'exenv',
                              'highlight.js',
                              'hoist-non-react-statics',
                              'hyphenate-style-name',
                              'ieee754',
                              'md5',
                              'pbf',
                              'prop-types',
                              'react-dnd',
                              'react-dnd-html5-backend',
                              'react-transition-group',
                              'rw',
                              'shapefile',
                              'source-map',
                              'sprintf-js',
                              'topojson',
                              'warning'},
             'CC0-1.0': {'string-hash'},
             'Custom: 
http://badges.github.io/stability-badges/dist/stable.svg': {'gl-mat3',
                                                                                
  'gl-vec2',
                                                                                
  'gl-vec3'},
             'Custom: https://github.com/tmcw/jsonlint': {''},
             'ISC': {'',
                     'd3-svg-legend',
                     'earcut',
                     'es6bindall',
                     'extent',
                     'fs.realpath',
                     'geojson-coords',
                     'geojson-extent',
                     'geojson-normalize',
                     'geojson-rewind',
                     'geojson-vt',
                     'glob',
                     'grid-index',
                     'inflight',
                     'inherits',
                     'kdbush',
                     'material-colors',
                     'minimatch',
                     'once',
                     'quickselect',
                     'supercluster',
                     'tinyqueue',
                     'wrappy'},
             'MIT': {'',
                     'acorn',
                     'ansi-regex',
                     'ansi-styles',
                     'ansicolors',
                     'aphrodite',
                     'argparse',
                     'array-flatten',
                     'asap',
                     'babel-code-frame',
                     'babel-core',
                     'babel-generator',
                     'babel-helpers',
                     'babel-messages',
                     'babel-plugin-lodash',
                     'babel-register',
                     'babel-runtime',
                     'babel-template',
                     'babel-traverse',
                     'babel-types',
                     'babylon',
                     'bail',
                     'balanced-match',
                     'bootstrap',
                     'bootstrap-slider',
                     'bops',
                     'bowser',
                     'brace',
                     'brace-expansion',
                     'brfs',
                     'buffer-equal',
                     'buffer-from',
                     'camelcase',
                     'cardinal',
                     'chain-function',
                     'chalk',
                     'change-emitter',
                     'character-entities',
                     'character-entities-legacy',
                     'character-reference-invalid',
                     'classnames',
                     'clipboard',
                     'collapse-white-space',
                     'comma-separated-tokens',
                     'concat-map',
                     'concat-stream',
                     'convert-source-map',
                     'core-js',
                     'core-util-is',
                     'create-react-class',
                     'css-in-js-utils',
                     'csscolorparser',
                     'd3-tip',
                     'datamaps',
                     'datatables.net',
                     'datatables.net-bs',
                     'debug',
                     'decimal.js',
                     'deck.gl',
                     'deep-is',
                     'deepmerge',
                     'define-properties',
                     'delegate',
                     'detect-indent',
                     'distributions',
                     'dom-helpers',
                     'encoding',
                     'escape-latex',
                     'escape-string-regexp',
                     'extend',
                     'extend-shallow',
                     'falafel',
                     'fast-levenshtein',
                     'fastdom',
                     'fault',
                     'fbjs',
                     'foreach',
                     'format',
                     'function-bind',
                     'geolib',
                     'global-cache',
                     'globals',
                     'good-listener',
                     'gray-matter',
                     'hammerjs',
                     'has',
                     'has-ansi',
                     'hast-util-parse-selector',
                     'hastscript',
                     'home-or-tmp',
                     'iconv-lite',
                     'immutable',
                     'inline-style-prefixer',
                     'invariant',
                     'is-alphabetical',
                     'is-alphanumerical',
                     'is-buffer',
                     'is-decimal',
                     'is-extendable',
                     'is-finite',
                     'is-hexadecimal',
                     'is-plain-obj',
                     'is-retina',
                     'is-stream',
                     'is-symbol',
                     'is-whitespace-character',
                     'is-word-character',
                     'isarray',
                     'isobject',
                     'isomorphic-fetch',
                     'javascript-natural-sort',
                     'jed',
                     'jquery',
                     'js-search',
                     'js-tokens',
                     'js-yaml',
                     'jsesc',
                     'json5',
                     'keycode',
                     'kind-of',
                     'levn',
                     'lodash',
                     'lodash-es',
                     'lodash.get',
                     'lodash.isequal',
                     'lodash.throttle',
                     'loose-envify',
                     'lowlight',
                     'luma.gl',
                     'magic-string',
                     'markdown-escapes',
                     'math-expression-evaluator',
                     'math.gl',
                     'mathfn',
                     'merge-source-map',
                     'minimist',
                     'mjolnir.js',
                     'mkdirp',
                     'moment',
                     'ms',
                     'mustache',
                     'node-fetch',
                     'number-is-nan',
                     'object-assign',
                     'object-inspect',
                     'object-keys',
                     'optionator',
                     'os-homedir',
                     'os-tmpdir',
                     'parse-entities',
                     'parse-iso-duration',
                     'path-is-absolute',
                     'path-parse',
                     'performance-now',
                     'prelude-ls',
                     'prismjs',
                     'private',
                     'probe.gl',
                     'process-nextick-args',
                     'promise',
                     'prop-types',
                     'prop-types-extra',
                     'property-information',
                     'protocol-buffers-schema',
                     'query-string',
                     'quote-stream',
                     'raf',
                     're-resizable',
                     'react',
                     'react-ace',
                     'react-addons-css-transition-group',
                     'react-addons-shallow-compare',
                     'react-bootstrap',
                     'react-bootstrap-datetimepicker',
                     'react-bootstrap-dialog',
                     'react-bootstrap-slider',
                     'react-bootstrap-table',
                     'react-color',
                     'react-datetime',
                     'react-dom',
                     'react-draggable',
                     'react-gravatar',
                     'react-input-autosize',
                     'react-is',
                     'react-lifecycles-compat',
                     'react-map-gl',
                     'react-markdown',
                     'react-modal',
                     'react-onclickoutside',
                     'react-overlays',
                     'react-redux',
                     'react-resizable',
                     'react-s-alert',
                     'react-search-input',
                     'react-select',
                     'react-select-fast-filter-options',
                     'react-sortable-hoc',
                     'react-split-pane',
                     'react-sticky',
                     'react-style-proptype',
                     'react-syntax-highlighter',
                     'react-virtualized',
                     'react-virtualized-select',
                     'react-with-styles',
                     'react-with-styles-interface-aphrodite',
                     'reactable',
                     'reactcss',
                     'readable-stream',
                     'recompose',
                     'redeyed',
                     'reduce-css-calc',
                     'reduce-function-call',
                     'redux',
                     'redux-localstorage',
                     'redux-thunk',
                     'redux-undo',
                     'refractor',
                     'regenerator-runtime',
                     'remark-parse',
                     'repeat-string',
                     'repeating',
                     'replace-ext',
                     'require-package-name',
                     'resize-observer-polyfill',
                     'resolve',
                     'resolve-protobuf-schema',
                     'safe-buffer',
                     'safer-buffer',
                     'seed-random',
                     'seedrandom',
                     'seer',
                     'select',
                     'setimmediate',
                     'shallow-copy',
                     'shortid',
                     'shuffle-seed',
                     'slash',
                     'sort-asc',
                     'sort-desc',
                     'sort-object',
                     'source-map-support',
                     'space-separated-tokens',
                     'srcdoc-polyfill',
                     'state-toggle',
                     'static-eval',
                     'static-module',
                     'stream-spigot',
                     'strict-uri-encode',
                     'strictdom',
                     'string_decoder',
                     'strip-ansi',
                     'strip-bom-string',
                     'supports-color',
                     'symbol-observable',
                     'through',
                     'through2',
                     'tiny-emitter',
                     'tinycolor2',
                     'to-fast-properties',
                     'to-utf8',
                     'traverse',
                     'trim-right',
                     'trim-trailing-lines',
                     'trough',
                     'type-check',
                     'typedarray',
                     'uncontrollable',
                     'underscore',
                     'unherit',
                     'unified',
                     'unist-util-is',
                     'unist-util-remove-position',
                     'unist-util-stringify-position',
                     'unist-util-visit',
                     'urijs',
                     'util-deprecate',
                     'vfile',
                     'vfile-location',
                     'vfile-message',
                     'viewport-mercator-project',
                     'vlq',
                     'vt-pbf',
                     'webgl-debug',
                     'whatwg-fetch',
                     'wordwrap',
                     'x-is-string',
                     'xtend'},
             'MIT OR GPL-2.0': {'complex.js', 'fraction.js'},
             'MIT*': {'expect.js',
                      'mapbox-gl',
                      'optimist',
                      'split',
                      'trim',
                      'typed-function'},
             'MPL-2.0 OR Apache-2.0': {'dompurify'},
             'UNKNOWN': {'base64-js'},
             'Zlib': {'gl-mat4', 'gl-vec4', 'gl-quat'}})
```

[ Full content available at: 
https://github.com/apache/incubator-superset/pull/5801 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to