Socket
Socket
Sign inDemoInstall

@ultrapowa/sc-tools

Package Overview
Dependencies
142
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

2

package.json
{
"name": "@ultrapowa/sc-tools",
"version": "2.0.1",
"version": "2.0.2",
"description": "A tool to unpack, repack, edit and play 2d animations from Supercell games",

@@ -5,0 +5,0 @@ "keywords": ["supercell", "sc", "clash of clans", "clash royale", "brawl stars", "boom beach", "hay day", "reverse"],

@@ -22,7 +22,6 @@ # SC Tools

```js
const { basename, resolve, join } = require('path');
const glob = require('glob');
const { unpack } = require('@ultrapowa/sc-tools');
import { basename, resolve, join } from 'path';
import glob from 'glob';
import { unpack } from '@ultrapowa/sc-tools';
const sourcePattern = resolve('path/to/apk/assets/e30a1e4a93c76bea755877299ebebf535e1b3d73/sc/*.sc');

@@ -47,3 +46,3 @@ const projectDir = resolve('path/to/local/workspace/brawl-stars-33.127');

```js
const { pack } = require('@ultrapowa/sc-tools');
import { pack } from '@ultrapowa/sc-tools';

@@ -56,5 +55,5 @@ await pack('path/to/local/workspace/clash-royale/spell_goblin_barrel');

```js
const { basename, resolve, join } = require('path');
const glob = require('glob');
const { unpack, buildPngShapes } = require('@ultrapowa/sc-tools');
import { basename, resolve, join } from 'path';
import glob from 'glob';
import { unpack, buildPngShapes } from '@ultrapowa/sc-tools';

@@ -78,4 +77,4 @@ const sourcePattern = resolve('path/to/apk/**/*.sc');

```js
const path = require('path');
const { exportMovieClips } = require('@ultrapowa/sc-tools');
import path from 'path';
import { exportMovieClips } from '@ultrapowa/sc-tools';

@@ -82,0 +81,0 @@ const filePath = 'path/to/apk/assets/e30a1e4a93c76bea755877299ebebf535e1b3d73/sc/level.sc';

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc