Comparing version 1.1.4 to 2.0.0
@@ -5,2 +5,6 @@ # History | ||
## 2.0.0 | ||
`new` tnpm 改造 | ||
## 1.1.4 | ||
@@ -7,0 +11,0 @@ |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
module.exports = require('./src/pop'); |
{ | ||
"name": "anima-pop", | ||
"version": "1.1.4", | ||
"version": "2.0.0", | ||
"description": "The best project ever.", | ||
@@ -19,30 +19,28 @@ "homepage": "http://gitlab.alibaba-inc.com/animajs/pop", | ||
"keywords": [], | ||
"licenses": "MIT", | ||
"spm": { | ||
"tests": "tests/*-spec.js", | ||
"ignore": [ | ||
"dist", | ||
"examples", | ||
"task", | ||
"test" | ||
] | ||
"main": "./lib/index", | ||
"entry": { | ||
"index": "./index.js" | ||
}, | ||
"main": "index.js", | ||
"dependencies": { | ||
"anima-yocto-lite": "~1.1.0", | ||
"import-style": "1.0.0", | ||
"anima-class": "~1.0.0" | ||
"anima-class": "^1.0.0", | ||
"anima-yocto-lite": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"spm-expect.js": "0.3.1", | ||
"spm-sinon": "1.6.0", | ||
"spm-webpack": "~1.0.0" | ||
"atool-build": "0.6.x", | ||
"atool-doc": "^0.1.0", | ||
"atool-test": "^0.4.4", | ||
"dora": "0.3.x", | ||
"expect.js": "^0.3.1", | ||
"gh-pages": "^0.11.0" | ||
}, | ||
"scripts": { | ||
"build": "spm-webpack -c" | ||
"build": "atool-build", | ||
"test": "atool-test -k", | ||
"doc": "atool-doc", | ||
"doc-build": "atool-doc --build", | ||
"gh-pages": "atool-doc --build && gh-pages -d __site" | ||
}, | ||
"engines": { | ||
"node": ">=4.0.0" | ||
}, | ||
"publishConfig": {} | ||
} | ||
} | ||
} |
@@ -20,4 +20,5 @@ # pop | ||
```javascript | ||
seajs.use('anima-pop', function(Pop) { | ||
var pop = new Pop({ | ||
var pop = require('anima-pop'); | ||
var pop = new Pop({ | ||
element : '#pop', | ||
@@ -31,6 +32,5 @@ width : '100%', | ||
direction : 'up' | ||
}); | ||
}); | ||
pop.show(); | ||
}); | ||
pop.show(); | ||
``` | ||
@@ -37,0 +37,0 @@ |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
var $ = require('anima-yocto-lite'); | ||
@@ -11,3 +13,3 @@ | ||
align : null | ||
} | ||
}; | ||
@@ -49,3 +51,3 @@ Align.prototype= { | ||
y : offY | ||
} | ||
}; | ||
break; | ||
@@ -56,3 +58,3 @@ case 'right': | ||
y : offY | ||
} | ||
}; | ||
break; | ||
@@ -59,0 +61,0 @@ case 'center' : |
@@ -1,2 +0,2 @@ | ||
var $ = require('anima-yocto-lite'); | ||
'use strict'; | ||
@@ -57,3 +57,2 @@ var animateEvent = 'webkitAnimationEnd'; | ||
} | ||
} | ||
@@ -60,0 +59,0 @@ return name; |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
var $ = require('anima-yocto-lite'), | ||
@@ -2,0 +4,0 @@ CLS_MASK_RELATIVE = 'am-mask-relative'; |
@@ -6,2 +6,4 @@ /** | ||
'use strict'; | ||
require('./pop.css'); | ||
@@ -8,0 +10,0 @@ |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
var Position = function(){}; | ||
@@ -2,0 +4,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
29738
2
15
940
6
1
+ Addedanima-yocto-core@2.0.4(transitive)
+ Addedanima-yocto-event@2.0.5(transitive)
+ Addedanima-yocto-lite@2.0.2(transitive)
- Removedimport-style@1.0.0
- Removedanima-yocto-core@1.1.1(transitive)
- Removedanima-yocto-event@1.0.3(transitive)
- Removedanima-yocto-lite@1.1.2(transitive)
- Removedimport-style@1.0.0(transitive)
Updatedanima-class@^1.0.0
Updatedanima-yocto-lite@^2.0.0