Socket
Socket
Sign inDemoInstall

amdextract

Package Overview
Dependencies
2
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.12 to 2.1.13

17

index.js

@@ -130,19 +130,2 @@ /*

function extendRange(range, source) {
var regEx = /[\s,]/,
start = range[0] - 1,
end = range[1],
commaVisited = false;
if (range.isForFirstElem) {
for (var char = source[end]; regEx.test(char); char = source[++end])
;
} else {
for (var char = source[start]; regEx.test(char); char = source[--start])
;
}
return [start + 1, end];
}
function optimizeContent(content, modules) {

@@ -149,0 +132,0 @@ var rangesToRemove = [],

2

package.json
{
"name": "amdextract",
"version": "2.1.12",
"version": "2.1.13",
"description": "Uses AST to extract AMD modules, their parts and an optimized output without unused dependencies while keeping the original format.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -130,2 +130,3 @@ # amdextract [![Build Status](https://travis-ci.org/mehdishojaei/amdextract.png)](https://travis-ci.org/mehdishojaei/amdextract)

## Release History
* 2015-12-26   v2.1.13   Remove unused function "extendRange".
* 2015-12-26   v2.1.12   Fixed indentation of samples in README.md.

@@ -132,0 +133,0 @@ * 2015-12-26   v2.1.11   Fixed a bug in "optimizedContent" property.

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