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

@akashic/game-configuration

Package Overview
Dependencies
Maintainers
5
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akashic/game-configuration - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

lib/utils/utils.js

@@ -15,3 +15,2 @@ "use strict";

exports._mergeObject = exports.toAssetArray = exports.makeLoadConfigurationFunc = void 0;
var es6_promise_1 = require("es6-promise");
var PathUtil_1 = require("./PathUtil");

@@ -45,3 +44,3 @@ // eslint-disable-next-line @typescript-eslint/explicit-function-return-type

});
es6_promise_1.Promise.all(defs)
Promise.all(defs)
.then(function (confs) { return callback(null, confs.reduce(_mergeObject)); })

@@ -52,3 +51,3 @@ .catch(function (e) { return callback(e); });

function promisifiedLoad(url, assetBase, cascadeBase) {
return new es6_promise_1.Promise(function (resolve, reject) {
return new Promise(function (resolve, reject) {
loadResolvedConfiguration(url, assetBase, cascadeBase, function (err, conf) { return (err ? reject(err) : resolve(conf)); });

@@ -55,0 +54,0 @@ });

{
"name": "@akashic/game-configuration",
"version": "2.0.0",
"version": "2.0.1",
"description": "Type definitions and utilities for game.json, the manifest file for Akashic Engine.",

@@ -91,5 +91,2 @@ "main": "lib/index.js",

},
"optionalDependencies": {
"es6-promise": "^4.2.8"
},
"devDependencies": {

@@ -96,0 +93,0 @@ "@akashic/eslint-config": "^1.1.1",

2

README.md

@@ -40,4 +40,2 @@ <p align="center">

`utils.makeLoadConfigurationFunc()` を利用する場合、`es6-promise` を別途インストールする必要があります。
```javascript

@@ -44,0 +42,0 @@ var utils = require("@akashic/game-configuration/lib/utils");

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