Comparing version 0.1.0-alpha.2 to 0.1.0-alpha.3
@@ -35,3 +35,2 @@ /** | ||
// not null/false | ||
// not null/false | ||
!!obj && ( | ||
@@ -48,3 +47,2 @@ // arrays are objects, NodeLists are functions in Safari | ||
// a real array | ||
// a real array | ||
Array.isArray(obj) || | ||
@@ -51,0 +49,0 @@ // arguments |
@@ -31,3 +31,3 @@ /** | ||
var Deferred = (function () { | ||
function Deferred() { | ||
function Deferred /*:: <Tvalue, Treason>*/() { | ||
var _this = this; | ||
@@ -34,0 +34,0 @@ |
@@ -14,2 +14,2 @@ /** | ||
module.exports = require('es6-map'); | ||
module.exports = require('core-js/library/es6/map'); |
@@ -28,3 +28,3 @@ /** | ||
var PromiseMap = (function () { | ||
function PromiseMap() { | ||
function PromiseMap /*:: <Tvalue, Treason>*/() { | ||
_classCallCheck(this, PromiseMap); | ||
@@ -31,0 +31,0 @@ |
{ | ||
"name": "fbjs", | ||
"version": "0.1.0-alpha.2", | ||
"version": "0.1.0-alpha.3", | ||
"description": "", | ||
@@ -58,3 +58,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"es6-map": "^0.1.1", | ||
"core-js": "^1.0.0", | ||
"promise": "^7.0.3", | ||
@@ -61,0 +61,0 @@ "whatwg-fetch": "^0.9.0" |
@@ -11,3 +11,3 @@ # FBJS | ||
Any `@providesModule` modules that are used by your project should be added to `src/`. They will be built and added to `module-map.json`. This file will contain a map from `@providesModule` name to what will be published as `fbjs`. The `module-map.json` file can then be consumed in your own project, along with the [rewrite-requires](https://github.com/facebook/fbjs/blob/master/scripts/babel/rewrite-requires.js) Babel plugin (which we'll publish with this), to rewrite requires in your own project. Then, just make sure `fbjs` is a dependency in your `package.json` and your package will consume the shared code. | ||
Any `@providesModule` modules that are used by your project should be added to `src/`. They will be built and added to `module-map.json`. This file will contain a map from `@providesModule` name to what will be published as `fbjs`. The `module-map.json` file can then be consumed in your own project, along with the [rewrite-modules](https://github.com/facebook/fbjs/blob/master/scripts/babel/rewrite-modules.js) Babel plugin (which we'll publish with this), to rewrite requires in your own project. Then, just make sure `fbjs` is a dependency in your `package.json` and your package will consume the shared code. | ||
@@ -14,0 +14,0 @@ ```js |
@@ -12,3 +12,3 @@ /** | ||
var babelPluginRequires = require('../babel/rewrite-requires'); | ||
var babelPluginModules = require('../babel/rewrite-modules'); | ||
var babelPluginFlowComments = require('babel-plugin-flow-comments'); | ||
@@ -25,5 +25,5 @@ | ||
stage: 1, | ||
plugins: [babelPluginRequires, babelPluginFlowComments], | ||
plugins: [babelPluginModules, babelPluginFlowComments], | ||
_moduleMap: { | ||
'es6-map': 'es6-map', | ||
'core-js/library/es6/map': 'core-js/library/es6/map', | ||
'promise': 'promise', | ||
@@ -30,0 +30,0 @@ 'whatwg-fetch': 'whatwg-fetch' |
@@ -0,1 +1,3 @@ | ||
Object.assign = require('core-js/library/fn/object/assign'); | ||
__DEV__ = true; |
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
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
84687
2205
+ Addedcore-js@^1.0.0
+ Addedcore-js@1.2.7(transitive)
- Removedes6-map@^0.1.1
- Removedd@1.0.2(transitive)
- Removedes5-ext@0.10.64(transitive)
- Removedes6-iterator@2.0.3(transitive)
- Removedes6-map@0.1.5(transitive)
- Removedes6-set@0.1.6(transitive)
- Removedes6-symbol@3.1.4(transitive)
- Removedesniff@2.0.1(transitive)
- Removedevent-emitter@0.3.5(transitive)
- Removedext@1.7.0(transitive)
- Removednext-tick@1.1.0(transitive)
- Removedtype@2.7.3(transitive)