Comparing version 0.8.1 to 0.8.2
## [Unreleased] | ||
## [0.8.2] - 2016-05-05 | ||
## Removed | ||
- Removed extraneous production dependency | ||
## [0.8.1] - 2016-04-18 | ||
@@ -5,0 +10,0 @@ |
13
index.js
@@ -1,1 +0,12 @@ | ||
throw new Error('The fbjs package should never be required without a full path'); | ||
/** | ||
* Copyright (c) 2013-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. | ||
*/ | ||
'use strict'; | ||
throw new Error('The fbjs package should not be required without a full path.'); |
{ | ||
"name": "fbjs", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "A collection of utility libraries used by other Facebook JS projects", | ||
@@ -14,46 +14,22 @@ "main": "index.js", | ||
"test": "NODE_ENV=test jest", | ||
"test-scripts": "cd scripts && npm install && npm test", | ||
"test-babel-presets": "cd babel-preset && npm install && npm test", | ||
"typecheck": "flow check src" | ||
}, | ||
"author": "", | ||
"license": "BSD-3-Clause", | ||
"devDependencies": { | ||
"babel-core": "^6.0.0", | ||
"babel-eslint": "^5.0.0", | ||
"babel-plugin-check-es2015-constants": "^6.5.0", | ||
"babel-plugin-syntax-object-rest-spread": "^6.3.13", | ||
"babel-plugin-syntax-trailing-function-commas": "^6.5.0", | ||
"babel-plugin-transform-class-properties": "^6.5.0", | ||
"babel-plugin-transform-es2015-arrow-functions": "^6.5.2", | ||
"babel-plugin-transform-es2015-block-scoped-functions": "^6.5.0", | ||
"babel-plugin-transform-es2015-block-scoping": "^6.5.0", | ||
"babel-plugin-transform-es2015-classes": "^6.5.2", | ||
"babel-plugin-transform-es2015-computed-properties": "^6.5.2", | ||
"babel-plugin-transform-es2015-destructuring": "^6.5.0", | ||
"babel-plugin-transform-es2015-for-of": "^6.5.2", | ||
"babel-plugin-transform-es2015-literals": "^6.5.0", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.5.2", | ||
"babel-plugin-transform-es2015-object-super": "^6.5.0", | ||
"babel-plugin-transform-es2015-parameters": "^6.5.0", | ||
"babel-plugin-transform-es2015-shorthand-properties": "^6.5.0", | ||
"babel-plugin-transform-es2015-spread": "^6.5.2", | ||
"babel-plugin-transform-es2015-template-literals": "^6.5.2", | ||
"babel-plugin-transform-es3-member-expression-literals": "^6.5.0", | ||
"babel-plugin-transform-es3-property-literals": "^6.5.0", | ||
"babel-plugin-transform-flow-strip-types": "^6.5.0", | ||
"babel-plugin-transform-object-rest-spread": "^6.5.0", | ||
"babel-eslint": "^6.0.3", | ||
"babel-preset-fbjs": "file:babel-preset", | ||
"del": "^2.2.0", | ||
"eslint": "1.10.3", | ||
"eslint": "^2.8.0", | ||
"fbjs-scripts": "file:scripts", | ||
"flow-bin": "^0.23.0", | ||
"gulp": "^3.9.0", | ||
"gulp-babel": "^6.0.0", | ||
"gulp": "^3.9.1", | ||
"gulp-babel": "^6.1.2", | ||
"gulp-flatten": "^0.2.0", | ||
"gulp-rename": "^1.2.2", | ||
"immutable": "^3.7.5", | ||
"jest-cli": "^0.10.0", | ||
"immutable": "^3.7.6", | ||
"jest-cli": "^0.9.2", | ||
"merge-stream": "^1.0.0", | ||
"object-assign": "^4.0.1", | ||
"run-sequence": "^1.1.0" | ||
"run-sequence": "^1.1.5" | ||
}, | ||
"license": "BSD-3-Clause", | ||
"files": [ | ||
@@ -89,3 +65,2 @@ "LICENSE", | ||
"dependencies": { | ||
"babel-plugin-syntax-flow": "^6.5.0", | ||
"core-js": "^1.0.0", | ||
@@ -98,3 +73,3 @@ "isomorphic-fetch": "^2.1.1", | ||
"devEngines": { | ||
"node": ">=4", | ||
"node": ">=4.x", | ||
"npm": ">=2.x" | ||
@@ -101,0 +76,0 @@ }, |
@@ -15,5 +15,5 @@ # FBJS | ||
// Before transform | ||
var emptyFunction = require('emptyFunction'); | ||
const emptyFunction = require('emptyFunction'); | ||
// After transform | ||
var emptyFunction = require('fbjs/lib/emptyFunction'); | ||
const emptyFunction = require('fbjs/lib/emptyFunction'); | ||
``` | ||
@@ -39,3 +39,3 @@ | ||
Since we use `@providesModule`, we need to rewrite requires to be relative. Thanks to `@providesModule` requiring global uniqueness, we can do this easily. Eventually we'll try to make this part of the process go away by making more projects use CommmonJS. | ||
Since we use `@providesModule`, we need to rewrite requires to be relative. Thanks to `@providesModule` requiring global uniqueness, we can do this easily. Eventually we'll try to make this part of the process go away by making more projects use CommonJS. | ||
@@ -42,0 +42,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
14
5199
365322
- Removedbabel-plugin-syntax-flow@^6.5.0
- Removedbabel-plugin-syntax-flow@6.18.0(transitive)