New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

script-tags

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

script-tags - npm Package Compare versions

Comparing version 0.1.1 to 0.1.3

LICENSE

11

index.js

@@ -1,7 +0,2 @@

/**
* script-tags <https://github.com/jonschlinkert/script-tags>
*
* Copyright (c) 2014 Jon Schlinkert, contributors.
* Licensed under the MIT license.
*/
'use strict';

@@ -15,5 +10,7 @@ var cheerio = require('cheerio');

$('script').each(function(i, elem) {
var self = $(this);
attributes[i] = {
attrs: elem.attribs,
html: $(this).html()
html: self.html(),
text: self.text()
};

@@ -20,0 +17,0 @@ });

{
"name": "script-tags",
"version": "0.1.1",
"description": "Parse HTML script tags into JSON.",
"version": "0.1.3",
"homepage": "https://github.com/jonschlinkert/script-tags",
"author": {
"name": "Jon Schlinkert",
"url": "https://github.com/jonschlinkert"
},
"repository": {
"type": "git",
"url": "https://github.com/jonschlinkert/script-tags"
},
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"repository": "jonschlinkert/script-tags",
"bugs": {
"url": "https://github.com/jonschlinkert/script-tags/issues"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/jonschlinkert/script-tags/blob/master/LICENSE-MIT"
}
"license": "MIT",
"files": [
"index.js"
],
"main": "index.js",
"scripts": {
"test": "node test/test.js"
"test": "./node_modules/mocha/bin/mocha test/test.js"
},
"dependencies": {
"cheerio": "^0.19.0"
},
"devDependencies": {
"chai": "^1.9.1",
"fs-utils": "^0.4.3",
"verb": "^0.2.10"
"gulp-format-md": "^0.1.4",
"mocha": "*"
},
"dependencies": {
"cheerio": "^0.16.0"
},
"keywords": [
"cheerio",
"extract",
"html",
"parse",
"script",
"scripts",
"script tag",
"html",
"cheerio",
"parse",
"extract"
]
"scripts"
],
"verb": {
"layout": {
"name": "default"
},
"plugins": [
"gulp-format-md"
],
"related": {
"list": [
"strip-tags",
"strip-attributes"
]
}
}
}
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