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

content-diff

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

content-diff - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

22

lib/index.js

@@ -22,2 +22,4 @@ #!/usr/bin/env node

var _regeneratorRuntime = _interopRequireDefault(require("regenerator-runtime"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -52,5 +54,5 @@

value: function () {
var _run = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(options) {
var _run = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime["default"].mark(function _callee(options) {
var profile, testPage, matched;
return regeneratorRuntime.wrap(function _callee$(_context) {
return _regeneratorRuntime["default"].wrap(function _callee$(_context) {
while (1) {

@@ -132,5 +134,5 @@ switch (_context.prev = _context.next) {

value: function () {
var _saveProfile = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2(options, structure) {
var _saveProfile = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime["default"].mark(function _callee2(options, structure) {
var profile;
return regeneratorRuntime.wrap(function _callee2$(_context2) {
return _regeneratorRuntime["default"].wrap(function _callee2$(_context2) {
while (1) {

@@ -163,4 +165,4 @@ switch (_context2.prev = _context2.next) {

value: function () {
var _getPageProfile = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3(name) {
return regeneratorRuntime.wrap(function _callee3$(_context3) {
var _getPageProfile = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime["default"].mark(function _callee3(name) {
return _regeneratorRuntime["default"].wrap(function _callee3$(_context3) {
while (1) {

@@ -200,7 +202,7 @@ switch (_context3.prev = _context3.next) {

value: function () {
var _generatePageStructure = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee4(options) {
var _generatePageStructure = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime["default"].mark(function _callee4(options) {
var _this = this;
var responses, bodies;
return regeneratorRuntime.wrap(function _callee4$(_context4) {
return _regeneratorRuntime["default"].wrap(function _callee4$(_context4) {
while (1) {

@@ -254,4 +256,4 @@ switch (_context4.prev = _context4.next) {

value: function () {
var _getContentOfPage = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee5(url) {
return regeneratorRuntime.wrap(function _callee5$(_context5) {
var _getContentOfPage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime["default"].mark(function _callee5(url) {
return _regeneratorRuntime["default"].wrap(function _callee5$(_context5) {
while (1) {

@@ -258,0 +260,0 @@ switch (_context5.prev = _context5.next) {

{
"name": "content-diff",
"version": "1.0.1",
"version": "1.0.2",
"description": "A tool for checking a page is a valid format by profiling a type of web page and then testing if a page matches that profile.",

@@ -22,2 +22,3 @@ "main": "index.js",

"nodemon": "^2.0.6",
"regenerator-runtime": "^0.13.7",
"yargs": "^16.2.0"

@@ -24,0 +25,0 @@ },

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