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

exifreader

Package Overview
Dependencies
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exifreader - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

4

examples/html/main.js

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
(function (window, document) {

@@ -2,0 +6,0 @@ 'use strict';

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
'use strict';

@@ -2,0 +6,0 @@

4

package.json
{
"name": "exifreader",
"version": "2.2.0",
"version": "2.3.0",
"description": "Library that parses Exif metadata in images.",

@@ -11,3 +11,3 @@ "author": "Mattias Wallander <mattias@wallander.eu>",

"bugs": "https://github.com/mattiasw/ExifReader/issues",
"license": "LGPL-3.0",
"license": "MPL-2.0",
"main": "dist/exif-reader.js",

@@ -14,0 +14,0 @@ "module": "src/exif-reader.js",

@@ -103,5 +103,19 @@ ExifReader

License
-------
ExifReader uses the Mozilla Public License 2.0 (MPL-2.0). In short that means
you can use this library in your project (open- or closed-source) as long as you
mention the use of ExifReader and make any changes to ExifReader code available
if you would to distribute your project. But please read the
[full license text](https://mozilla.org/MPL/2.0/) to make sure your specific
case is covered.
Changelog
---------
- **February, 2018**:
- Change license to Mozilla Public License 2.0 (MPL-2.0).
- **December, 2017**:

@@ -108,0 +122,0 @@ - Add option to separate different tag groups (Exif, IPTC and XMP).

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
const LITTLE_ENDIAN = 0x4949;

@@ -2,0 +6,0 @@ const BIG_ENDIAN = 0x4d4d;

/**
* ExifReader
* http://github.com/mattiasw/exifreader
* Copyright (C) 2011-2017 Mattias Wallander <mattias@wallander.eu>
* Licensed under the GNU Lesser General Public License version 3 or later
* See license text at http://www.gnu.org/licenses/lgpl.txt
* Copyright (C) 2011-2018 Mattias Wallander <mattias@wallander.eu>
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

@@ -8,0 +9,0 @@

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import {getStringFromDataView} from './utils';

@@ -2,0 +6,0 @@

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import {getStringValue} from './tag-names-utils';

@@ -2,0 +6,0 @@

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import IptcTagNames from './iptc-tag-names';

@@ -2,0 +6,0 @@

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
export default {

@@ -2,0 +6,0 @@ 0x0100: 'ImageWidth',

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import {getStringValue, getEncodedString} from './tag-names-utils';

@@ -2,0 +6,0 @@

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import {getEncodedString} from './tag-names-utils';

@@ -2,0 +6,0 @@

@@ -0,3 +1,7 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
export default {
0x0001: 'InteroperabilityIndex'
};

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
export function getStringValue(value) {

@@ -2,0 +6,0 @@ return value.map((charCode) => String.fromCharCode(charCode)).join('');

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import TagNames0thIfd from './tag-names-0th-ifd';

@@ -2,0 +6,0 @@ import TagNamesExifIfd from './tag-names-exif-ifd';

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import ByteOrder from './byte-order';

@@ -2,0 +6,0 @@ import Types from './types';

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import ByteOrder from './byte-order';

@@ -2,0 +6,0 @@

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
export function getStringFromDataView(dataView, offset, length) {

@@ -2,0 +6,0 @@ const chars = [];

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
export default {

@@ -2,0 +6,0 @@ 'tiff:Orientation'(value) {

@@ -0,1 +1,5 @@

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
import {getStringFromDataView} from './utils';

@@ -2,0 +6,0 @@ import XmpTagNames from './xmp-tag-names';

Sorry, the diff of this file is not supported yet

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