@next2d/ui 1.14.23 → 1.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/Job.js +8 -0
  2. package/package.json +3 -3
package/dist/Job.js CHANGED
@@ -314,11 +314,19 @@ export class Job extends EventDispatcher {
314
314
  for (let idx = 0; idx < names.length; ++idx) {
315
315
  const values = names[idx];
316
316
  const name = values[0];
317
+ if (name === "__proto__"
318
+ || name === "constructor"
319
+ || name === "prototype") {
320
+ continue;
321
+ }
317
322
  const value = values[1];
318
323
  if (value && typeof value === "object") {
319
324
  this._$updateProperty(target[name], from[name], to[name], value);
320
325
  continue;
321
326
  }
327
+ if (!target.hasOwnProperty(name)) {
328
+ continue;
329
+ }
322
330
  // update
323
331
  const fromValue = from[name];
324
332
  if (this._$duration > this._$currentTime) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next2d/ui",
3
- "version": "1.14.23",
3
+ "version": "1.15.0",
4
4
  "description": "Next2D UI Packages",
5
5
  "author": "Toshiyuki Ienaga<ienaga@tvon.jp> (https://github.com/ienaga/)",
6
6
  "license": "MIT",
@@ -32,7 +32,7 @@
32
32
  "url": "git+https://github.com/Next2D/Player.git"
33
33
  },
34
34
  "peerDependencies": {
35
- "@next2d/events": "1.14.23",
36
- "@next2d/share": "1.14.23"
35
+ "@next2d/events": "1.15.0",
36
+ "@next2d/share": "1.15.0"
37
37
  }
38
38
  }