New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@akashic/akashic-engine

Package Overview
Dependencies
Maintainers
4
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akashic/akashic-engine - npm Package Compare versions

Comparing version 2.6.1 to 3.0.0-beta.0

dist/main.js

25

CHANGELOG.md
# ChangeLog
## 2.6.1
## Unreleased Changes
* Utilにあった関数の配置(場合によっては関数名も変更)を以下のように変更します。
* g.Util.createSpriteFromE => g.SpriteFactory.createSpriteFromE
* g.Util.createSpriteFromScene => g.SpriteFactory.createSpriteFromScene
* g.Util.asSurface => g.SurfaceUtil.asSurface
* g.Util.AnimatingHandler => g.SurfaceUtil.AnimatingHandler
* g.Util.setupAnimatingHandler=> g.SurfaceUtil.setupAnimatingHandler
* g.Util.migrateAnimatingHandler=> g.SurfaceUtil.migrateAnimatingHandler
* g.Util.findAssetByPathAsFile => g._findAssetByPathAsFile (Module.tsに配置)
* g.Util.findAssetByPathDirectory => g._findAssetByPathDirectory (Module.tsに配置)
* g.Util.createMatrixは削除
その他変更
* TypeScript3.6でコンパイルするように修正
機能追加
* `g.Game#popScene`で popする回数をオプションで指定できるようにした
## 2.6.0
不具合修正
* `Game#terminateGame()` を直接呼ぶとエラーが発生する不具合の修正
### エンジン開発者への影響
* `Game#_terminateGame()` を `Game#_abortGame()` にリネームしたので、このメソッドに依存している箇所の修正が必要です。
## 2.5.4
機能追加

@@ -19,0 +20,0 @@ * `g.Object2D#anchorX` と `g.Object2D#anchorY` を追加

@@ -1,1 +0,1 @@

module.exports = require('./lib/main.node');
module.exports = require("./lib/index");
{
"name": "@akashic/akashic-engine",
"version": "2.6.1",
"version": "3.0.0-beta.0",
"description": "The core library of Akashic Engine",
"main": "index.js",
"dependencies": {
"@akashic/playlog": "~1.3.2",
"@akashic/trigger": "~0.1.6"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/eslint-plugin-tslint": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"concat": "^1.0.3",
"cpx": "^1.5.0",
"del": "~0.1.3",
"eslint": "^6.6.0",
"jest": "^24.1.0",
"renamer": "^0.6.1",
"rimraf": "^2.6.1",
"textlint": "^5.6.0",
"textlint-rule-max-ten": "^1.2.2",
"textlint-rule-no-mix-dearu-desumasu": "^1.4.0",
"textlint-rule-prh": "^2.4.0",
"tslint": "^5.4.3",
"typedoc": "^0.15.0",
"typescript": "~3.6.0",
"uglify-js": "^2.6.0"
"@types/jest": "^24.0.23",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"rollup": "^1.27.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-uglify": "^6.0.3",
"textlint": "^11.5.0",
"textlint-rule-max-ten": "^2.0.3",
"textlint-rule-no-mix-dearu-desumasu": "^4.0.0",
"textlint-rule-prh": "^5.2.1",
"ts-jest": "^24.1.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1",
"typedoc": "^0.15.2",
"typescript": "^3.7.2",
"xorshift": "0.2.0"
},
"scripts": {
"prepublish": "npm run minify && npm run doc",
"prepublish": "npm run build && npm run doc",
"prepare": "npm run prepublish",
"build": "npm run clean && tsc -p ./ && npm run compile:cp && npm run concat:define && npm run concat:node",
"clean": "rimraf tmp && rimraf lib",
"compile:cp": "cpx tmp/tmp.d.ts lib && cpx tmp/tmp.js lib && renamer --find tmp --replace main ./lib/*",
"concat:define": "concat scripts/conf/platforms/node/prefix.d.ts lib/main.d.ts scripts/conf/platforms/node/suffix.d.ts -o lib/main.node.d.ts",
"concat:node": "concat scripts/conf/platforms/node/prefix.js lib/main.js scripts/conf/platforms/node/suffix.js -o lib/main.node.js",
"test": "npm run build && npm run test:compile && npm run test:jest",
"test:compile": "tsc -p ./spec",
"test:jest": "jest",
"build": "npm run clean && tsc -p ./ && npm run bundle",
"bundle": "rollup -c rollup.config.js",
"clean": "rimraf dist && rimraf lib",
"test": "npm run test:jest && npm run lint && npm run textlint",
"test:jest": "jest --config jest.config.js",
"textlint": "textlint -f pretty-error doc/ && textlint -f pretty-error unreleased-changes/",
"minify": "npm run build && npm run minify:node && npm run minify:browser",
"minify:node": "uglifyjs -o ./lib/main.node.min.js --compress --mangle -- lib/main.node.js",
"minify:browser": "uglifyjs lib/main.js -o ./lib/main.min.js",
"lint": "eslint -c .eslintrc.js src/*.ts --parser-options \"project: './tsconfig.json'\"",
"doc": "typedoc --excludeExternals --externalPattern \"**/node_modules/**\" --out doc/html/ --includeDeclarations lib/main.d.ts typings/console.d.ts"
"lint": "tslint -c tslint.json --project ./tsconfig.json --fix",
"doc": "typedoc --out doc/html/ --mode file"
},
"files": [
"lib",
"index.js"
"dist",
"index.js",
"index.runtime.d.ts"
],

@@ -53,7 +54,8 @@ "repository": {

"publishConfig": {
"@akashic:registry": "https://registry.npmjs.org/"
"@akashic:registry": "https://registry.npmjs.org/",
"tag": "next"
},
"typings": "lib/main.node.d.ts",
"typings": "lib/index.d.ts",
"author": "DWANGO Co., Ltd.",
"license": "MIT"
}

@@ -19,5 +19,5 @@ <p align="center">

TypeScriptでゲームを開発する場合には、型定義ファイルとしてこのリポジトリの `lib/main.d.ts` を使うことができます。
TypeScriptでゲームを開発する場合には、型定義ファイルとしてこのリポジトリの `index.runtime.d.ts` を使うことができます。
`npm install -D @akashic/akashic-engine` でインストールの上、
tsconfig.json で `node_modules/@akashic/akashic-engine/lib/main.d.ts` を参照するなどの方法で、 `tsc` に与えてください。
tsconfig.json で `node_modules/@akashic/akashic-engine/index.runtime.d.ts` を参照するなどの方法で、 `tsc` に与えてください。

@@ -24,0 +24,0 @@ ## ビルド方法

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