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

grunt-flash-compiler

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-flash-compiler - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

7

package.json
{
"name": "grunt-flash-compiler",
"version": "0.2.3",
"version": "0.3.0",
"description": "Compile your ActionScript using flex or Air!",

@@ -18,3 +18,6 @@ "main": "index.js",

},
"homepage": "https://github.com/jwplayer/grunt-flash-compiler"
"homepage": "https://github.com/jwplayer/grunt-flash-compiler",
"devDependencies": {
"flex-sdk": "^4.6.0-0"
}
}
var fs = require('fs');
var os = require('os');
var flexSDK = require('flex-sdk');
var env = process.env;

@@ -8,8 +9,2 @@

========================================
9 | 9
10 | 10.0, 10.1
11 | 10.2
12 | 10.3
13 | 11.0
14 | 11.1
15 | 11.2

@@ -29,2 +24,3 @@ 16 | 11.3

28 | 17.0
29 | 18.0
Src: http://sleepydesign.blogspot.com/2012/04/flash-swf-version-meaning.html

@@ -80,13 +76,7 @@ */

var options = this.options({
flashVersion: 16,
swfTarget: 27,
sdk: env.FLEX_HOME
flashVersion: '15.0',
swfTarget: 26,
sdk: flexSDK.FLEX_HOME
});
// A common failure is forgetting so set an environment variable
if (!options.sdk) {
grunt.fail.warn('To compile ActionScript, you must set environment ' +
'variable $AIR_HOME or $FLEX_HOME for this task to locate mxmlc.');
}
this.files.forEach(function(file) {

@@ -93,0 +83,0 @@ // If a flag tells us to build the library file

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