Comparing version 0.0.1-security to 0.0.1
{ | ||
"name": "ballet", | ||
"version": "0.0.1-security", | ||
"description": "", | ||
"main": "index.js", | ||
"version": "0.0.1", | ||
"private": false, | ||
"description": "The typescript library for scroll animation", | ||
"main": "lib/index.umd.js", | ||
"module": "lib/index.es.js", | ||
"types": "lib/index.d.ts", | ||
"files": [ | ||
"/lib/**/*" | ||
], | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"start": "npm run watch", | ||
"test": "karma start --browsers Chrome", | ||
"test:no-browser": "karma start --browsers ChromeHeadless --single-run", | ||
"lint": "npx eslint .", | ||
"clear:lib": "rm -rf ./lib", | ||
"build": "npm run clear:lib && webpack --mode production", | ||
"build:dev": "npm run clear:lib && webpack --mode development", | ||
"watch": "webpack --watch --mode development", | ||
"watch:prod": "webpack --watch --mode production", | ||
"tsc:lib": "tsc --project tsconfig.lib.json", | ||
"tsc:test": "tsc --project tsconfig.spec.json" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/npm/security-holder.git" | ||
"url": "git+https://github.com/drKaramazin/ballet.git" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"keywords": [ | ||
"animation", | ||
"scroll", | ||
"effects", | ||
"typescript" | ||
], | ||
"author": "Nikolay Grishkin", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/npm/security-holder/issues" | ||
"url": "https://github.com/drKaramazin/ballet/issues" | ||
}, | ||
"homepage": "https://github.com/npm/security-holder#readme" | ||
} | ||
"homepage": "https://github.com/drKaramazin/ballet#readme", | ||
"devDependencies": { | ||
"@types/jasmine": "~4.3.1", | ||
"@typescript-eslint/eslint-plugin": "~5.41.0", | ||
"eslint": "~8.26.0", | ||
"eslint-config-standard-with-typescript": "~23.0.0", | ||
"eslint-plugin-import": "~2.26.0", | ||
"eslint-plugin-n": "~15.3.0", | ||
"eslint-plugin-promise": "~6.1.1", | ||
"jasmine-core": "~4.6.0", | ||
"karma": "~6.4.2", | ||
"karma-chrome-launcher": "~3.2.0", | ||
"karma-jasmine": "~5.1.0", | ||
"karma-typescript": "~5.5.4", | ||
"karma-typescript-es6-transform": "~5.5.4", | ||
"ts-loader": "~9.2.7", | ||
"typescript": "~4.8.4", | ||
"webpack": "~5.70.0", | ||
"webpack-cli": "~4.9.2", | ||
"webpack-dev-server": "~4.7.4" | ||
} | ||
} |
@@ -1,9 +0,61 @@ | ||
# Security holding package | ||
# Ballet | ||
The typescript library for scroll animation. | ||
This package name is not currently in use, but was formerly occupied | ||
by a popular package. To avoid malicious use, npm is hanging on to | ||
the package name, but loosely, and we'll probably give it to you if | ||
you want it. | ||
[![NPM](https://nodei.co/npm/ballet.png)](https://nodei.co/npm/ballet/) | ||
You may adopt this package by contacting support@npmjs.com and | ||
requesting the name. | ||
## Examples | ||
[Click here to see all the examples](https://drkaramazin.github.io/ballet.site/) | ||
## Module System Types | ||
- ES6 | ||
- UMD | ||
## Layout methods | ||
- FixedActorsScene | ||
``` | ||
const scene = new StickyPlatformScene( | ||
document.getElementById('scene'), | ||
(w, h) => h * 2, | ||
); | ||
``` | ||
Here is [an example](https://drkaramazin.github.io/ballet.site/fixed-actors-scene-demo.html) of using this method. | ||
- StickyPlatformScene | ||
``` | ||
const scene = new StickyPlatformScene( | ||
document.getElementById('scene'), | ||
(w, h) => h * 2, | ||
); | ||
``` | ||
This method also has an _offset_ and _stickyPlatformHeight_ options. To see an example of using these options [click here](https://drkaramazin.github.io/ballet.site/sticky-platform-scene-demo.html). | ||
## Motions | ||
- MoveMotion | ||
- SizeMotion | ||
- OpacityMotion | ||
- BoundMotion | ||
## Actors | ||
- **StaticActor** should have MoveMotion, SizeMotion and OpacityMotion in its TimeFrame to calc start/end values. You can also set false into _initPosition_, _initSize_, _initOpacity_ to prevent this behavior: | ||
``` | ||
const agenda = new StaticActor(document.getElementById('agenda'), { | ||
initOpacity: false, | ||
}); | ||
``` | ||
- **RefActor** doesn't change its coordinates and sizes. | ||
## Built With | ||
- Vanilla JS | ||
- TypeScript | ||
- webpack | ||
## Author | ||
- **Nikolay Grishkin** - Initial work - [GitHub](https://github.com/drKaramazin) | ||
See also the list of [contributors](https://github.com/drKaramazin/ballet/graphs/contributors) who participated in this project. | ||
## License | ||
This project is licensed under the MIT License - see the [LICENSE](https://github.com/drKaramazin/ballet/blob/master/LICENSE) file for details. |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
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
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
Known malware
Supply chain riskThis package is malware. We have asked the package registry to remove it.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
109358
35
503
0
1
62
0
18