adaptivejs
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -7,4 +7,5 @@ { | ||
"jquery": "2.1.0", | ||
"text": "~2.0.10", | ||
"zeptojs": "1.1.2" | ||
} | ||
} |
{ | ||
"name": "adaptivejs", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A framework for creating adaptive websites.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -1,2 +0,2 @@ | ||
define(function() { | ||
define(['text!package'], function(package) { | ||
@@ -11,3 +11,11 @@ /** | ||
var match = /mobify-path=([^&;]*)/g.exec(doc.cookie); | ||
var packageInfo; | ||
try { | ||
packageInfo = JSON.parse(package); | ||
config.projectName = packageInfo.name; | ||
} catch (e) { | ||
console.error('Couldn\'t determine the project name. Be sure that is in defined in the package.json file.'); | ||
} | ||
config.buildDirectory = '//localhost:8080/'; | ||
@@ -33,3 +41,4 @@ | ||
'getContext': getContext | ||
} | ||
}; | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2
3
2
128144
21
2810