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

signedsource

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

signedsource - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

15

index.js
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
'use strict';

@@ -56,3 +57,3 @@

isSigned(data) {
return !PATTERN.exec(data);
return PATTERN.exec(data) != null;
},

@@ -85,3 +86,3 @@

'SignedSource.verifySignature(...): Cannot verify signature of an ' +
'unsigned file.'
'unsigned file.'
);

@@ -88,0 +89,0 @@ }

{
"name": "signedsource",
"version": "1.0.0",
"version": "2.0.0",
"description": "This package exports utilities to sign and verify generated files.",
"main": "index.js",
"license": "BSD-3-Clause"
"license": "MIT",
"scripts": {
"test": "jest"
},
"files": [
"LICENSE",
"index.js"
],
"devDependencies": {
"jest": "^23.6.0"
}
}

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