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

pixi3d

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pixi3d - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Changelog

## [1.5.1] - 2022-07-26
### Fixed
- Removed peer dependencies from `package.json` which caused issues with multiple PixiJS versions when using bundlers.
## [1.5.0] - 2022-07-23

@@ -9,0 +13,0 @@ ### Added

15

package.json
{
"name": "pixi3d",
"version": "1.5.0",
"version": "1.5.1",
"description": "The 3D renderer for PixiJS. Seamless integration with 2D applications.",

@@ -44,15 +44,2 @@ "main": "dist/umd/pixi3d.js",

"homepage": "https://github.com/jnsmalm/pixi3d#readme",
"peerDependencies": {
"@pixi/constants": "^6.0.2",
"@pixi/core": "^6.0.2",
"@pixi/display": "^6.0.2",
"@pixi/interaction": "^6.0.2",
"@pixi/loaders": "^6.0.2",
"@pixi/math": "^6.0.2",
"@pixi/mixin-get-child-by-name": "^6.0.2",
"@pixi/settings": "^6.0.2",
"@pixi/sprite": "^6.0.2",
"@pixi/ticker": "^6.0.2",
"@pixi/utils": "^6.0.2"
},
"devDependencies": {

@@ -59,0 +46,0 @@ "@rollup/plugin-commonjs": "^22.0.1",

@@ -54,4 +54,4 @@ # Pixi3D

### Using webpack
To ensure that Pixi3D can be installed correctly to PixiJS as a plugin when using webpack, add the following to the webpack configuration:
### Using bundlers
For Pixi3D to be installed correctly to PixiJS as a plugin when using a bundler (like webpack or rollup), it's important that the app code and Pixi3D is using the same version of PixiJS (if there is more than one PixiJS version installed). To ensure that only a single version of PixiJS is used across the app, set alias in the bundler config file. For example, the webpack configuration may look like this:

@@ -66,11 +66,11 @@ *webpack.config.js*

alias: {
"@pixi/core": path.resolve(__dirname, "node_modules/@pixi/core"),
"@pixi/loaders": path.resolve(__dirname, "node_modules/@pixi/loaders"),
"@pixi/settings": path.resolve(__dirname, "node_modules/@pixi/settings"),
"@pixi/math": path.resolve(__dirname, "node_modules/@pixi/math"),
"@pixi/display": path.resolve(__dirname, "node_modules/@pixi/display"),
"@pixi/constants": path.resolve(__dirname, "node_modules/@pixi/constants"),
"@pixi/utils": path.resolve(__dirname, "node_modules/@pixi/utils"),
"@pixi/ticker": path.resolve(__dirname, "node_modules/@pixi/ticker"),
"@pixi/sprite": path.resolve(__dirname, "node_modules/@pixi/sprite")
"@pixi/core": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/core"),
"@pixi/loaders": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/loaders"),
"@pixi/settings": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/settings"),
"@pixi/math": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/math"),
"@pixi/display": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/display"),
"@pixi/constants": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/constants"),
"@pixi/utils": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/utils"),
"@pixi/ticker": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/ticker"),
"@pixi/sprite": path.resolve(__dirname, "node_modules/pixi.js/node_modules/@pixi/sprite")
}

@@ -77,0 +77,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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