Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

es6-tween

Package Overview
Dependencies
Maintainers
1
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es6-tween - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

dist/TWEEN.js

2

dist/Tween.js

@@ -1784,2 +1784,2 @@ (function (global, factory) {

})));
//# sourceMappingURL=TWEEN.js.map
//# sourceMappingURL=Tween.js.map

@@ -1,7 +0,11 @@

### What do you want?
### What do you excepted?
### Which result you get?
### What do you unexcepted?
### Your problem
### Is this related to `es6-tween`?
- [ ] - no
- [x] - yes
- [x] - yes
## NOTE: If you not give us `log` or `demo` we can't fix the issue. Thanks
{
"name": "es6-tween",
"version": "2.0.1",
"version": "2.1.0",
"description": "ES6 implementation of amazing tween.js",

@@ -13,5 +13,4 @@ "main": "dist/Tween.js",

"source": "rollup -c --sourcemap",
"dist": "npm run source && npm run build",
"prepublish": "npm run source && npm run build",
"dev": "rollup -c -w --sourcemap",
"dist_test": "npm run dist && npm run test",
"test": "npm run test-unit && npm run test-correctness && npm run test-style",

@@ -18,0 +17,0 @@ "test-unit": "nodeunit test/unit/nodeunitheadless.js",

@@ -39,27 +39,11 @@ # es6-tween

#### Using `unpkg` hosted version
* See [cdnjs-hosted version](cdnjs.com/libraries/es6-tween) for get which result you want
You can also reference a `unpkg`-hosted version in your code, thanks to <a href="https://unpkg.com/#/">unpkg</a>. For example:
```html
<script src="https://unpkg.com/es6-tween/dist/Tween.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/es6-tween@latest/dist/Tween.min.js" defer></script>
<!-- or may you want -->
<script src="https://unpkg.com/es6-tween@latest/dist/Tween.min.js" defer></script>
```
#### Using [jsdelivr](https://github.com/jsdelivr) hosted version
You can also reference a @jsdelivr-hosted version in your code, thanks to [jsdelivr](https://github.com/jsdelivr). For example:
```html
<script src="https://cdn.jsdelivr.net/es6-tween/latest/Tween.min.js"></script>
```
#### Using [cdnjs](https://github.com/cdnjs) hosted version
You can also reference a @cdnjs-hosted version in your code, thanks to [cdnjs](https://github.com/cdnjs). For example:
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-tween/1.11.2/Tween.min.js"></script>
```
### More advanced users might want to...

@@ -86,3 +70,3 @@

```javascript
let TWEEN = require('es6-tween');
const TWEEN = require('es6-tween');
```

@@ -93,3 +77,3 @@

```javascript
let t = new TWEEN.Tween( /* etc */ );
const t = new TWEEN.Tween( /* etc */ );
t.start();

@@ -100,6 +84,8 @@ ```

#### Use `Rollup + Buble Transpiler`
#### Using commands
```bash
npm run build
$ npm run build # builds production files
# or
$ npm run dev # builds and watchs development files
```

@@ -106,0 +92,0 @@

@@ -9,3 +9,3 @@ import buble from 'rollup-plugin-buble';

let moduleName = 'TWEEN';
let moduleName = 'Tween';
let destFile = 'dist/' + moduleName;

@@ -24,4 +24,4 @@

dest: destFile, // equivalent to --output
moduleName: moduleName,
moduleName: moduleName.toUpperCase(),
plugins: plugins
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc