Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array not recognized as JS #102

Open
kentikKB opened this issue Mar 21, 2023 · 1 comment
Open

Array not recognized as JS #102

kentikKB opened this issue Mar 21, 2023 · 1 comment

Comments

@kentikKB
Copy link

kentikKB commented Mar 21, 2023

When trying to compress a source .js file whose contents are solely a JS array like the below, the resulting compressed file is completely empty: "Stats: 100% compression"

[
	{
		"article":"About Kentik",
		"heading":"About Kentik",
		"file":"Ab01",
		"id":"Ab01-About_Kentik",
		"text":"About Kentik This article provides a basic introduction to Kentik, with answers to the following questions:   "
	},
	{
		"article":"About Kentik",
		"heading":"What is Kentik?",
		"file":"Ab01",
		"id":"Ab01-What_is_Kentik",
		"text":"What is Kentik? Kentik is an open, scalable platform for collecting, analyzing, and visualizing data about the health and performance of your organization's networks. Kentik covers both on-prem infrastructure (e.g. data centers) and cloud resources, correlates data from both actual traffic and synthetic testing, and provides instant answers based on both real-time and historical data.  Kentik's purpose-built data platform sets up in minutes and provides fast, simple tools that help isolate, identify, and explain unusual activity or behavior, alerting you in real time to performance issues and attacks. The Kentik portal is a Web-based user interface that allows you to run sophisticated analytics on traffic data, monitor availability with synthetic testing, and protect your network with alerts and mitigation. The Kentik platform also integrates with your own tools and systems using Kentik REST APIs. "
	}
]
@plasma4
Copy link

plasma4 commented Oct 15, 2023

I believe this is because the array is not "evaluated" in any way. This can easily be solved by adding a variable in front of the array, and then copying the array part that you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants