Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

imagecachejs

Package Overview
Dependencies
Maintainers
4
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imagecachejs - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

cc-test-reporter

8

.eslintrc.json

@@ -13,10 +13,6 @@ {

"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
"experimentalObjectRestSpread": true
},
"sourceType": "module"
},
"plugins": [
"react"
],
"globals": {

@@ -55,4 +51,2 @@ "__dirname": true,

],
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"semi": [

@@ -59,0 +53,0 @@ "error",

@@ -39,10 +39,4 @@ 'use strict';

var _lodash = require('lodash');
var _lodash2 = _interopRequireDefault(_lodash);
var _express = require('express');
var _express2 = _interopRequireDefault(_express);
var _request = require('request');

@@ -68,4 +62,2 @@

var _jsonHash = require('json-hash');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -217,3 +209,3 @@

return _path2.default.resolve.apply(_path2.default, [options.webRoot, pathPrefix, transforms].concat((0, _toConsumableArray3.default)(pathParts))).replace('.' + fileExt, '.' + format);
return _path2.default.resolve.apply(_path2.default, [options.webRoot, pathPrefix, transforms].concat((0, _toConsumableArray3.default)(pathParts))).replace('.' + fileExt, '.' + ext);
};

@@ -279,8 +271,4 @@

console.log(url);
console.log(response.statusCode);
if (!(response && response.statusCode && response.statusCode == 200)) {
_context4.next = 7;
_context4.next = 5;
break;

@@ -291,6 +279,6 @@ }

case 7:
case 5:
return _context4.abrupt('return', null);
case 8:
case 6:
case 'end':

@@ -297,0 +285,0 @@ return _context4.stop();

'use strict';
var _chai = require('chai');
describe('imagecache', function () {

@@ -6,0 +4,0 @@

{
"name": "imagecachejs",
"version": "0.1.0",
"version": "0.2.0",
"description": "",

@@ -16,3 +16,3 @@ "license": "ISC",

"build": "rm -rf ./dist && babel ./src --out-dir ./dist",
"test": "NODE_ENV=test mocha --recursive --require babel-core/register ./src/test.js"
"test": "NODE_ENV=test NODE_PATH=./src nyc --reporter=lcov --reporter=text --recursive --require babel-core/register mocha ./src/test.js"
},

@@ -40,4 +40,5 @@ "repository": {

"eslint": "^3.19.0",
"mocha": "^3.4.1"
"mocha": "^3.4.1",
"nyc": "^11.1.0"
}
}

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

import fs from 'fs'

@@ -3,0 +2,0 @@ import path from 'path'

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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